I have a values.yaml that has the following:
abc:
env:
- name: name01
value: value01
- name: name02
value: value02
and I have another values file values-dev.yaml that I add when installing using -f and it has:
abc:
env:
- name: name03
value: value03
and using range I list them in my template. My hope was that the list would become like this after both files are applied:
abc:
env:
- name: name01
value: value01
- name: name02
value: value02
- name: name03
value: value03
but the values-dev.yaml values will override the one in the values.yaml and it becomes:
abc:
env:
- name: name03
value: value03
How can I achieve merging these 2 lists with the same field names from different values files?