Fix egress-policy schema by removing pattern to match the one in ingress-policy schema. (#3533)

This commit is contained in:
kovagoadam
2025-11-17 15:56:32 +01:00
committed by GitHub
parent 09367404a8
commit 2567233fb7
4 changed files with 2 additions and 6 deletions

View File

@@ -34,8 +34,7 @@
"identities": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:serviceAccount:|user:|group:|principal:|\\$identity_sets:)"
"type": "string"
}
},
"resources": {

View File

@@ -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*

View File

@@ -34,8 +34,7 @@
"identities": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:serviceAccount:|user:|group:|principal:|\\$identity_sets:)"
"type": "string"
}
},
"resources": {

View File

@@ -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*