File tree Expand file tree Collapse file tree
kubernetes/apps/network/envoy-gateway/gateway Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -162,6 +162,32 @@ spec:
162162 - kind : Secret
163163 name : bitshift-systems-tls
164164
165+ ---
166+ # yaml-language-server: $schema=https://k8s-schemas.home-operations.com/cilium.io/ciliumclusterwidenetworkpolicy_v2.json
167+ apiVersion : cilium.io/v2
168+ kind : CiliumNetworkPolicy
169+ metadata :
170+ name : np-e-a-envoy-gw-eu-v6
171+ spec :
172+ endpointSelector :
173+ matchLabels :
174+ app.kubernetes.io/managed-by : envoy-gateway
175+ gateway.networking.k8s.io/gateway-name : external-eu-v6
176+ egress :
177+ - toEndpoints :
178+ - matchLabels :
179+ ingress.netpol.bitshift.systems/external : allow
180+ matchExpressions :
181+ - key : k8s:io.kubernetes.pod.namespace
182+ operator : Exists
183+ - toEndpoints :
184+ - matchLabels :
185+ control-plane : envoy-gateway
186+ toPorts :
187+ - ports :
188+ - port : ' 18000'
189+ protocol : TCP
190+
165191---
166192# yaml-language-server: $schema=https://k8s-schemas.home-operations.com/cilium.io/ciliumclusterwidenetworkpolicy_v2.json
167193apiVersion : cilium.io/v2
Original file line number Diff line number Diff line change @@ -162,6 +162,32 @@ spec:
162162 - kind : Secret
163163 name : bitshift-systems-tls
164164
165+ ---
166+ # yaml-language-server: $schema=https://k8s-schemas.home-operations.com/cilium.io/ciliumclusterwidenetworkpolicy_v2.json
167+ apiVersion : cilium.io/v2
168+ kind : CiliumNetworkPolicy
169+ metadata :
170+ name : np-e-a-envoy-gw-eu
171+ spec :
172+ endpointSelector :
173+ matchLabels :
174+ app.kubernetes.io/managed-by : envoy-gateway
175+ gateway.networking.k8s.io/gateway-name : external-eu
176+ egress :
177+ - toEndpoints :
178+ - matchLabels :
179+ ingress.netpol.bitshift.systems/external : allow
180+ matchExpressions :
181+ - key : k8s:io.kubernetes.pod.namespace
182+ operator : Exists
183+ - toEndpoints :
184+ - matchLabels :
185+ control-plane : envoy-gateway
186+ toPorts :
187+ - ports :
188+ - port : ' 18000'
189+ protocol : TCP
190+
165191---
166192# yaml-language-server: $schema=https://k8s-schemas.home-operations.com/cilium.io/ciliumclusterwidenetworkpolicy_v2.json
167193apiVersion : cilium.io/v2
Original file line number Diff line number Diff line change @@ -85,12 +85,38 @@ spec:
8585 - kind : Secret
8686 name : bitshift-systems-tls
8787
88+ ---
89+ # yaml-language-server: $schema=https://k8s-schemas.home-operations.com/cilium.io/ciliumclusterwidenetworkpolicy_v2.json
90+ apiVersion : cilium.io/v2
91+ kind : CiliumNetworkPolicy
92+ metadata :
93+ name : np-e-a-envoy-internal
94+ spec :
95+ endpointSelector :
96+ matchLabels :
97+ app.kubernetes.io/managed-by : envoy-gateway
98+ gateway.networking.k8s.io/gateway-name : internal
99+ egress :
100+ - toEndpoints :
101+ - matchLabels :
102+ ingress.netpol.bitshift.systems/internal : allow
103+ matchExpressions :
104+ - key : k8s:io.kubernetes.pod.namespace
105+ operator : Exists
106+ - toEndpoints :
107+ - matchLabels :
108+ control-plane : envoy-gateway
109+ toPorts :
110+ - ports :
111+ - port : ' 18000'
112+ protocol : TCP
113+
88114---
89115# yaml-language-server: $schema=https://k8s-schemas.home-operations.com/cilium.io/ciliumnetworkpolicy_v2.json
90116apiVersion : cilium.io/v2
91117kind : CiliumNetworkPolicy
92118metadata :
93- name : envoy-internal-wg-only
119+ name : np-i-a- envoy-internal-wg-only
94120 namespace : network
95121spec :
96122 description : Allow ingress to internal only from the WireGuard subnet
You can’t perform that action at this time.
0 commit comments