From 61509dabf2fe863945d97729c561628f6576ccb4 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Mon, 22 Sep 2025 17:33:22 +0800 Subject: [PATCH] roll back --- .../templates/authentication/opentelemetry.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml b/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml index db041d6a..38cf1ac3 100644 --- a/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml +++ b/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml @@ -79,9 +79,7 @@ spec: - context: log statements: - set(resource.attributes["service_name"], "authentication") - - set(resource.attributes["environment"], "alpha") - - set(resource.attributes["environment"], - if(resource.attributes["k8s.namespace.name"] == "freeleaps-prod", "prod", resource.attributes["environment"])) + - set(resource.attributes["environment"], resource.attributes["k8s.namespace.name"]) - 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"])