mirror of
https://github.com/gwg313/homelab-gitops.git
synced 2026-06-05 20:01:00 +00:00
Signed-off-by: gwg313 <gwg313@pm.me> remove vals Signed-off-by: gwg313 <gwg313@pm.me>
24 lines
622 B
YAML
24 lines
622 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: kyverno-policies
|
|
namespace: argocd
|
|
annotations:
|
|
argoproj.io/sync-wave: "-5"
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: https://github.com/gwg313/homelab-gitops.git
|
|
targetRevision: main
|
|
path: platform/kyverno/policies
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: kyverno
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=false
|
|
- ServerSideApply=true
|
|
- Replace=true # <-- Policies have immutable fields so this helps deal with updates
|