From 3ad10e5582b6e429c9c26d3d22ab43cf8f56c33e 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 | 13 +++++++++++++ vaultwarden/Chart.yaml | 3 ++- 3 files changed, 16 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..d747122 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -3,5 +3,18 @@ "dependencyDashboard": true, "reviewers": [ "tibeer" + ], + "customManagers": [ + { + "customType": "regex", + "description": "Update chart appVersion according to docker image references", + "datasourceTemplate": "docker", + "fileMatch": [ + "(^|/|\\.)Chart\\.yaml$" + ], + "matchStrings": [ + "#\\s?renovate: image=(?.*?)\\s?appVersion:\\s?\\\"?(?[\\w+\\.\\-]*)\"" + ] + } ] } diff --git a/vaultwarden/Chart.yaml b/vaultwarden/Chart.yaml index 0e1efeb..9f09b87 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: image=vaultwarden/server +appVersion: '1.31.0'