From d0dceac100c6811ea8a02c3cc7eb841e316b962d Mon Sep 17 00:00:00 2001 From: junha-ahn Date: Sun, 5 Nov 2023 23:58:36 +0900 Subject: [PATCH] feat: add queue system URL --- src/kubernetes/ticketing-chart/templates/deployment.yaml | 2 ++ src/kubernetes/ticketing-chart/values.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/kubernetes/ticketing-chart/templates/deployment.yaml b/src/kubernetes/ticketing-chart/templates/deployment.yaml index 0d22669..9e9b879 100644 --- a/src/kubernetes/ticketing-chart/templates/deployment.yaml +++ b/src/kubernetes/ticketing-chart/templates/deployment.yaml @@ -52,6 +52,8 @@ spec: value: "{{ .Values.backend.environment }}" - name: PORT value: "{{ .Values.backend.port }}" + - name: QUEUE_SERVER_URL + value: "{{ .Values.queuing_system.URL }}" - name: MYSQL_USERNAME valueFrom: secretKeyRef: diff --git a/src/kubernetes/ticketing-chart/values.yaml b/src/kubernetes/ticketing-chart/values.yaml index 64c55fa..78b90f7 100644 --- a/src/kubernetes/ticketing-chart/values.yaml +++ b/src/kubernetes/ticketing-chart/values.yaml @@ -22,6 +22,8 @@ redis: queuing_system: + URL: http://development-ticketing-application-queuing-api.default.svc.cluster.local:8080 + image: repository: 213060417361.dkr.ecr.ap-northeast-2.amazonaws.com/ticketing-queuing-ecr pullPolicy: Always