{ "$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=(?\\S+) depName=(?\\S+)( repository=(?\\S+))?\\n.+: (&\\S+\\s)?(?\\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=(?\\S+) depName=(?\\S+)\\n.+/(?(v|\\d)[^/]+)", "datasource=(?\\S+) depName=(?\\S+)( repository=(?\\S+))?\n.+?\"(?\\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: (?\\S+):(?.*\\-.*)"], // "datasourceTemplate": "docker", // "versioningTemplate": "redhat" // } ] }