diff --git a/charts/sn-platform-slim/templates/detector/pulsar-detector-deployment.yaml b/charts/sn-platform-slim/templates/detector/pulsar-detector-deployment.yaml index 3bc674396..e0e859ff4 100644 --- a/charts/sn-platform-slim/templates/detector/pulsar-detector-deployment.yaml +++ b/charts/sn-platform-slim/templates/detector/pulsar-detector-deployment.yaml @@ -124,7 +124,9 @@ spec: name: {{ .Release.Name }}-token-admin key: TOKEN {{- end }} + {{- if .Values.pulsar_detector.extraEnv }} {{- toYaml .Values.pulsar_detector.extraEnv | nindent 10 }} + {{- end }} {{- if .Values.pulsar_detector.extraVolumeMounts }} volumeMounts: {{- toYaml .Values.pulsar_detector.extraVolumeMounts | nindent 10 }} diff --git a/charts/sn-platform/templates/detector/pulsar-detector-deployment.yaml b/charts/sn-platform/templates/detector/pulsar-detector-deployment.yaml index 45c8707d3..e153c3db5 100644 --- a/charts/sn-platform/templates/detector/pulsar-detector-deployment.yaml +++ b/charts/sn-platform/templates/detector/pulsar-detector-deployment.yaml @@ -131,7 +131,9 @@ spec: name: {{ .Release.Name }}-token-admin key: TOKEN {{- end }} + {{- if .Values.pulsar_detector.extraEnv }} {{- toYaml .Values.pulsar_detector.extraEnv | nindent 10 }} + {{- end }} {{- if .Values.pulsar_detector.extraVolumeMounts }} volumeMounts: {{- toYaml .Values.pulsar_detector.extraVolumeMounts | nindent 10 }}