diff --git a/.github/renovate.json b/.github/renovate.json index 2714c7f7..c976f27a 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,6 +1,11 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["config:recommended", ":disableDependencyDashboard"], + "extends": [ + "config:recommended", + ":configMigration", + ":disableDependencyDashboard", + "customManagers:helmChartYamlAppVersions" + ], "labels": ["dependencies"], "rangeStrategy": "bump", "packageRules": [ @@ -9,35 +14,23 @@ "versioning": "helm" }, { - "matchManagers": ["helmv3"], + "matchManagers": ["helmv3", "helm-values"], "matchUpdateTypes": ["minor", "patch"], "bumpVersion": "patch" }, { - "matchManagers": ["helmv3"], + "matchManagers": ["helmv3", "helm-values"], "matchUpdateTypes": ["major"], "bumpVersion": "minor" }, { - "matchUpdateTypes": ["minor", "patch"], - "matchCurrentVersion": "!/^0/", + "matchUpdateTypes": ["!major"], "automerge": true } ], - "customManagers": [ - { - "customType": "regex", - "fileMatch": ["(^|/)Chart.yaml$"], - "matchStrings": [ - "\\nname: (?.*?)\\n", - "\\nappVersion: \"(?.*?)\"\\n" - ], - "matchStringsStrategy": "combination", - "depNameTemplate": "ghcr.io/netbox-community/{{{depName}}}", - "datasourceTemplate": "docker", - "versioningTemplate": "semver-coerced" - } - ], + "kubernetes": { + "fileMatch": ["^charts/.+\\.ya?ml$"] + }, "github-actions": { "enabled": false } diff --git a/charts/netbox/Chart.yaml b/charts/netbox/Chart.yaml index 6b45962b..abbd5a65 100644 --- a/charts/netbox/Chart.yaml +++ b/charts/netbox/Chart.yaml @@ -1,6 +1,7 @@ apiVersion: v2 name: netbox version: 5.0.0 +# renovate: image=ghcr.io/netbox-community/netbox appVersion: "v4.1.1" type: application kubeVersion: ^1.25.0-0