I have a helm chart which has a CRD yaml as follows
.......
.......
arguments:
parameters:
- name: {{ .Values.workflow_template_command_name }}
value: "echo '{{ .Values.notebook_details }}'| jq .run_id > /tmp/info.txt"
.......
.......
The string variable notebook_details in values.yaml has a placeholder which I would like to replace with another variable defined in values.yaml.
something like this?
value: "echo '{{ .Values.notebook_details |replace 'PLACEHOLDER' .Values.text }}'| jq .run_id > /tmp/info.txt"
Is it possible? if so, whats the right syntax?