Skip to content

Commit

Permalink
Necessary ignoreDifferences for cert manager
Browse files Browse the repository at this point in the history
  • Loading branch information
zioproto committed Jan 3, 2024
1 parent 852764c commit 0e7681e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions terraform/modules/argocd/chart/rootapp/templates/root.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ metadata:
name: root
namespace: {{ .Release.Namespace }}
spec:
ignoreDifferences:
- group: admissionregistration.k8s.io
jqPathExpressions:
- .webhooks[].namespaceSelector.matchExpressions[] | select(.key == "control-plane")
- .webhooks[].namespaceSelector.matchExpressions[] | select(.key == "kubernetes.azure.com/managedby")
destination:
namespace: {{ .Release.Namespace }}
server: https://kubernetes.default.svc
Expand Down

0 comments on commit 0e7681e

Please sign in to comment.