hive-apps/projects/forgejo/manifests/netpol.yaml
2024-02-11 10:29:38 +01:00

16 lines
304 B
YAML

apiVersion: "cilium.io/v2"
kind: CiliumNetworkPolicy
metadata:
name: allow-cnpg-kubeapi
namespace: forgejo
spec:
endpointSelector:
matchLabels:
cnpg.io/cluster: forgejo-db
egress:
- toEntities:
- kube-apiserver
- toPorts:
- ports:
- port: "6443"
protocol: TCP