File tree 2 files changed +6
-2
lines changed
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 }}
222
222
value: { { $uri } }
223
223
- name: INVENIO_CELERY_BROKER_URL
224
224
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/"
225
227
{ {- end -} }
228
+
226
229
######################### OpenSearch hostname #########################
227
230
{ {/*
228
231
This template renders the hostname of the OpenSearch instance.
Original file line number Diff line number Diff line change 23
23
[
24
24
" celery" ,
25
25
" --config=/var/celery/celeryconfig.py" ,
26
- {{ printf "--broker=%s" (include "invenio.rabbitmq.uri" .) }} ,
26
+ " --broker=$(INVENIO_CELERY_BROKER_URL) " ,
27
27
" flower" ,
28
- {{ printf "--broker_api=%s" (include "invenio.rabbitmq.apiUri" .) }} ,
28
+ " --broker_api=$(RABBITMQ_API_URI) " ,
29
29
" --basic_auth=$(FLOWER_BASIC_AUTH_CREDENTIALS)" ,
30
30
" --conf=/var/flower/flowerconfig.py"
31
31
]
44
44
secretKeyRef :
45
45
name : {{ .Values.flower.secret_name }}
46
46
key : FLOWER_BASIC_AUTH_CREDENTIALS
47
+ {{- include "invenio.config.queue" . | nindent 12 }}
47
48
{{- if .Values.flower.resources }}
48
49
resources : {{- toYaml .Values.flower.resources | nindent 12 }}
49
50
{{- end }}
You can’t perform that action at this time.
0 commit comments