From 91abcfb8ddc150c727557add8b0e3588c673d6a8 Mon Sep 17 00:00:00 2001 From: Joel Wetzell Date: Tue, 28 Oct 2025 16:07:34 -0500 Subject: [PATCH] fix property name --- apps/stage-maker/namespace-prefix-policy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/stage-maker/namespace-prefix-policy.yaml b/apps/stage-maker/namespace-prefix-policy.yaml index 6b6303f..2c79e52 100644 --- a/apps/stage-maker/namespace-prefix-policy.yaml +++ b/apps/stage-maker/namespace-prefix-policy.yaml @@ -12,7 +12,7 @@ spec: resources: ["namespaces"] matchConditions: - name: 'only-stage-editor' - value: "request.userInfo.username == 'system:serviceaccount:stage-maker:stage-editor'" + expression: "request.userInfo.username == 'system:serviceaccount:stage-maker:stage-editor'" validations: - expression: "object.metadata.namespace.startsWith('team-')" message: "All namespace requests by stage-editor must start with 'team-'"