From d67c8ddc29e7064675a027d85dc512c893415f5f Mon Sep 17 00:00:00 2001 From: Sebastian Mark Date: Sat, 15 Jul 2023 16:17:41 +0200 Subject: [PATCH] feat: add argocd to renovate --- argocd-init.yml | 4 ++++ renovate.json | 13 ++++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/argocd-init.yml b/argocd-init.yml index 3a8f4e3..d35aa3f 100644 --- a/argocd-init.yml +++ b/argocd-init.yml @@ -10,8 +10,10 @@ metadata: name: argocd namespace: kube-system spec: + # do not change order! (needed for renovate) repo: https://argoproj.github.io/argo-helm chart: argo-cd + version: 5.39.0 targetNamespace: argocd valuesContent: |- applicationSet: @@ -29,8 +31,10 @@ metadata: name: argocd-apps namespace: kube-system spec: + # do not change order! (needed for renovate) repo: https://argoproj.github.io/argo-helm chart: argocd-apps + version: 5.39.0 targetNamespace: argocd valuesContent: |- projects: diff --git a/renovate.json b/renovate.json index 0ca5c7f..664726a 100644 --- a/renovate.json +++ b/renovate.json @@ -7,7 +7,15 @@ ], "regexManagers": [ { - "description": "Baseline upgrades", + "description": "ArgoCD", + "fileMatch": ["argocd-init\\.yml$"], + "matchStrings": [ + "\\s+repo:\\s(?.*)\\n\\s+chart:\\s(?.*)\\n\\s+version:\\s(?.*)\\n" + ], + "datasourceTemplate": "helm" + }, + { + "description": "Baseline", "fileMatch": ["\\.jsonnet$"], "matchStrings": [ "\\s+chart::\\s\\\"(?.*)\\\",", @@ -18,7 +26,7 @@ "datasourceTemplate": "helm" }, { - "description": "Edge case prometheus", + "description": "Baseline - Prometheus", "fileMatch": ["prometheus-stack\\.jsonnet"], "matchStrings": [ "\\s+chart::\\s\\\"(?.*)\\\",", @@ -28,6 +36,5 @@ "matchStringsStrategy": "combination", "datasourceTemplate": "helm" } - ] }