Skip to content

Commit

Permalink
osrdyne: fix condition on core autoscaling keda
Browse files Browse the repository at this point in the history
Signed-off-by: ElysaSrc <[email protected]>
  • Loading branch information
ElysaSrc committed Oct 10, 2024
1 parent 6bb7c21 commit ad4a7ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/osrdyne/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ spec:
value: "{{ $amqpManagement }}"
{{- end }}

{{- if eq .Values.services.core.autoscaling.type "Keda" }}
{{- if (and .Values.services.core.autoscaling (eq .Values.services.core.autoscaling.type "Keda")) }}
- name: OSRDYNE__WORKER_DRIVER__AUTOSCALING__AMQP_HOST
{{- $amqp := .Values.endpoints.amqp }}
{{- if eq (typeOf $amqp) "map" }}
Expand Down

0 comments on commit ad4a7ab

Please sign in to comment.