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