title: how to pass conditional argument as command in kubernetes with helm charts
body: <p>I have to run a command when my pod start in <code>kubernetes</code> which takes some argument but those argument are conditional. How to set those values. My configuration looks like</p>
  <pre><code>#file: values.yaml
  arguments:
    debug: false
    values: 16 # this is not necessarily set
  </code></pre>
  <pre><code>#deployment command section looks like
  command: [ &quot;/bin/bash&quot;, &quot;-ce&quot;, &quot;./my_app.sh&quot; ]
  args:
      - {{ -f .Values.arguments.debug }}
      - {{ -v .Values.arguments.values}}
  </code></pre>
  <p>But it seems to not accepting argument. Is this incorrect way. How can I pass multiple argument?</p>