fix: use CiliumNetworkPolicy for kube-apiserver egress
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-kube-api
|
||||
namespace: api
|
||||
spec:
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app: api-gateway
|
||||
egress:
|
||||
- toEntities:
|
||||
- kube-apiserver
|
||||
Reference in New Issue
Block a user