Skip to content

Commit 0b2ecbe

Browse files
committed
[Ingress] Prepare to switch to Ingress Controller 1.12
The Ingress Controller 1.12.0 has the following differences in default parameters compared to the 1.11.x version: * enable-metrics is false (was true) * annotations-risk-level is High (was Critical) This patch update chart parameters to preserve the behavior of Ingress Controller after upgrading to a new version Related-Prod: PRODX-49877 Change-Id: I56a1ce5aed7511797a10ebc943a8786291842570
1 parent 4ba07b6 commit 0b2ecbe

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

charts/infra/ingress/templates/bin/_ingress-controller.sh.tpl

+3
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ function start () {
3939
{{- if eq .Values.deployment.mode "namespace" }}
4040
--watch-namespace ${POD_NAMESPACE} \
4141
{{- end }}
42+
{{- if .Values.manifests.monitoring.prometheus.service_exporter }}
43+
--enable-metrics=true \
44+
{{- end }}
4245
--http-port=${PORT_HTTP} \
4346
--https-port=${PORT_HTTPS} \
4447
--healthz-port=${PORT_HEALTHZ} \

charts/infra/ingress/values.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,7 @@ conf:
362362
# ssl-redirect: "false"
363363
# bind-address: "127.0.0.1"
364364
# use-proxy-protocol: "true"
365+
annotations-risk-level: "Critical"
365366
services:
366367
tcp: null
367368
udp: null

0 commit comments

Comments
 (0)