Fix egress-policy schema by removing pattern to match the one in ingress-policy schema. (#3533)
This commit is contained in:
@@ -34,8 +34,7 @@
|
||||
"identities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"pattern": "^(?:serviceAccount:|user:|group:|principal:|\\$identity_sets:)"
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
<br>*enum: ['IDENTITY_TYPE_UNSPECIFIED', 'ANY_IDENTITY', 'ANY_USER_ACCOUNT', 'ANY_SERVICE_ACCOUNT', '']*
|
||||
- **identities**: *array*
|
||||
- items: *string*
|
||||
<br>*pattern: ^(?:serviceAccount:|user:|group:|principal:|\$identity_sets:)*
|
||||
- **resources**: *array*
|
||||
- items: *string*
|
||||
- ⁺**to**: *object*
|
||||
|
||||
Reference in New Issue
Block a user