File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
1
annotations :
2
2
artifacthub.io/changes : |
3
- - "Added a doc line to the missing helm value service.internal.loadBalancerIP (#9406)"
4
- - "feat(helm): Add loadBalancerClass (#9562)"
5
- - "added helmshowvalues example (#10019)"
6
- - "Update Ingress-Nginx version controller-v1.8.1"
3
+ - "Optional uppercase falue of appProtocol for controller service"
4
+ - "Making appProtocol available also on GKE k8s"
7
5
artifacthub.io/prerelease : " false"
8
6
apiVersion : v2
9
7
appVersion : 1.8.1
@@ -23,4 +21,4 @@ maintainers:
23
21
name : ingress-nginx
24
22
sources :
25
23
- https://github.com/kubernetes/ingress-nginx
26
- version : 4.7.1
24
+ version : 4.7.2
Original file line number Diff line number Diff line change 57
57
port : {{ .Values.controller.service.ports.http }}
58
58
protocol : TCP
59
59
targetPort : {{ .Values.controller.service.targetPorts.http }}
60
- {{- if and (semverCompare ">=1.20" .Capabilities.KubeVersion.Version) (.Values.controller.service.appProtocol) }}
61
- appProtocol : http
60
+ {{- if and (semverCompare ">=1.20.0-0 " .Capabilities.KubeVersion.Version) (.Values.controller.service.appProtocol) }}
61
+ appProtocol : {{- if .Values.controller.service.appProtocolInUpperCase }} HTTP {{- else }} http {{ end }}
62
62
{{- end }}
63
63
{{- if (and $setNodePorts (not (empty .Values.controller.service.nodePorts.http))) }}
64
64
nodePort : {{ .Values.controller.service.nodePorts.http }}
69
69
port : {{ .Values.controller.service.ports.https }}
70
70
protocol : TCP
71
71
targetPort : {{ .Values.controller.service.targetPorts.https }}
72
- {{- if and (semverCompare ">=1.20" .Capabilities.KubeVersion.Version) (.Values.controller.service.appProtocol) }}
73
- appProtocol : https
72
+ {{- if and (semverCompare ">=1.20.0-0 " .Capabilities.KubeVersion.Version) (.Values.controller.service.appProtocol) }}
73
+ appProtocol : {{- if .Values.controller.service.appProtocolInUpperCase }} HTTPS {{- else }} https {{ end }}
74
74
{{- end }}
75
75
{{- if (and $setNodePorts (not (empty .Values.controller.service.nodePorts.https))) }}
76
76
nodePort : {{ .Values.controller.service.nodePorts.https }}
Original file line number Diff line number Diff line change @@ -413,8 +413,10 @@ controller:
413
413
# It allows choosing the protocol for each backend specified in the Kubernetes service.
414
414
# See the following GitHub issue for more details about the purpose: https://github.com/kubernetes/kubernetes/issues/40244
415
415
# Will be ignored for Kubernetes versions older than 1.20
416
+ # For GatewayAPI in GKE uppercase values are expected, otherwise LB healthchecks will be allways http.
416
417
# #
417
418
appProtocol : true
419
+ appProtocolInUpperCase : false
418
420
annotations : {}
419
421
labels : {}
420
422
# clusterIP: ""
You can’t perform that action at this time.
0 commit comments