Skip to content

Commit

Permalink
fix(keda): Remove unnecesary condition for setting prometheus port in…
Browse files Browse the repository at this point in the history
… webhooks (#496)
  • Loading branch information
JorTurFer authored Jul 10, 2023
1 parent 8b956d0 commit 9315329
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions keda/templates/webhooks/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@ spec:
{{- if .Values.webhooks.port }}
- "--port={{ .Values.webhooks.port }}"
{{- end }}
{{- if .Values.prometheus.webhooks.enabled }}
- --metrics-bind-address=:{{ .Values.prometheus.webhooks.port }}
{{- end }}
{{- range $key, $value := .Values.extraArgs.webhooks }}
- --{{ $key }}={{ $value }}
{{- end }}
Expand Down

0 comments on commit 9315329

Please sign in to comment.