fix property name

This commit is contained in:
2025-10-28 16:07:34 -05:00
parent ec216c6347
commit 91abcfb8dd

View File

@@ -12,7 +12,7 @@ spec:
resources: ["namespaces"] resources: ["namespaces"]
matchConditions: matchConditions:
- name: 'only-stage-editor' - 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: validations:
- expression: "object.metadata.namespace.startsWith('team-')" - expression: "object.metadata.namespace.startsWith('team-')"
message: "All namespace requests by stage-editor must start with 'team-'" message: "All namespace requests by stage-editor must start with 'team-'"