mirror of
https://github.com/nold360/hive-apps
synced 2024-12-24 06:31:15 +00:00
17 lines
304 B
YAML
17 lines
304 B
YAML
|
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
|