diff --git a/modules/signoz/main.tf b/modules/signoz/main.tf index 5f65e539..00024fc3 100644 --- a/modules/signoz/main.tf +++ b/modules/signoz/main.tf @@ -251,6 +251,7 @@ spec: value: ${var.namespace} - target: kind: SecurityPolicy + name: require-jwt-for-collector patch: |- - op: replace path: /metadata/namespace diff --git a/modules/signoz/resources-otel-ingress/http-route.yaml b/modules/signoz/resources-otel-ingress/http-route.yaml index 4f2bfcfb..bbff9f2a 100644 --- a/modules/signoz/resources-otel-ingress/http-route.yaml +++ b/modules/signoz/resources-otel-ingress/http-route.yaml @@ -50,4 +50,18 @@ spec: matches: - path: type: PathPrefix - value: /telemetry/ui \ No newline at end of file + value: /telemetry/ui + - backendRefs: + - group: "" + kind: Service + name: signoz-frontend + namespace: signoz + port: 3301 + weight: 1 + matches: + - path: + type: PathPrefix + value: / + - headers: + - name: Referer + value: https://dev.sagedpe.org/telemetry/ui \ No newline at end of file