From 196945039092515684d291d77bb243209be174bd Mon Sep 17 00:00:00 2001 From: Ariel Sosnovsky Date: Tue, 24 Oct 2023 15:52:49 -0400 Subject: [PATCH] fixing prom --- k8s/argoapps/templates/charts-infra.yaml | 4 ++++ k8s/argoapps/values.yaml | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/k8s/argoapps/templates/charts-infra.yaml b/k8s/argoapps/templates/charts-infra.yaml index b04fa94..84ca0fe 100644 --- a/k8s/argoapps/templates/charts-infra.yaml +++ b/k8s/argoapps/templates/charts-infra.yaml @@ -42,4 +42,8 @@ spec: syncPolicy: automated: selfHeal: true + {{ if $chartProps.enableServerSideApply}} + syncOptions: + - ServerSideApply=true + {{ end }} {{ end }} \ No newline at end of file diff --git a/k8s/argoapps/values.yaml b/k8s/argoapps/values.yaml index 072be6d..6ecc00e 100644 --- a/k8s/argoapps/values.yaml +++ b/k8s/argoapps/values.yaml @@ -123,8 +123,9 @@ infrastructureCharts: prometheus: chart: kube-prometheus-stack repoURL: "https://prometheus-community.github.io/helm-charts" - targetRevision: "45.10.1" + targetRevision: "51.10.0" valuesFile: prometheus.yaml + enableServerSideApply: true authentik: repoURL: https://charts.goauthentik.io targetRevision: "2023.8.3"