13 lines
214 B
YAML
13 lines
214 B
YAML
apiVersion: cilium.io/v2
|
|
kind: CiliumNetworkPolicy
|
|
metadata:
|
|
name: allow-kube-api
|
|
namespace: api
|
|
spec:
|
|
endpointSelector:
|
|
matchLabels:
|
|
app: api-gateway
|
|
egress:
|
|
- toEntities:
|
|
- kube-apiserver
|