mirror of
https://github.com/nold360/hive-apps
synced 2024-11-09 15:26:39 +00:00
16 lines
304 B
YAML
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
|