fix: fix tracing configmap template to handle initial installation (#1191)

This commit is contained in:
Se7en
2024-08-09 08:29:51 +08:00
committed by GitHub
parent fec2e9dfc9
commit 564f8c770a
2 changed files with 6 additions and 3 deletions

View File

@@ -97,7 +97,7 @@ higress: {{ include "controller.name" . }}
{{- end }}
{{- define "skywalking.enabled" -}}
{{- if and .Values.tracing.enable (hasKey .Values.tracing "skywalking") .Values.tracing.skywalking.service }}
{{- if and (hasKey .Values "tracing") .Values.tracing.enable (hasKey .Values.tracing "skywalking") .Values.tracing.skywalking.service }}
true
{{- end }}
{{- end }}