Files
truecharts/.github/renovate/special/customClusterManagers.json5
Kjeld Schouten 70f87d44a9 more tc to tf
2025-10-10 10:55:00 +02:00

34 lines
1.6 KiB
Plaintext

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"customManagers": [
{
"customType": "regex",
"description": ["Process YAML custom dependencies"],
"fileMatch": [".ya?ml$"],
"matchStrings": [
// # renovate: datasource=github-releases depName=k3s-io/k3s
// k3s_release_version: &version v1.29.0+k3s1
// # renovate: datasource=helm depName=cilium repository=https://helm.cilium.io
// version: 1.15.1
// # renovate: datasource=docker depName=ghcr.io/siderolabs/kubelet
// KUBERNETES_VERSION=v1.31.1
"datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( repository=(?<registryUrl>\\S+))?\\n.+: (&\\S+\\s)?(?<currentValue>\\S+)",
// # renovate: datasource=github-releases depName=rancher/stable-upgrade-controller
// https://github.com/rancher/stable-upgrade-controller/releases/download/v0.13.2/crd.yaml
"datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)\\n.+/(?<currentValue>(v|\\d)[^/]+)",
"datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( repository=(?<registryUrl>\\S+))?\n.+?\"(?<currentValue>\\S+)\""
],
"datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}"
},
//// TODO: verify if we need/use this logic at all
// {
// "customType": "regex",
// "description": ["Process CloudnativePG Postgresql version"],
// "fileMatch": ["(^|/)kubernetes/.+\\.ya?ml$"],
// "matchStrings": ["imageName: (?<depName>\\S+):(?<currentValue>.*\\-.*)"],
// "datasourceTemplate": "docker",
// "versioningTemplate": "redhat"
// }
]
}