quorate/services/short/k8s/gateway/policy.yaml

14 lines
449 B
YAML
Raw Permalink Normal View History

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}]