From a0f2eab19883bee5e80343409764d0a79c6adeb4 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Thu, 2 May 2024 12:47:26 +0200 Subject: Start setting up rabbitmq connection --- k8s/rest-api/templates/deployment.yaml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'k8s') diff --git a/k8s/rest-api/templates/deployment.yaml b/k8s/rest-api/templates/deployment.yaml index 6e58bc5..4db09db 100644 --- a/k8s/rest-api/templates/deployment.yaml +++ b/k8s/rest-api/templates/deployment.yaml @@ -47,6 +47,12 @@ spec: port: http resources: {{- toYaml .Values.resources | nindent 12 }} + env: + - name: RABBITMQ_PASSWORD + valueFrom: + secretKeyRef: + name: rabbitmq + key: rabbitmq-password {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} -- cgit 1.4.1