I have my values.yaml as below
account:
- name: abc
value: value1
- name: xyz
value: value2
i want to refer them in my helm template. instead of referring them as
accounts:
- name: acount1
value: "{{ .Values.account.abc }}"
- name: account2
value: "{{ .Values.account.xyz }}"
is there a way i can refer entire block in my template as
accounts:
{{ .Values.account }}
and it will iterate through all the values passed in the values.yaml file ?