Skip to content

Commit e9ac28c

Browse files
committed
RELEASE/MAJOR: kubernetes-ingress: Tag release 1.33.0
Changes in kubernetes-ingress: - Use Ingress Controller 1.10.7 version for base image - Enable new Prometheus endpoint on tcp/6060 by default
1 parent bea1c55 commit e9ac28c

File tree

5 files changed

+23
-3
lines changed

5 files changed

+23
-3
lines changed

kubernetes-ingress/Chart.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ apiVersion: v2
1616
name: kubernetes-ingress
1717
description: A Helm chart for HAProxy Kubernetes Ingress Controller
1818
type: application
19-
version: 1.32.4
20-
appVersion: 1.10.6
19+
version: 1.33.0
20+
appVersion: 1.10.7
2121
kubeVersion: ">=1.22.0-0"
2222
keywords:
2323
- ingress
@@ -32,4 +32,5 @@ maintainers:
3232
engine: gotpl
3333
annotations:
3434
artifacthub.io/changes: |
35-
- Use Ingress Controller 1.10.6 version for base image
35+
- Use Ingress Controller 1.10.7 version for base image
36+
- Enable new Prometheus endpoint on tcp/6060 by default

kubernetes-ingress/templates/controller-daemonset.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ spec:
112112
{{- if .Values.controller.logging.level }}
113113
- --log={{ .Values.controller.logging.level }}
114114
{{- end }}
115+
{{- if .Values.controller.service.enablePorts.prometheus }}
116+
- --prometheus
117+
{{- end }}
115118
{{- range .Values.controller.extraArgs }}
116119
- {{ . }}
117120
{{- end }}

kubernetes-ingress/templates/controller-deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ spec:
113113
{{- if .Values.controller.logging.level }}
114114
- --log={{ .Values.controller.logging.level }}
115115
{{- end }}
116+
{{- if .Values.controller.service.enablePorts.prometheus }}
117+
- --prometheus
118+
{{- end }}
116119
{{- range .Values.controller.extraArgs }}
117120
- {{ . }}
118121
{{- end }}

kubernetes-ingress/templates/controller-service.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,15 @@ spec:
7676
nodePort: {{ .Values.controller.service.nodePorts.stat }}
7777
{{- end }}
7878
{{- end }}
79+
{{- if .Values.controller.service.enablePorts.prometheus }}
80+
- name: prometheus
81+
port: {{ .Values.controller.service.ports.prometheus }}
82+
protocol: TCP
83+
targetPort: {{ .Values.controller.service.targetPorts.prometheus }}
84+
{{- if .Values.controller.service.nodePorts.prometheus }}
85+
nodePort: {{ .Values.controller.service.nodePorts.prometheus }}
86+
{{- end }}
87+
{{- end }}
7988
{{- range .Values.controller.service.tcpPorts }}
8089
- name: {{ .name }}-tcp
8190
port: {{ .port }}

kubernetes-ingress/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,13 +375,15 @@ controller:
375375
# http: 31080
376376
# https: 31443
377377
# stat: 31024
378+
# prometheus: 36060
378379

379380
## Service ports to use for http, https and stat
380381
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
381382
ports:
382383
http: 80
383384
https: 443
384385
stat: 1024
386+
prometheus: 6060
385387

386388
## The controller service ports for http, https and stat can be disabled by
387389
## setting below to false - this could be useful when only deploying haproxy
@@ -391,13 +393,15 @@ controller:
391393
http: true
392394
https: true
393395
stat: true
396+
prometheus: true
394397

395398
## Target port mappings for http, https and stat
396399
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
397400
targetPorts:
398401
http: http
399402
https: https
400403
stat: stat
404+
prometheus: prometheus
401405

402406
## Additional tcp ports to expose
403407
## This is especially useful for TCP services:

0 commit comments

Comments
 (0)