about summary refs log tree commit diff
path: root/k8s/rest-api
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-05-02 12:47:26 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-05-02 15:39:09 +0200
commita0f2eab19883bee5e80343409764d0a79c6adeb4 (patch)
treeb73dcac49afe016a38819c9acb24663c3789f207 /k8s/rest-api
parentrest-api: Create specific payload endpoint (diff)
downloadfs-tracer-backend-a0f2eab19883bee5e80343409764d0a79c6adeb4.tar.gz
fs-tracer-backend-a0f2eab19883bee5e80343409764d0a79c6adeb4.tar.bz2
fs-tracer-backend-a0f2eab19883bee5e80343409764d0a79c6adeb4.zip
Start setting up rabbitmq connection
Diffstat (limited to 'k8s/rest-api')
-rw-r--r--k8s/rest-api/templates/deployment.yaml6
1 files changed, 6 insertions, 0 deletions
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 }}