renovate: fix crds
This commit is contained in:
parent
0e10064a4f
commit
f262041014
1 changed files with 21 additions and 3 deletions
|
@ -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"
|
||||
}
|
||||
]
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue