Add ignoreDifferences for Deployment status in gitea-gke
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.
This commit is contained in:
@@ -29,6 +29,14 @@ spec:
|
|||||||
# terraform -chdir=servers/gcp output -raw gke_cluster_endpoint
|
# terraform -chdir=servers/gcp output -raw gke_cluster_endpoint
|
||||||
server: https://34.63.89.52
|
server: https://34.63.89.52
|
||||||
namespace: gitea
|
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:
|
syncPolicy:
|
||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
|
|||||||
Reference in New Issue
Block a user