hive-apps/projects/nextcloud/manifests/netpol.yaml

17 lines
304 B
YAML
Raw Normal View History

2022-12-15 16:46:52 +00:00
apiVersion: "cilium.io/v2"
kind: CiliumNetworkPolicy
metadata:
name: allow-cnpg-kubeapi
namespace: nextcloud
spec:
endpointSelector:
matchLabels:
cnpg.io/podRole: instance
egress:
- toEntities:
- kube-apiserver
- toPorts:
- ports:
- port: "6443"
protocol: TCP