File tree Expand file tree Collapse file tree 6 files changed +55
-3
lines changed
Expand file tree Collapse file tree 6 files changed +55
-3
lines changed Original file line number Diff line number Diff line change @@ -3,4 +3,10 @@ kind: EnvoyProxy
33metadata :
44 name : custom-proxy-config
55spec :
6- mergeGateways : false
6+ mergeGateways : false
7+ provider :
8+ type : Kubernetes
9+ kubernetes :
10+ envoyService :
11+ annotations :
12+ service.beta.kubernetes.io/aws-load-balancer-proxy-protocol : " *"
Original file line number Diff line number Diff line change 88 kind : Gateway
99 name : eg
1010 tls :
11- minVersion : " 1.3"
11+ minVersion : " 1.3"
12+ enableProxyProtocol : true
Original file line number Diff line number Diff line change @@ -251,6 +251,7 @@ spec:
251251 value: ${ var . namespace }
252252 - target:
253253 kind: SecurityPolicy
254+ name: require-jwt-for-collector
254255 patch: |-
255256 - op: replace
256257 path: /metadata/namespace
Original file line number Diff line number Diff line change 2424 - path :
2525 type : PathPrefix
2626 value : /telemetry/v1
27+ ---
28+ apiVersion : gateway.networking.k8s.io/v1
29+ kind : HTTPRoute
30+ metadata :
31+ name : signoz-ui-route
32+ namespace : envoy-gateway
33+ spec :
34+ parentRefs :
35+ - name : eg
36+ rules :
37+ - backendRefs :
38+ - group : " "
39+ kind : Service
40+ name : signoz-frontend
41+ namespace : signoz
42+ port : 3301
43+ weight : 1
44+ matches :
45+ - path :
46+ type : PathPrefix
47+ value : /
Original file line number Diff line number Diff line change 1212 - group : " "
1313 kind : Service
1414 name : signoz-otel-collector
15+ - group : " "
16+ kind : Service
17+ name : signoz-frontend
18+
Original file line number Diff line number Diff line change 11apiVersion : gateway.envoyproxy.io/v1alpha1
22kind : SecurityPolicy
33metadata :
4- name : require-audience -for-authorization
4+ name : require-jwt -for-collector
55 namespace : envoy-gateway
66spec :
77 targetRef :
1111 jwt :
1212 providers : <replaced-by-kustomize>
1313 authorization : <replaced-by-kustomize>
14+ ---
15+ apiVersion : gateway.envoyproxy.io/v1alpha1
16+ kind : SecurityPolicy
17+ metadata :
18+ name : restrict-ui-to-sage-vpn
19+ namespace : envoy-gateway
20+ spec :
21+ targetRef :
22+ group : gateway.networking.k8s.io
23+ kind : HTTPRoute
24+ name : signoz-ui-route
25+ authorization :
26+ defaultAction : Deny
27+ rules :
28+ - action : Allow
29+ principal :
30+ clientCIDRs :
31+ # Public IP address for the Sage VPN. `/32` CIDR mask means a single IP address.
32+ - 52.44.61.21/32
You can’t perform that action at this time.
0 commit comments