From 1cd9f94e1d6fb3dc6ae16359d4d93f2926f03351 Mon Sep 17 00:00:00 2001 From: ericsyh Date: Wed, 18 Oct 2023 16:18:03 +0800 Subject: [PATCH] fix ci Signed-off-by: ericsyh --- .../templates/detector/pulsar-detector-deployment.yaml | 2 ++ .../templates/detector/pulsar-detector-deployment.yaml | 2 ++ 2 files changed, 4 insertions(+) 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 }}