ce7cb702218693d08ea6d83464d2457c9250027c
This commit is contained in:
commit
34c5f8963c
1 changed files with 145336 additions and 0 deletions
14
services/short/k8s/gateway/policy.yaml
Normal file
14
services/short/k8s/gateway/policy.yaml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
apiVersion: cilium.io/v2
|
||||
kind: CiliumClusterwideNetworkPolicy
|
||||
metadata: {name: gateway-short}
|
||||
spec:
|
||||
endpointSelector:
|
||||
matchLabels: {"reserved:ingress": ""}
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
k8s:io.kubernetes.pod.namespace: short
|
||||
app.kubernetes.io/name: tunnel
|
||||
app.kubernetes.io/instance: short
|
||||
toPorts:
|
||||
- ports: [{port: "80", protocol: TCP}, {port: "443", protocol: TCP}]
|
||||
Loading…
Reference in a new issue