# platform/kyverno — in-cluster ENFORCING bundle (Kyverno install + policies shared verbatim with # the CI L0 gate; ADR-0011, docs/07 admission enforcement). # # Resources are listed with DOWNWARD paths only (no `../`) so this builds under default kustomize # load restrictions. The admission/kustomization.yaml authored by WS-TEST uses `../policies` refs and # is kept as reference; THIS file is the buildable render root. # # NOTE: not yet wired into platform/kustomization.yaml — admission enforcement is Phase 2 (T-2.7), # which needs a cluster. Scaffolding is present and buildable now. # # CI-only artifacts (tests/, servicedefinition/ payloads, scripts/run-l0.sh) are intentionally NOT # rendered into the cluster — they run in CI (.gitea/ + ci/). apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: kyverno resources: - admission/namespace.yaml - admission/helmrelease.yaml - policies/require-default-deny-baseline.yaml - policies/validate-default-deny-shape.yaml - policies/restrict-host-namespaces.yaml - policies/require-egress-class-label.yaml - policies/require-auth-mode-label.yaml - admission/secret-provenance.yaml