Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
healthCheckNodePort: {{ $.Values.service.healthCheckNodePort }}
{{- end }}
{{- if $.Values.service.ipFamily }}
ipFamily: {{ $.Values.service.ipFamily }}
ipFamilyPolicy: {{ $.Values.service.ipFamily }}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it make sense to also rename the field in the values.yaml file?
The following would also remain downward compatibility:

Suggested change
ipFamilyPolicy: {{ $.Values.service.ipFamily }}
ipFamilyPolicy: {{ or $.Values.service.ipFamilyPolicy $.Values.service.ipFamily }}

{{- end }}
{{- if $.Values.service.loadBalancerIP }}
loadBalancerIP: {{ $.Values.service.loadBalancerIP }}
Expand Down