fix namespace

This commit is contained in:
2025-10-28 17:20:22 -05:00
parent 71bcb4a33e
commit 84ea562c36
3 changed files with 4 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ spec:
resources: ["namespaces"]
matchConditions:
- name: 'only-stage-editor'
expression: "request.userInfo.username == 'system:serviceaccount:ontime-operator-system:stage-editor'"
expression: "request.userInfo.username == 'system:serviceaccount:ontime-operator:stage-editor'"
validations:
- expression: "object.metadata.name.startsWith('team-')"
message: "All namespaces managed by stage-editor must start with 'team-'"