From 9ad5dae3f543d723501bf5522002535a9a91e28c Mon Sep 17 00:00:00 2001
From: Ricardo Rocha <ricardo.rocha@cern.ch>
Date: Thu, 13 Jul 2023 09:26:49 +0200
Subject: [PATCH] Add skipCrds to thanos addon app

---
 app/addon-thanos.yaml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/app/addon-thanos.yaml b/app/addon-thanos.yaml
index 95318de..7919142 100644
--- a/app/addon-thanos.yaml
+++ b/app/addon-thanos.yaml
@@ -27,7 +27,7 @@ spec:
           # this is required to pass the cluster name to the target cluster.
           # used to set the ingress name (dns) for thanos and prometheus, for example.
           - name: HELM_ARGS
-            value: --set clusterName={{name}}
+            value: --skipcrds --set clusterName={{name}}
       destination:
         server: '{{server}}'
         namespace: kube-system
@@ -38,4 +38,3 @@ spec:
           selfHeal: true
         syncOptions:
           - CreateNamespace=true
-            #- ServerSideApply=true # needed due to: https://www.arthurkoziel.com/fixing-argocd-crd-too-long-error/
-- 
GitLab