fix: update OpenTelemetry sidecar injection annotation for dynamic configuration

Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
zhenyus 2025-04-16 05:53:43 +08:00
parent b2dd79744b
commit b8af384f68

View File

@ -26,7 +26,7 @@ spec:
annotations:
app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "/authentication/authentication-config.yaml") . | sha256sum }}
{{- if .Values.logIngest.enabled }}
sidecar.opentelemetry.io/inject: "true"
sidecar.opentelemetry.io/inject: "{{ .Release.Namespace}}/{{ .Release.Name }}-opentelemetry-collector"
{{- end }}
spec:
containers: