Skip to content

Commit

Permalink
Exclude automatic AKS Key from being reconciled
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Harder committed Sep 28, 2023
1 parent 38f127a commit 270efbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions component/app.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ local app = argocd.App('cert-manager', params.namespace) {
name: 'cert-manager-webhook',
jqPathExpressions: [
'.webhooks[].namespaceSelector.matchExpressions[] | select(.key == "control-plane")',
'.webhooks[].namespaceSelector.matchExpressions[] | select(.key == "kubernetes.azure.com/managedby")',
],
},
],
Expand Down
1 change: 1 addition & 0 deletions tests/golden/defaults/cert-manager/apps/cert-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ spec:
- group: admissionregistration.k8s.io
jqPathExpressions:
- .webhooks[].namespaceSelector.matchExpressions[] | select(.key == "control-plane")
- .webhooks[].namespaceSelector.matchExpressions[] | select(.key == "kubernetes.azure.com/managedby")
kind: ValidatingWebhookConfiguration
name: cert-manager-webhook

0 comments on commit 270efbe

Please sign in to comment.