mirror of
https://github.com/nold360/hive-apps
synced 2024-12-22 21:51:20 +00:00
Fix: Ingress-External NetworkPolicy
This commit is contained in:
parent
1c432775dd
commit
985c7729cf
2 changed files with 16 additions and 2 deletions
14
projects/ingress-external/manifests/allow-kubeapi.yml
Normal file
14
projects/ingress-external/manifests/allow-kubeapi.yml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
apiVersion: "cilium.io/v2"
|
||||||
|
kind: CiliumNetworkPolicy
|
||||||
|
metadata:
|
||||||
|
name: "traefik-allow-kubeapi"
|
||||||
|
spec:
|
||||||
|
endpointSelector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/name: traefik
|
||||||
|
app.kubernetes.io/instance: ingress-external
|
||||||
|
egress:
|
||||||
|
- toServices:
|
||||||
|
- k8sService:
|
||||||
|
serviceName: kubernetes
|
||||||
|
namespace: default
|
|
@ -4,9 +4,9 @@ config:
|
||||||
config:
|
config:
|
||||||
allowNamespace: false
|
allowNamespace: false
|
||||||
rules:
|
rules:
|
||||||
#- allow-dns
|
- allow-dns
|
||||||
- allow-ingress-traffic
|
- allow-ingress-traffic
|
||||||
#- allow-external-services
|
- allow-external-services
|
||||||
#- allow-kubeapi
|
#- allow-kubeapi
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
|
|
Loading…
Reference in a new issue