Skip to content

Commit

Permalink
Update linkerd-control-plane.yaml
Browse files Browse the repository at this point in the history
This PR fixes ignoreDifferences otherwise argocd will be out of sync every few minutes and restart continously restart linkerd-destination and linkerd-proxy-injector pods

Fix the group field for the MutatingWebhookConfiguration and ValidatingWebhookConfiguration entries by removing the API version as per argocd requirements here
image
Adds 3 additional entries. 1 to ignore the CronJob schedule and 2 entries to ignore the checksum/config annotation in the linkerd-destination and linkerd-proxy-injector Deployments (See Restart destination, proxy-injector controllers on config change. linkerd/linkerd2#11440)
  • Loading branch information
MaungSan authored Dec 19, 2023
1 parent 505c984 commit 90a39ad
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions apps/linkerd/linkerd-control-plane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,21 @@ spec:
syncPolicy:
automated: {}
ignoreDifferences:
- group: batch
jsonPointers:
- /spec/schedule
kind: CronJob
name: linkerd-heartbeat
- group: apps
jsonPointers:
- /spec/template/metadata/annotations/checksum~1config
kind: Deployment
name: linkerd-destination
- group: apps
jsonPointers:
- /spec/template/metadata/annotations/checksum~1config
kind: Deployment
name: linkerd-proxy-injector
- group: ""
kind: Secret
name: linkerd-proxy-injector-k8s-tls
Expand Down

0 comments on commit 90a39ad

Please sign in to comment.