fix: allow egress to k8s API server in network policy
This commit is contained in:
@@ -30,6 +30,13 @@ spec:
|
|||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
port: 8080
|
port: 8080
|
||||||
egress:
|
egress:
|
||||||
|
# Allow Kubernetes API server (ServiceAdapter CRD loader)
|
||||||
|
- to:
|
||||||
|
- ipBlock:
|
||||||
|
cidr: 10.96.0.1/32
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
port: 443
|
||||||
# Allow DNS
|
# Allow DNS
|
||||||
- to:
|
- to:
|
||||||
- namespaceSelector:
|
- namespaceSelector:
|
||||||
|
|||||||
Reference in New Issue
Block a user