helm chart logic

0

Hi, How do I remove the empty line on the dry run output?

dry run

deployment

Francis
asked 2 years ago207 views
1 Answer
0
Accepted Answer

Found the solution, add "-"

        {{- if .Values.confname1.update }}
        - name: CONF
          value: ssl://{{ .Values.CONF_NAME }}.{{ .Values.namespace }}
        {{- end }}
Francis
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions