Skip to content

Commit

Permalink
Merge pull request #85 from projectsyn/fix/19
Browse files Browse the repository at this point in the history
Fix OutOfSync on AKS clusters
  • Loading branch information
rxbn authored May 3, 2022
2 parents 321384c + 23d832c commit f0b7cd7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions component/app.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ local app = argocd.App('cert-manager', params.namespace) {
'/data',
],
},
{
group: 'admissionregistration.k8s.io',
kind: 'ValidatingWebhookConfiguration',
name: 'cert-manager-webhook',
jqPathExpressions: [
'.webhooks[].namespaceSelector.matchExpressions[] | select(.key == "control-plane")',
],
},
],
},
};
Expand Down
5 changes: 5 additions & 0 deletions tests/golden/defaults/cert-manager/apps/cert-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ spec:
kind: Secret
name: acme-dns-client
namespace: syn-cert-manager
- group: admissionregistration.k8s.io
jqPathExpressions:
- .webhooks[].namespaceSelector.matchExpressions[] | select(.key == "control-plane")
kind: ValidatingWebhookConfiguration
name: cert-manager-webhook

0 comments on commit f0b7cd7

Please sign in to comment.