theshire/.archive/kubernetes/kube-system/cilium/app/netpols/fix-apiserver.yml

15 lines
346 B
YAML
Raw Normal View History

2024-01-11 15:03:54 -06:00
# yaml-language-server: $schema=https://ks.hsn.dev/cilium.io/ciliumclusterwidenetworkpolicy_v2.json
---
apiVersion: "cilium.io/v2"
kind: CiliumClusterwideNetworkPolicy
metadata:
name: allow-specific-traffic
spec:
endpointSelector: {}
ingress:
- fromEntities:
- host
toPorts:
- ports:
- port: '6443'
protocol: TCP