mirror of
https://github.com/nold360/hive-apps
synced 2024-09-06 16:49:00 +00:00
17 lines
300 B
YAML
17 lines
300 B
YAML
apiVersion: "cilium.io/v2"
|
|
kind: CiliumNetworkPolicy
|
|
metadata:
|
|
name: allow-cnpg-kubeapi
|
|
namespace: gitea
|
|
spec:
|
|
endpointSelector:
|
|
matchLabels:
|
|
cnpg.io/podRole: instance
|
|
egress:
|
|
- toEntities:
|
|
- kube-apiserver
|
|
- toPorts:
|
|
- ports:
|
|
- port: "6443"
|
|
protocol: TCP
|