From 5d00b0ec0798dd0dd63c70e3f9e42f3de351303d Mon Sep 17 00:00:00 2001 From: Tim Beermann Date: Mon, 21 Oct 2024 05:17:25 +0200 Subject: [PATCH] Extend renovate config to also update Chart.yaml file Signed-off-by: Tim Beermann --- code-server/values.yaml | 2 +- renovate.json5 | 10 ++++++++++ vaultwarden/Chart.yaml | 3 ++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/code-server/values.yaml b/code-server/values.yaml index 25922b5..3468e1d 100644 --- a/code-server/values.yaml +++ b/code-server/values.yaml @@ -71,7 +71,7 @@ ingress: tls: [] # - secretName: chart-example-tls # hosts: - # chart-example.local + # - chart-example.local resources: {} # We usually recommend not to specify default resources and to leave this as a conscious diff --git a/renovate.json5 b/renovate.json5 index 1e07d76..18a90ad 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -3,5 +3,15 @@ "dependencyDashboard": true, "reviewers": [ "tibeer" + ], + "customManagers": [ + { + "customType": "regex", + "description": "Update chart appVersion according to docker image references", + "fileMatch": ["^vaultwarden\\/Chart\\.yaml$"], + "matchStrings": [ + "#\\s?renovate: image=(?.*?)\\s?appVersion:\\s?\\\"?(?[\\w+\\.\\-]*)\"" + ] + } ] } diff --git a/vaultwarden/Chart.yaml b/vaultwarden/Chart.yaml index 0e1efeb..521752b 100644 --- a/vaultwarden/Chart.yaml +++ b/vaultwarden/Chart.yaml @@ -21,4 +21,5 @@ version: 1.0.0 # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "1.31.0" +# renovate: datasource=docker depName=vaultwarden/server +appVersion: '1.31.0'