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 1515 - name : external-eu-v6
1616 namespace : network
1717 sectionName : http
18+ - name : internal
19+ namespace : network
20+ sectionName : http
1821 rules :
1922 - filters :
2023 - type : RequestRedirect
Original file line number Diff line number Diff line change 1+ ---
2+ # yaml-language-server: $schema=https://k8s-schemas.home-operations.com/gateway.envoyproxy.io/envoyproxy_v1alpha1.json
3+ apiVersion : gateway.envoyproxy.io/v1alpha1
4+ kind : EnvoyProxy
5+ metadata :
6+ name : envoy-internal
7+ namespace : network
8+ spec :
9+ logging :
10+ level :
11+ default : info
12+ ipFamily : DualStack
13+ provider :
14+ type : Kubernetes
15+ kubernetes :
16+ envoyDeployment :
17+ replicas : 1
18+ pod :
19+ nodeSelector :
20+ kubernetes.io/hostname : n1
21+ container :
22+ image : mirror.gcr.io/envoyproxy/envoy:v1.40.2
23+ resources :
24+ requests :
25+ cpu : 50m
26+ memory : 128Mi
27+ limits :
28+ memory : 512Mi
29+ envoyService :
30+ type : LoadBalancer
31+ allocateLoadBalancerNodePorts : false
32+ externalTrafficPolicy : Cluster
33+ shutdown :
34+ drainTimeout : 180s
35+ telemetry :
36+ metrics :
37+ prometheus :
38+ compression :
39+ type : Zstd
40+
41+ ---
42+ # yaml-language-server: $schema=https://k8s-schemas.home-operations.com/gateway.networking.k8s.io/gatewayclass_v1.json
43+ apiVersion : gateway.networking.k8s.io/v1
44+ kind : GatewayClass
45+ metadata :
46+ name : &name internal
47+ spec :
48+ controllerName : gateway.envoyproxy.io/gatewayclass-controller
49+ parametersRef :
50+ group : gateway.envoyproxy.io
51+ kind : EnvoyProxy
52+ name : *name
53+ namespace : network
54+
55+ ---
56+ # yaml-language-server: $schema=https://k8s-schemas.home-operations.com/gateway.networking.k8s.io/gateway_v1.json
57+ apiVersion : gateway.networking.k8s.io/v1
58+ kind : Gateway
59+ metadata :
60+ name : &name internal
61+ namespace : network
62+ spec :
63+ gatewayClassName : *name
64+ addresses :
65+ - type : IPAddress
66+ value : 10.42.43.1
67+ listeners :
68+ - name : http
69+ protocol : HTTP
70+ port : 80
71+ allowedRoutes :
72+ namespaces :
73+ from : Same
74+ - name : https
75+ protocol : HTTPS
76+ port : 443
77+ hostname : " *.bitshift.systems"
78+ allowedRoutes :
79+ namespaces :
80+ from : All
81+ tls :
82+ certificateRefs :
83+ - kind : Secret
84+ name : bitshift-systems-tls
85+
86+ ---
87+ # yaml-language-server: $schema=https://k8s-schemas.home-operations.com/cilium.io/ciliumnetworkpolicy_v2.json
88+ apiVersion : cilium.io/v2
89+ kind : CiliumNetworkPolicy
90+ metadata :
91+ name : envoy-internal-wg-only
92+ namespace : network
93+ spec :
94+ description : Allow ingress to internal only from the WireGuard subnet
95+ endpointSelector :
96+ matchLabels :
97+ gateway.envoyproxy.io/owning-gateway-name : internal
98+ ingress :
99+ - fromEntities :
100+ - cluster
101+ - health
102+ - fromCIDR :
103+ - 10.42.43.0/24
You can’t perform that action at this time.
0 commit comments