Migrate renovate config ()

Reviewed-on: https://invisible.forgejo.org/infrastructure/k8s-cluster/pulls/491
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
This commit is contained in:
Renovate Bot 2025-05-05 04:57:02 +00:00 committed by Michael Kriese
parent 2c7bcf2a46
commit 006cdd3704
No known key found for this signature in database
GPG key ID: 51FA4E84677114F1

View file

@ -2,10 +2,10 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["infrastructure/renovate-config", "github>visualon/renovate-config//k3s.json"],
"flux": {
"fileMatch": ["^flux/.+\\.ya?ml$"]
"managerFilePatterns": ["/^flux/.+\\.ya?ml$/"]
},
"kubernetes": {
"fileMatch": ["^flux/.+\\.ya?ml$"]
"managerFilePatterns": ["/^flux/.+\\.ya?ml$/"]
},
"packageRules": [
{
@ -81,13 +81,13 @@
{
"description": "update flux kustomization CRD dependencies",
"customType": "regex",
"fileMatch": ["^flux/infrastructure/crds/kustomization.yaml$"],
"managerFilePatterns": ["/^flux/infrastructure/crds/kustomization.yaml$/"],
"matchStrings": ["-\\s(?:.*?)\\/(?<currentValue>[^/\\s]+)\\/[^/\\s]+ # renovate: datasource=(?<datasource>.+?) depName=(?<depName>.+?)\\s"]
},
{
"description": "update versions inside yaml manifests",
"customType": "regex",
"fileMatch": ["\\.yaml$"],
"managerFilePatterns": ["/\\.yaml$/"],
"matchStrings": [
":\\s+(?<currentValue>.+?)\\s+# renovate: datasource=(?<datasource>.+?) depName=(?<depName>.+?)(?: packageName=(?<packageName>.+?))?(?: versioning=(?<versioning>.+?))?\\s"
]