fix namespace
This commit is contained in:
@@ -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-'"
|
||||
|
||||
Reference in New Issue
Block a user