mirror of
https://github.com/nold360/hive-apps
synced 2024-12-22 13:01:21 +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:
|
||||
allowNamespace: false
|
||||
rules:
|
||||
#- allow-dns
|
||||
- allow-dns
|
||||
- allow-ingress-traffic
|
||||
#- allow-external-services
|
||||
- allow-external-services
|
||||
#- allow-kubeapi
|
||||
|
||||
apps:
|
||||
|
|
Loading…
Reference in a new issue