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