Skip to content

Commit

Permalink
chore: simplify ScaledObject secret passing
Browse files Browse the repository at this point in the history
  • Loading branch information
tadeusz-delphai authored and anton-delphai committed Dec 22, 2023
1 parent 1188d3f commit c154655
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
16 changes: 0 additions & 16 deletions charts/delphai-deployment/templates/pre-install-hook.yaml

This file was deleted.

3 changes: 1 addition & 2 deletions charts/delphai-deployment/templates/scaled-object.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ spec:
queueName: {{ $queueName | quote }}
mode: QueueLength
value: {{ $.Values.rabbitmq.scaleOnQueueLength | quote}}
authenticationRef:
name: "rabbitmq-connection-string-{{ $.Release.Name }}"
hostFromEnv: "RABBITMQ_CONNECTION_STRING"

{{ end }} {{/* if index $.Values.buildMetadata.labels "com.delphai.image.release" */}}
{{ end }} {{/* if $.Values.rabbitmq.enabled */}}

0 comments on commit c154655

Please sign in to comment.