From 845c1b79a7b80a394396d1fe843c8f58642ac74a Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Sun, 13 Oct 2024 00:35:05 +0200 Subject: [PATCH] add helm-chart charts folder support --- .github/renovate/folders/charts.json5 | 7 ++++--- .github/renovate/kinds/flux.json5 | 13 +++++++++++++ .github/renovate/kinds/helm-values.json5 | 13 +++++++++++++ .github/renovate/kinds/helm.json5 | 13 +++++++++++++ 4 files changed, 43 insertions(+), 3 deletions(-) create mode 100644 .github/renovate/kinds/flux.json5 create mode 100644 .github/renovate/kinds/helm-values.json5 create mode 100644 .github/renovate/kinds/helm.json5 diff --git a/.github/renovate/folders/charts.json5 b/.github/renovate/folders/charts.json5 index 8d8960ad370..ae1859cc384 100644 --- a/.github/renovate/folders/charts.json5 +++ b/.github/renovate/folders/charts.json5 @@ -1,6 +1,7 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - extends: [ - - ] + "extends": [ + "github>truecharts/public//.github/renovate/kinds/helm.json5", + "github>truecharts/public//.github/renovate/kinds/helm-values.json5" + ] } diff --git a/.github/renovate/kinds/flux.json5 b/.github/renovate/kinds/flux.json5 new file mode 100644 index 00000000000..b5b775f2e0f --- /dev/null +++ b/.github/renovate/kinds/flux.json5 @@ -0,0 +1,13 @@ +{ + "flux": { + "fileMatch": [ + ".ya?ml(?:\\.j2)?$" // Matches all .yaml and .yml files, optionally with a .j2 extension + ], + "enabled": true, // Enable Flux updates + "updateTypes": ["major", "minor", "patch"], // Allow updates for all version types + "commitMessageSuffix": "fix: update Flux resource" // Customize commit message suffix + }, + "ignore": [ + // Add any global ignores here + ] +} \ No newline at end of file diff --git a/.github/renovate/kinds/helm-values.json5 b/.github/renovate/kinds/helm-values.json5 new file mode 100644 index 00000000000..2bc52ee7f77 --- /dev/null +++ b/.github/renovate/kinds/helm-values.json5 @@ -0,0 +1,13 @@ +{ + "helm-values": { + "fileMatch": [ + ".ya?ml(?:\\.j2)?$" // Matches all .yaml and .yml files, optionally with a .j2 extension + ], + "enabled": true, // Enable image reference updates in values.yaml + "updateTypes": ["major", "minor", "patch"], // Allow updates for all version types + "commitMessageSuffix": "fix: update image references" // Customize commit message suffix + }, + "ignore": [ + // Add any global ignores here if needed + ] +} \ No newline at end of file diff --git a/.github/renovate/kinds/helm.json5 b/.github/renovate/kinds/helm.json5 new file mode 100644 index 00000000000..198cc8fcbc0 --- /dev/null +++ b/.github/renovate/kinds/helm.json5 @@ -0,0 +1,13 @@ +{ + "helm": { + "fileMatch": [ + "Chart\\.ya?ml(?:\\.j2)?$" // Matches Chart.yaml or Chart.yml files, optionally with a .j2 extension + ], + "enabled": true, // Enable Helm chart updates + "updateTypes": ["major", "minor", "patch"], // Allow updates for all version types + "commitMessageSuffix": "fix: update Helm chart" // Customize commit message suffix + }, + "ignore": [ + // Add any global ignores here if needed + ] +} \ No newline at end of file