diff --git a/charts/warpstream-agent/templates/deployment.yaml b/charts/warpstream-agent/templates/deployment.yaml index 813bc3c..06c7ef4 100644 --- a/charts/warpstream-agent/templates/deployment.yaml +++ b/charts/warpstream-agent/templates/deployment.yaml @@ -140,7 +140,7 @@ spec: {{- toYaml .Values.extraEnv | nindent 12 }} {{- end }} envFrom: - {{- if .Values.config.configMapEnabled | default true }} + {{- if ne .Values.config.configMapEnabled false }} - configMapRef: name: {{ include "warpstream-agent.fullname" . }} {{- else }} @@ -188,4 +188,4 @@ spec: {{- with .Values.volumes }} volumes: {{- toYaml . | nindent 8 }} - {{- end }} \ No newline at end of file + {{- end }}