feat: add argocd to renovate

This commit is contained in:
Sebastian Mark 2023-07-15 16:17:41 +02:00
parent 9b10ab8dd3
commit d67c8ddc29
2 changed files with 14 additions and 3 deletions

View file

@ -10,8 +10,10 @@ metadata:
name: argocd name: argocd
namespace: kube-system namespace: kube-system
spec: spec:
# do not change order! (needed for renovate)
repo: https://argoproj.github.io/argo-helm repo: https://argoproj.github.io/argo-helm
chart: argo-cd chart: argo-cd
version: 5.39.0
targetNamespace: argocd targetNamespace: argocd
valuesContent: |- valuesContent: |-
applicationSet: applicationSet:
@ -29,8 +31,10 @@ metadata:
name: argocd-apps name: argocd-apps
namespace: kube-system namespace: kube-system
spec: spec:
# do not change order! (needed for renovate)
repo: https://argoproj.github.io/argo-helm repo: https://argoproj.github.io/argo-helm
chart: argocd-apps chart: argocd-apps
version: 5.39.0
targetNamespace: argocd targetNamespace: argocd
valuesContent: |- valuesContent: |-
projects: projects:

View file

@ -7,7 +7,15 @@
], ],
"regexManagers": [ "regexManagers": [
{ {
"description": "Baseline upgrades", "description": "ArgoCD",
"fileMatch": ["argocd-init\\.yml$"],
"matchStrings": [
"\\s+repo:\\s(?<registryUrl>.*)\\n\\s+chart:\\s(?<depName>.*)\\n\\s+version:\\s(?<currentValue>.*)\\n"
],
"datasourceTemplate": "helm"
},
{
"description": "Baseline",
"fileMatch": ["\\.jsonnet$"], "fileMatch": ["\\.jsonnet$"],
"matchStrings": [ "matchStrings": [
"\\s+chart::\\s\\\"(?<depName>.*)\\\",", "\\s+chart::\\s\\\"(?<depName>.*)\\\",",
@ -18,7 +26,7 @@
"datasourceTemplate": "helm" "datasourceTemplate": "helm"
}, },
{ {
"description": "Edge case prometheus", "description": "Baseline - Prometheus",
"fileMatch": ["prometheus-stack\\.jsonnet"], "fileMatch": ["prometheus-stack\\.jsonnet"],
"matchStrings": [ "matchStrings": [
"\\s+chart::\\s\\\"(?<depName>.*)\\\",", "\\s+chart::\\s\\\"(?<depName>.*)\\\",",
@ -28,6 +36,5 @@
"matchStringsStrategy": "combination", "matchStringsStrategy": "combination",
"datasourceTemplate": "helm" "datasourceTemplate": "helm"
} }
] ]
} }