From d7c952fe2e95ec80c7a67bdc0a4ffe3981809da4 Mon Sep 17 00:00:00 2001 From: zhenyus Date: Wed, 16 Apr 2025 07:25:09 +0800 Subject: [PATCH] fix: add missing annotations for OpenTelemetry configuration in deployment Signed-off-by: zhenyus --- .../authentication/templates/authentication/deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/freeleaps/helm-pkg/authentication/templates/authentication/deployment.yaml b/freeleaps/helm-pkg/authentication/templates/authentication/deployment.yaml index e559ee64..bd7201ca 100644 --- a/freeleaps/helm-pkg/authentication/templates/authentication/deployment.yaml +++ b/freeleaps/helm-pkg/authentication/templates/authentication/deployment.yaml @@ -6,6 +6,10 @@ metadata: app.kubernetes.io/name: "authentication" app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/instance: {{ .Release.Name }} +{{- if .Values.logIngest.enabled }} + annotations: + opentelemetry.io/config-checksum: {{ include (print $.Template.BasePath "/authentication/opentelemetry.yaml") . | sha256sum }} +{{- end }} name: "authentication" namespace: {{ .Release.Namespace | quote }} spec: