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

17 lines
304 B
YAML
Raw Permalink Normal View History

2024-02-10 20:19:43 +00:00
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