Merge fix/p0-kyverno-render into main
Restore green platform build; defer kyverno render to Phase 2. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This commit is contained in:
2 files changed
+24
-7
No files matched your search
@@ -11,7 +11,10 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- kyverno # PM: enabled — admission enforcer first so policies precede other components
|
# - kyverno # DEFERRED to Phase 2 (T-2.7): admission enforcement needs a cluster.
|
||||||
|
# Scaffolding is present & buildable at platform/kyverno/; enable it first
|
||||||
|
# (before other components) when T-2.7 activates. Kyverno's CI L0 gate is
|
||||||
|
# already live now via .gitea/ + ci/ (no cluster needed).
|
||||||
- cilium
|
- cilium
|
||||||
- longhorn
|
- longhorn
|
||||||
- cert-manager
|
- cert-manager
|
||||||
|
|||||||
@@ -1,10 +1,24 @@
|
|||||||
# PM integration glue (Phase 0): makes platform/kyverno a Flux platform component.
|
# platform/kyverno — in-cluster ENFORCING bundle (Kyverno install + policies shared verbatim with
|
||||||
# Renders the in-cluster ENFORCING bundle authored by WS-TEST (admission/) — Kyverno install
|
# the CI L0 gate; ADR-0011, docs/07 admission enforcement).
|
||||||
# + the policies shared verbatim with the CI L0 gate (ADR-0011, docs/07 admission enforcement).
|
|
||||||
#
|
#
|
||||||
# The CI-only artifacts (tests/, servicedefinition/ payloads, scripts/run-l0.sh) are intentionally
|
# Resources are listed with DOWNWARD paths only (no `../`) so this builds under default kustomize
|
||||||
# NOT rendered into the cluster — they run in CI (.gitea/ + ci/), not in-cluster.
|
# 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
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
namespace: kyverno
|
||||||
resources:
|
resources:
|
||||||
- admission
|
- 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
|
||||||
Reference in new issue
Block a user