From fe2b7200de55f8df5938e450a6b9a1c401544b01 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Mon, 22 Sep 2025 20:45:02 +0800 Subject: [PATCH] simplify: remove where clause from transform processor - Remove complex where clause that may cause syntax errors - Set environment to alpha by default for all logs - This should fix the transform processor execution issue --- .../authentication/templates/authentication/opentelemetry.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml b/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml index 01d901a7..53489b58 100644 --- a/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml +++ b/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml @@ -80,7 +80,6 @@ spec: - set(resource.attributes["service.name"], "authentication") - set(resource.attributes["service_name"], "authentication") - set(resource.attributes["environment"], "alpha") - - set(resource.attributes["environment"], "prod") where resource.attributes["k8s.namespace.name"] == "freeleaps-prod" - set(resource.attributes["pod_ip"], resource.attributes["k8s.pod.ip"]) - set(resource.attributes["pod_name"], resource.attributes["k8s.pod.name"]) - set(resource.attributes["kubernetes_node_name"], resource.attributes["k8s.node.name"])