From 66a9982a2cca7af0f7e67bd7eb58a31cb1ce41f0 Mon Sep 17 00:00:00 2001 From: NekoPunch Date: Sun, 2 Aug 2026 02:42:48 -0700 Subject: [PATCH] fix(dev-infra): always re-apply CRDs and RBAC on system deploy ensure_crds skips the generated manifests once the CRDs exist, so an upgrade never refreshed CRD schemas or ClusterRoles; a controller needing a new permission deadlocked on informer start while the rollout reported success. Fixes #697. --- hack/install-ate.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hack/install-ate.sh b/hack/install-ate.sh index 871350a0e..0fc6f8955 100755 --- a/hack/install-ate.sh +++ b/hack/install-ate.sh @@ -288,7 +288,9 @@ deploy_crds() { deploy_ate_system() { log_step "deploy_ate_system" - ensure_crds + # Not ensure_crds: its existence check skips upgrades, stranding stale CRD + # schemas and RBAC (role.yaml has no other apply path). + deploy_crds # Enforce per-class SandboxConfig asset requirements (applied before any # SandboxConfig so the defaults below are validated too).