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