From a1c94a3f4bb8f2ff34cd4da5ae53b88688783857 Mon Sep 17 00:00:00 2001 From: jmicanek Date: Thu, 25 Sep 2025 11:11:48 +0200 Subject: [PATCH] Use server-side apply in Grafana Application In PR #7426, an attempt was made to deploy updated Grafana dashboard. This update started failing the Grafana Application deployment via the CI system. Upon investigation of ArgoCD within the CI cluster, this error message was found: ConfigMap controllers-overview-dc566k7t25 is invalid: metadata.annotations: Too long: must have at most 262144 bytes. Retrying attempt #28 at 3:06PM. Investigation of ArgoCD documentation shows that using the ServerSideApply option should fix issues such as this. While there is an option for users to apply this label on per-resource level, it would require us to investigate every time the CI would fail because of this. So instead, let's set ServerSideApply on the whole application to fix any future dashboard issues. --- .../monitoring-workload-grafana/monitoring-workload-grafana.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/argo-cd-apps/base/all-clusters/infra-deployments/monitoring-workload-grafana/monitoring-workload-grafana.yaml b/argo-cd-apps/base/all-clusters/infra-deployments/monitoring-workload-grafana/monitoring-workload-grafana.yaml index 757cf5d6dc1..db361f01725 100644 --- a/argo-cd-apps/base/all-clusters/infra-deployments/monitoring-workload-grafana/monitoring-workload-grafana.yaml +++ b/argo-cd-apps/base/all-clusters/infra-deployments/monitoring-workload-grafana/monitoring-workload-grafana.yaml @@ -33,6 +33,7 @@ spec: selfHeal: true syncOptions: - CreateNamespace=true + - ServerSideApply=true retry: limit: 50 backoff: