Chart: Set --enable-metrics depending on controller.metrics.enabled. (#10959)

This commit is contained in:
Marco Ebert 2024-02-02 07:55:15 +01:00 committed by GitHub
parent 48b9831122
commit 3e740fe8e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 50 additions and 0 deletions

View file

@ -54,6 +54,9 @@
{{- if .Values.controller.watchIngressWithoutClass }}
- --watch-ingress-without-class=true
{{- end }}
{{- if not .Values.controller.metrics.enabled }}
- --enable-metrics={{ .Values.controller.metrics.enabled }}
{{- end }}
{{- if .Values.controller.enableTopologyAwareRouting }}
- --enable-topology-aware-routing=true
{{- end }}