fix: update renovate crd regexManager for more coverage

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2022-06-11 17:25:47 -04:00
1 parent 1db1872de1
commit fa9851127c
4 files changed
+23 -39

No files matched your search

+18 -35
View File
@@ -5,21 +5,15 @@
"dependencyDashboardTitle": "Renovate Dashboard", "dependencyDashboardTitle": "Renovate Dashboard",
"suppressNotifications": ["prIgnoreNotification"], "suppressNotifications": ["prIgnoreNotification"],
"rebaseWhen": "conflicted", "rebaseWhen": "conflicted",
"schedule": [ "schedule": ["every weekend"],
"every weekend"
],
"pre-commit": { "pre-commit": {
"enabled": true "enabled": true
}, },
"flux": { "flux": {
"fileMatch": [ "fileMatch": ["cluster/.+\\.ya?ml$"]
"cluster/.+\\.ya?ml$"
]
}, },
"helm-values": { "helm-values": {
"fileMatch": [ "fileMatch": ["cluster/.+\\.ya?ml$"]
"cluster/.+\\.ya?ml$"
]
}, },
"kubernetes": { "kubernetes": {
"fileMatch": [ "fileMatch": [
@@ -28,39 +22,28 @@
] ]
}, },
"regexManagers": [ "regexManagers": [
// Read and process GitHub Releases
{ {
"description": "Process CRD dependencies",
"fileMatch": ["cluster/crds/.+\\.ya?ml$"],
"matchStrings": [
// GitRepository and Flux Kustomization where 'Git release/tag' matches 'Helm' version
"registryUrl=(?<registryUrl>\\S+) chart=(?<depName>\\S+)\n.*?(?<currentValue>[^-\\s]*)\n",
// Kustomization where 'GitHub release artifact URL' matches 'Docker image' version
"datasource=(?<datasource>\\S+) image=(?<depName>\\S+)\n.*?-\\s(.*?)\/(?<currentValue>[^/]+)\/[^/]+\n"
],
"datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}helm{{/if}}"
},
{
"description": "Process various other dependencies",
"fileMatch": [ "fileMatch": [
"cluster/.+\\.ya?ml$", "provision/ansible/.+\\.ya?ml$",
"provision/ansible/.+\\.ya?ml$" "cluster/.+\\.ya?ml$"
], ],
"matchStrings": [ "matchStrings": [
"datasource=(?<datasource>.*?)( versioning=(?<versioning>.*?))?\n *url: https:\/\/github\\.com\/(?<depName>.*?)\\.git\n *ref:\n *tag: (?<currentValue>.*)\n", "datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>\\S+))?\n.*?\"(?<currentValue>.*)\"\n"
"datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\n.*?_version: \"(?<currentValue>.*)\"\n",
"datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\n.*?_VERSION=\"(?<currentValue>.*)\"\n"
], ],
"datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}", "datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}",
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
},
// regexManager to read and process cert-manager CRD's
{
"fileMatch": [
"cluster/crds/cert-manager/.+\\.ya?ml$"
],
"matchStrings": [
"registryUrl=(?<registryUrl>.*?) chart=(?<depName>.*?)\n.*\\/(?<currentValue>.*?)\\/"
],
"datasourceTemplate": "helm"
},
// regexManager to read and process Traefik CRD's
{
"fileMatch": [
"cluster/crds/traefik/.+\\.ya?ml$"
],
"matchStrings": [
"registryUrl=(?<registryUrl>.*?) chart=(?<depName>.*?)\n *tag: v(?<currentValue>.*)\n"
],
"datasourceTemplate": "helm"
} }
], ],
"packageRules": [ "packageRules": [
+3 -2
View File
@@ -1,5 +1,6 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
# renovate: registryUrl=https://charts.jetstack.io chart=cert-manager # renovate: datasource=docker image=quay.io/jetstack/cert-manager-controller
- https://github.com/jetstack/cert-manager/releases/download/v1.8.0/cert-manager.crds.yaml - https://github.com/cert-manager/cert-manager/releases/download/v1.8.0/cert-manager.crds.yaml
@@ -2,5 +2,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
# renovate: registryUrl=https://github.com/rancher/system-upgrade-controller # renovate: datasource=docker image=rancher/system-upgrade-controller
- https://github.com/rancher/system-upgrade-controller/releases/download/v0.9.1/crd.yaml - https://github.com/rancher/system-upgrade-controller/releases/download/v0.9.1/crd.yaml
@@ -8,7 +8,7 @@ spec:
interval: 10m interval: 10m
ref: ref:
# renovate: datasource=github-releases depName=fluxcd/flux2 # renovate: datasource=github-releases depName=fluxcd/flux2
tag: v0.30.2 tag: "v0.30.2"
url: https://github.com/fluxcd/flux2 url: https://github.com/fluxcd/flux2
ignore: | ignore: |
# exclude all # exclude all