From 3462ea37a474ba0ce852599176f96f807c216ec7 Mon Sep 17 00:00:00 2001 From: Will Anderson Date: Tue, 5 May 2026 05:07:15 -0500 Subject: [PATCH] Add ignoreDifferences for Deployment status in gitea-gke MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Argo CD's bundled schema is missing terminatingReplicas from the Deployment status spec, causing a ComparisonError on every sync. Ignoring /status entirely is safe — Argo CD never manages status fields; they're owned by kube-controller-manager. --- servers/gcp/k8s/argocd-apps/gitea-gke.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/servers/gcp/k8s/argocd-apps/gitea-gke.yaml b/servers/gcp/k8s/argocd-apps/gitea-gke.yaml index b8df252..420fb8a 100644 --- a/servers/gcp/k8s/argocd-apps/gitea-gke.yaml +++ b/servers/gcp/k8s/argocd-apps/gitea-gke.yaml @@ -29,6 +29,14 @@ spec: # terraform -chdir=servers/gcp output -raw gke_cluster_endpoint server: https://34.63.89.52 namespace: gitea + # terminatingReplicas is a newer Deployment status field that Argo CD's + # bundled schema doesn't know about — causes ComparisonError during diff. + # Ignoring /status entirely is safe: Argo CD never manages status fields. + ignoreDifferences: + - group: apps + kind: Deployment + jsonPointers: + - /status syncPolicy: automated: prune: true