From efa0b55236804bb1e0c1ad6fe9d1405227d4db5d Mon Sep 17 00:00:00 2001 From: Nicolas Date: Mon, 22 Sep 2025 16:23:01 +0800 Subject: [PATCH] change authentication log env set --- .../authentication/templates/authentication/opentelemetry.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml b/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml index ba1bcf9b..ff07bcd7 100644 --- a/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml +++ b/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml @@ -79,7 +79,7 @@ spec: - context: log statements: - set(resource.attributes["application"], log.attributes["context"]["app"]) - - set(resource.attributes["environment"], log.attributes["context"]["env"]) + - set(resource.attributes["environment"], resource.attributes["k8s.namespace.name"]) - set(resource.attributes["kubernetes_node_name"], resource.attributes["k8s.node.name"]) - set(resource.attributes["kubernetes_pod_name"], resource.attributes["k8s.pod.name"]) - set(resource.attributes["kubernetes_pod_ip"], resource.attributes["k8s.pod.ip"])