ce7cb702218693d08ea6d83464d2457c9250027c
This commit is contained in:
commit
34c5f8963c
1 changed files with 145336 additions and 0 deletions
51
vendor/platform/kyverno/tests/gateway-status/values.yaml
vendored
Normal file
51
vendor/platform/kyverno/tests/gateway-status/values.yaml
vendored
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
apiVersion: cli.kyverno.io/v1alpha1
|
||||
kind: Values
|
||||
metadata:
|
||||
name: gateway-status
|
||||
globalValues:
|
||||
request.operation: UPDATE
|
||||
policies:
|
||||
- name: protect-shared-gateways
|
||||
resources:
|
||||
- name: gateway-short
|
||||
values:
|
||||
request.oldObject.spec:
|
||||
gatewayClassName: cilium
|
||||
listeners:
|
||||
- name: http
|
||||
port: 80
|
||||
protocol: HTTP
|
||||
allowedRoutes:
|
||||
namespaces:
|
||||
from: Selector
|
||||
selector:
|
||||
matchLabels:
|
||||
gateway.quorate.internal/allow-short: 'true'
|
||||
- name: gateway-relay
|
||||
values:
|
||||
request.oldObject.spec:
|
||||
gatewayClassName: cilium
|
||||
listeners:
|
||||
- name: http
|
||||
port: 80
|
||||
protocol: HTTP
|
||||
allowedRoutes:
|
||||
namespaces:
|
||||
from: Selector
|
||||
selector:
|
||||
matchLabels:
|
||||
gateway.quorate.internal/allow-public: 'true'
|
||||
- name: gateway-internal
|
||||
values:
|
||||
request.oldObject.spec:
|
||||
gatewayClassName: cilium
|
||||
listeners:
|
||||
- name: http
|
||||
port: 80
|
||||
protocol: HTTP
|
||||
allowedRoutes:
|
||||
namespaces:
|
||||
from: Selector
|
||||
selector:
|
||||
matchLabels:
|
||||
gateway.quorate.internal/allow-internal: 'true'
|
||||
Loading…
Reference in a new issue