Skip to content

Commit

Permalink
Quotes and fix Prom config
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Kerkhove <[email protected]>
  • Loading branch information
tomkerkhove committed Sep 28, 2023
1 parent 47e3ab3 commit 99188e8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions keda/templates/manager/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ spec:
command:
- "/keda"
args:
- --leader-elect
- "--leader-elect"
- "--zap-log-level={{ .Values.logging.operator.level }}"
- "--zap-encoder={{ .Values.logging.operator.format }}"
- "--zap-time-encoding={{ .Values.logging.operator.timeEncoding }}"
Expand All @@ -87,14 +87,14 @@ spec:
- "--webhooks-service-name={{ .Values.webhooks.name }}"
- "--k8s-cluster-domain={{ .Values.clusterDomain }}"
{{- if .Values.prometheus.operator.enabled }}
- --metrics-bind-address=:{{ .Values.prometheus.operator.port }}
- --enable-prometheus-metrics=:{{ .Values.prometheus.operator.enabled }}
- "--metrics-bind-address=:{{ .Values.prometheus.operator.port }}"
- "--enable-prometheus-metrics={{ .Values.prometheus.operator.enabled }}"
{{- end }}
{{- if .Values.opentelemetry.operator.enabled }}
- "--enable-opentelemetry-metrics={{ .Values.opentelemetry.operator.enabled}}"
{{- end }}
{{- range $key, $value := .Values.extraArgs.keda }}
- --{{ $key }}={{ $value }}
- "--{{ $key }}={{ $value }}"
{{- end }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
livenessProbe:
Expand Down

0 comments on commit 99188e8

Please sign in to comment.