Skip to content

Commit

Permalink
RELEASE/MINOR: kubernetes-ingress: Tag release 1.38.4
Browse files Browse the repository at this point in the history
Changes in kubernetes-ingress:
- Add metrics service-specific metadata (#229)
- Enable QUIC only for K8s 1.24 (#230) due to MixedProtocolLBService feature gate

Signed-off-by: Dinko Korunic <dkorunic@haproxy.com>
  • Loading branch information
dkorunic committed Mar 20, 2024
1 parent 31776df commit cad184c
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 3 deletions.
5 changes: 3 additions & 2 deletions kubernetes-ingress/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ apiVersion: v2
name: kubernetes-ingress
description: A Helm chart for HAProxy Kubernetes Ingress Controller
type: application
version: 1.38.3
version: 1.38.4
appVersion: 1.11.1
kubeVersion: ">=1.22.0-0"
keywords:
Expand All @@ -32,4 +32,5 @@ maintainers:
engine: gotpl
annotations:
artifacthub.io/changes: |
- Use Ingress Controller 1.11.1 version for base image
- Add metrics service-specific metadata (#229)
- Enable QUIC only for K8s 1.24 (#230) due to MixedProtocolLBService feature gate
4 changes: 4 additions & 0 deletions kubernetes-ingress/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ Service ports mapped are:
containerPort: {{ $value }}
protocol: TCP
{{- end }}
{{- if semverCompare ">=1.24.0-0" .Capabilities.KubeVersion.Version }}
- name: quic
containerPort: {{ .Values.controller.containerPort.https }}
protocol: UDP
{{- end }}
{{- range .Values.controller.service.tcpPorts }}
- name: {{ .name }}-tcp
containerPort: {{ .targetPort }}
Expand All @@ -47,6 +49,7 @@ Service ports mapped are:
hostIP: {{ $hostIP }}
{{- end }}
{{- end }}
{{- if semverCompare ">=1.24.0-0" .Capabilities.KubeVersion.Version }}
- name: quic
containerPort: {{ .Values.controller.containerPort.https }}
protocol: UDP
Expand All @@ -56,6 +59,7 @@ Service ports mapped are:
{{- if $hostIP }}
hostIP: {{ $hostIP }}
{{- end }}
{{- end }}
{{- range .Values.controller.service.tcpPorts }}
- name: {{ .name }}-tcp
containerPort: {{ .port }}
Expand Down
4 changes: 4 additions & 0 deletions kubernetes-ingress/templates/controller-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,10 @@ spec:
- --configmap={{ include "kubernetes-ingress.namespace" . }}/{{ include "kubernetes-ingress.fullname" . }}
- --http-bind-port={{ .Values.controller.containerPort.http }}
- --https-bind-port={{ .Values.controller.containerPort.https }}
{{- if semverCompare ">=1.24.0-0" .Capabilities.KubeVersion.Version }}
- --quic-bind-port={{ .Values.controller.containerPort.https }}
- --quic-announce-port={{ .Values.controller.service.ports.https }}
{{- end }}
{{- if .Values.controller.ingressClass }}
- --ingress.class={{ .Values.controller.ingressClass }}
{{- end }}
Expand Down Expand Up @@ -149,6 +151,7 @@ spec:
hostIP: {{ $hostIP }}
{{- end }}
{{- end }}
{{- if semverCompare ">=1.24.0-0" .Capabilities.KubeVersion.Version }}
- name: quic
containerPort: {{ .Values.controller.containerPort.https }}
protocol: UDP
Expand All @@ -158,6 +161,7 @@ spec:
{{- if $hostIP }}
hostIP: {{ $hostIP }}
{{- end }}
{{- end }}
{{- range .Values.controller.service.tcpPorts }}
- name: {{ .name }}-tcp
containerPort: {{ .port }}
Expand Down
4 changes: 4 additions & 0 deletions kubernetes-ingress/templates/controller-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,10 @@ spec:
- --configmap={{ include "kubernetes-ingress.namespace" . }}/{{ include "kubernetes-ingress.fullname" . }}
- --http-bind-port={{ .Values.controller.containerPort.http }}
- --https-bind-port={{ .Values.controller.containerPort.https }}
{{- if semverCompare ">=1.24.0-0" .Capabilities.KubeVersion.Version }}
- --quic-bind-port={{ .Values.controller.containerPort.https }}
- --quic-announce-port={{ .Values.controller.service.ports.https }}
{{- end }}
{{- if .Values.controller.ingressClass }}
- --ingress.class={{ .Values.controller.ingressClass }}
{{- end }}
Expand Down Expand Up @@ -143,9 +145,11 @@ spec:
containerPort: {{ $value }}
protocol: TCP
{{- end }}
{{- if semverCompare ">=1.24.0-0" .Capabilities.KubeVersion.Version }}
- name: quic
containerPort: {{ .Values.controller.containerPort.https }}
protocol: UDP
{{- end }}
{{- range .Values.controller.service.tcpPorts }}
- name: {{ .name }}-tcp
containerPort: {{ .targetPort }}
Expand Down
2 changes: 1 addition & 1 deletion kubernetes-ingress/templates/controller-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ spec:
nodePort: {{ .Values.controller.service.nodePorts.https }}
{{- end }}
{{- end }}
{{- if .Values.controller.service.enablePorts.quic }}
{{- if and (semverCompare ">=1.24.0-0" .Capabilities.KubeVersion.Version) .Values.controller.service.enablePorts.quic }}
- name: quic
port: {{ .Values.controller.service.ports.https }}
protocol: UDP
Expand Down

0 comments on commit cad184c

Please sign in to comment.