diff --git a/kubernetes/ai-service/ai-deployment.yaml b/kubernetes/ai-service/ai-deployment.yaml index b6865808d8..4cad508d5b 100644 --- a/kubernetes/ai-service/ai-deployment.yaml +++ b/kubernetes/ai-service/ai-deployment.yaml @@ -20,6 +20,17 @@ spec: ports: - name: ai-service containerPort: 3005 + env: + - name: ENV + valueFrom: + secretKeyRef: + name: env + key: ENV + - name: GEMINI_API_KEY + valueFrom: + secretKeyRef: + name: env + key: GEMINI_API_KEY restartPolicy: Always \ No newline at end of file diff --git a/kubernetes/match-service/match-deployment.yaml b/kubernetes/match-service/match-deployment.yaml index d6b0e45a26..a2b12c6105 100644 --- a/kubernetes/match-service/match-deployment.yaml +++ b/kubernetes/match-service/match-deployment.yaml @@ -20,6 +20,12 @@ spec: ports: - name: match-service containerPort: 3003 + env: + - name: REDIS_URL + valueFrom: + secretKeyRef: + name: env + key: REDIS_URL restartPolicy: Always \ No newline at end of file diff --git a/kubernetes/question-service/question-deployment.yaml b/kubernetes/question-service/question-deployment.yaml index 9999bfa0eb..9305b09512 100644 --- a/kubernetes/question-service/question-deployment.yaml +++ b/kubernetes/question-service/question-deployment.yaml @@ -20,6 +20,18 @@ spec: ports: - name: qn-service containerPort: 3002 + env: + - name: ENV + valueFrom: + secretKeyRef: + name: env + key: ENV + - name: DB_CLOUD_URI + valueFrom: + secretKeyRef: + name: env + key: DB_URI_QUESTION + restartPolicy: Always \ No newline at end of file diff --git a/kubernetes/user-service/user-deployment.yaml b/kubernetes/user-service/user-deployment.yaml index f21ee47149..c1675834c5 100644 --- a/kubernetes/user-service/user-deployment.yaml +++ b/kubernetes/user-service/user-deployment.yaml @@ -20,6 +20,22 @@ spec: ports: - name: user-service containerPort: 3001 + env: + - name: ENV + valueFrom: + secretKeyRef: + name: env + key: ENV + - name: DB_CLOUD_URI + valueFrom: + secretKeyRef: + name: env + key: DB_URI_USER + - name: JWT_SECRET + valueFrom: + secretKeyRef: + name: env + key: JWT_SECRET restartPolicy: Always \ No newline at end of file