Skip to content

Commit ade15ba

Browse files
authored
toil(self_hosted_hub): add missing RABBITMQ_URL env in cleaner (#667)
## 📝 Description cleaner requires rabbitmq, and do not start without this env. ## ✅ Checklist - [ ] I have tested this change - [x] ~This change requires documentation update~
1 parent 3697dbb commit ade15ba

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

self_hosted_hub/helm/templates/cleaner-worker.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ spec:
3434
path: features.yml
3535
initContainers:
3636
{{ include "initContainers.waitForPostgres" . | indent 8 }}
37+
{{ include "initContainers.waitForRabbitMQ" . | indent 8 }}
3738
containers:
3839
- name: {{ $baseName }}-agent-cleaner
3940
image: "{{ .Values.global.image.registry }}/{{ .Values.image }}:{{ .Values.imageTag }}"
@@ -54,6 +55,11 @@ spec:
5455
- ALL
5556
env:
5657
{{- include "env.db.go" . | indent 12 }}
58+
- name: RABBITMQ_URL
59+
valueFrom:
60+
secretKeyRef:
61+
name: {{ .Values.global.rabbitmq.secretName }}
62+
key: amqp-url
5763
- name: FEATURE_YAML_PATH
5864
value: "/home/front/app/features.yml"
5965
- name: START_AGENT_CLEANER

0 commit comments

Comments
 (0)