kyverno(kube): fix deployment

This commit is contained in:
2026-09-09 22:20:59 +02:00
parent a07ce44e6d
commit 26dd59845f
5 changed files with 39 additions and 3 deletions
@@ -14,3 +14,4 @@ resources:
- openclaw-operator.yaml
- openclaw.yaml
- kyverno.yaml
- kyverno-policies.yaml
@@ -0,0 +1,19 @@
---
# Flux Kustomization for Kyverno ClusterPolicies.
# dependsOn "kyverno" (the controller + CRDs) so the kyverno.io/v2 CRD exists
# before Flux dry-runs the ClusterPolicy. Without this split, Flux fails the
# whole Kustomization at dry-run ("no matches for kind ClusterPolicy").
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: kyverno-policies
namespace: flux-system
spec:
interval: 5m
prune: true
sourceRef:
kind: GitRepository
name: homeprod
path: ./kubernetes/system/kyverno-policies
dependsOn:
- name: kyverno