File tree Expand file tree Collapse file tree 5 files changed +23
-3
lines changed Expand file tree Collapse file tree 5 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ apiVersion: v2
1616name : kubernetes-ingress
1717description : A Helm chart for HAProxy Kubernetes Ingress Controller
1818type : application
19- version : 1.32.4
20- appVersion : 1.10.6
19+ version : 1.33.0
20+ appVersion : 1.10.7
2121kubeVersion : " >=1.22.0-0"
2222keywords :
2323 - ingress
@@ -32,4 +32,5 @@ maintainers:
3232engine : gotpl
3333annotations :
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
Original file line number Diff line number Diff 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 }}
Original file line number Diff line number Diff 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 }}
Original file line number Diff line number Diff line change 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 }}
Original file line number Diff line number Diff 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:
You can’t perform that action at this time.
0 commit comments