Skip to content

Commit

Permalink
allow setting custom env vars for scaler (#69)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Wozniak <[email protected]>
  • Loading branch information
wozniakjan authored Nov 28, 2024
1 parent 5d1c8df commit 8ae3bab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions http-add-on/templates/scaler/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ spec:
value: "{{ default 9091 .Values.interceptor.admin.port }}"
- name: KEDA_HTTP_SCALER_STREAM_INTERVAL_MS
value: "{{ .Values.scaler.streamInterval }}"
{{- range .Values.scaler.additionalEnvVars }}
- name: "{{ .name }}"
value: "{{ .value }}"
{{- end }}
resources:
{{- toYaml .Values.scaler.resources | nindent 10 }}
livenessProbe:
Expand Down

0 comments on commit 8ae3bab

Please sign in to comment.