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

17 lines
304 B
YAML
Raw Normal View History

2024-05-13 08:52:49 +00:00
apiVersion: "cilium.io/v2"
kind: CiliumNetworkPolicy
metadata:
name: allow-kubeapi
namespace: woodpecker
spec:
endpointSelector:
matchLabels:
app.kubernetes.io/name: agent
egress:
- toEntities:
- kube-apiserver
- toPorts:
- ports:
- port: "6443"
protocol: TCP