File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -222,7 +222,10 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
222222 value: { { $uri } }
223223- name: INVENIO_CELERY_BROKER_URL
224224 value: { { $uri } }
225+ - name: RABBITMQ_API_URI
226+ value: "http://$(INVENIO_AMQP_BROKER_USER):$(INVENIO_AMQP_BROKER_PASSWORD)@$(INVENIO_AMQP_BROKER_HOST):$(INVENIO_AMQP_BROKER_PORT)/api/"
225227{ {- end -} }
228+
226229######################### OpenSearch hostname #########################
227230{ {/*
228231 This template renders the hostname of the OpenSearch instance.
Original file line number Diff line number Diff line change 2323 [
2424 " celery" ,
2525 " --config=/var/celery/celeryconfig.py" ,
26- {{ printf "--broker=%s" (include "invenio.rabbitmq.uri" .) }} ,
26+ " --broker=$(INVENIO_CELERY_BROKER_URL) " ,
2727 " flower" ,
28- {{ printf "--broker_api=%s" (include "invenio.rabbitmq.apiUri" .) }} ,
28+ " --broker_api=$(RABBITMQ_API_URI) " ,
2929 " --basic_auth=$(FLOWER_BASIC_AUTH_CREDENTIALS)" ,
3030 " --conf=/var/flower/flowerconfig.py"
3131 ]
4444 secretKeyRef :
4545 name : {{ .Values.flower.secret_name }}
4646 key : FLOWER_BASIC_AUTH_CREDENTIALS
47+ {{- include "invenio.config.queue" . | nindent 12 }}
4748 {{- if .Values.flower.resources }}
4849 resources : {{- toYaml .Values.flower.resources | nindent 12 }}
4950 {{- end }}
You can’t perform that action at this time.
0 commit comments