Apply Kyverno CRDs server-side
This commit is contained in:
@@ -11,6 +11,12 @@ spec:
|
|||||||
repoURL: https://kyverno.github.io/kyverno/
|
repoURL: https://kyverno.github.io/kyverno/
|
||||||
chart: kyverno
|
chart: kyverno
|
||||||
targetRevision: 3.3.7
|
targetRevision: 3.3.7
|
||||||
|
helm:
|
||||||
|
values: |
|
||||||
|
crds:
|
||||||
|
annotations:
|
||||||
|
# The two policy CRDs exceed client-side apply's annotation limit.
|
||||||
|
argocd.argoproj.io/sync-options: ServerSideApply=true
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: kyverno
|
namespace: kyverno
|
||||||
@@ -20,6 +26,4 @@ spec:
|
|||||||
selfHeal: true
|
selfHeal: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
# Kyverno policy CRDs exceed Kubernetes' client-side apply annotation
|
- ServerSideApply=true
|
||||||
# limit, so replacement avoids storing the oversized last-applied blob.
|
|
||||||
- Replace=true
|
|
||||||
|
|||||||
Reference in New Issue
Block a user