mirror of
https://github.com/Telecominfraproject/wlan-toolsmith.git
synced 2025-10-29 18:12:20 +00:00
[WIFI-7854] Fix: allow access from github actions to kube api
Signed-off-by: Dmitry Dunaev <dmitry@opsfleet.com>
This commit is contained in:
@@ -14,4 +14,3 @@ spec:
|
||||
except:
|
||||
- 10.10.0.0/16
|
||||
- 172.20.0.0/16
|
||||
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: NetworkPolicy
|
||||
metadata:
|
||||
name: egress-allow-kube-api
|
||||
spec:
|
||||
podSelector:
|
||||
matchLabels: {}
|
||||
policyTypes:
|
||||
- Egress
|
||||
egress:
|
||||
- ports:
|
||||
- port: 443
|
||||
protocol: TCP
|
||||
to:
|
||||
- ipBlock:
|
||||
cidr: 172.20.0.1/32
|
||||
- ipBlock:
|
||||
cidr: 10.10.11.166/32
|
||||
- ipBlock:
|
||||
cidr: 10.10.12.140/32
|
||||
Reference in New Issue
Block a user