renovate: fix crds

This commit is contained in:
Vivian 2022-05-25 20:57:31 +02:00
parent 0e10064a4f
commit f262041014

View file

@ -55,13 +55,13 @@ data:
module.exports = {
"repositories": ["v/infrastructure"],
"flux": {
"fileMatch": ["flux/.+\\.yaml$"]
"fileMatch": ["flux/.+\\.ya?ml$"]
},
"helm-values": {
"fileMatch": ["flux/.+\\.yaml$"]
"fileMatch": ["flux/.+\\.ya?ml$"]
},
"kubernetes": {
"fileMatch": ["flux/.+\\.yaml$"]
"fileMatch": ["flux/.+\\.ya?ml$"]
},
"hostRules": [
{
@ -79,5 +79,23 @@ data:
"renovate/renovate"
]
}
],
"regexManagers": [
{
"description": "Process GitRepository CRD dependencies - Chart and Github Release are the same version",
"fileMatch": ["flux/cluster/crds/.+\\.ya?ml$"],
"matchStrings": [
"registryUrl=(?<registryUrl>\\S+) chart=(?<depName>\\S+)\n.*?(?<currentValue>[^-\\s]*)\n"
],
"datasourceTemplate": "helm"
},
{
"description": "Process Kustomization CRD dependencies - Image and Github Release are the same version",
"fileMatch": ["flux/cluster/crds/.+\\.ya?ml$"],
"matchStrings": [
"datasource=(?<datasource>\\S+) image=(?<depName>\\S+)\n.*?-\\s(.*?)\/(?<currentValue>[^/]+)\/[^/]+\n"
],
"datasourceTemplate": "docker"
}
]
};