I have the following values.yaml:
vrIds:
- 51
- 52
51.vip: 169.254.1.1
52.vip: 169.254.1.2
I have the following template:
{{ range $index, $element := .Values.vrIds }}
vrrp.{{$element}}.vip: <<How do I get the value of $element.vip>>
{{ end }}
How do I get the value of $element.vip for each vrid?
vrIds: - 51 - 52 51.vip: 169.254.1.1 52.vip: 169.254.1.2 51.master: node-1 52.master: node-2
– Susann