apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: security-policies namespace: argocd annotations: # Policies wait for Kyverno's CRDs/controller to exist. argocd.argoproj.io/sync-wave: "0" spec: project: default source: repoURL: https://github.com/REPLACE_WITH_GITHUB_OWNER/kubernetes-security-baseline.git targetRevision: main path: policies/kyverno destination: server: https://kubernetes.default.svc namespace: security-baseline syncPolicy: automated: prune: true selfHeal: true syncOptions: - CreateNamespace=true