Support ipFamilyPolicy and ipFamilies fields in Helm Chart (#7651)
* Add support to ipFamilyPolicy and ipFamilies fields in Helm chart As stated in the prerequisites' session of https://kubernetes.io/docs/concepts/services-networking/dual-stack/, in order to use Kubernetes IPv4/IPv6 dual stack, v1.20 is needed. This commit aims in supporting these dual-stack-ness in ingress-nginx's chart. Signed-off-by: jaehnri <joao.henri.cr@gmail.com> * Standardize documentation with two '#'s Signed-off-by: jaehnri <joao.henri.cr@gmail.com> * Bump Helm chart version to 4.1.0 Signed-off-by: jaehnri <joao.henri.cr@gmail.com> * Update Helm Chart changelog with 4.1.0 description Signed-off-by: jaehnri <joao.henri.cr@gmail.com> * Revert Helm Chart bump and remove CHANGELOG As there will be more things in the release, in the review of this PR, it was asked to revert the bumps: https://github.com/kubernetes/ingress-nginx/pull/7651#pullrequestreview-757311449 Signed-off-by: jaehnri <joao.henri.cr@gmail.com>
This commit is contained in:
parent
9da4d87d0c
commit
001ce778b7
2 changed files with 28 additions and 7 deletions
|
|
@ -36,6 +36,16 @@ spec:
|
|||
{{- end }}
|
||||
{{- if .Values.controller.service.healthCheckNodePort }}
|
||||
healthCheckNodePort: {{ .Values.controller.service.healthCheckNodePort }}
|
||||
{{- end }}
|
||||
{{- if semverCompare ">=1.20.0-0" .Capabilities.KubeVersion.Version -}}
|
||||
{{- if .Values.controller.service.ipFamilyPolicy }}
|
||||
ipFamilyPolicy: {{ .Values.controller.service.ipFamilyPolicy }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if semverCompare ">=1.20.0-0" .Capabilities.KubeVersion.Version -}}
|
||||
{{- if .Values.controller.service.ipFamilies }}
|
||||
ipFamilies: {{ toYaml .Values.controller.service.ipFamilies | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
ports:
|
||||
{{- $setNodePorts := (or (eq .Values.controller.service.type "NodePort") (eq .Values.controller.service.type "LoadBalancer")) }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue