diff --git a/charts/account-service/Chart.yaml b/charts/account-service/Chart.yaml index 15646489e1bf3df41f8d059527e6eae14ea613dd..488124120a268e2278cd378060ec62cdb0ee119e 100644 --- a/charts/account-service/Chart.yaml +++ b/charts/account-service/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v1 appVersion: "1.0" description: Deployment of the nynja account service. name: account-service -version: 0.1.0 +version: 0.1.1 diff --git a/charts/account-service/templates/deployment.yaml b/charts/account-service/templates/deployment.yaml index 05a885c5a826e4bc8f9d34943012d5fc00f7d11b..053c82ab79dc73524ed78cd4d10ed65af1772d87 100644 --- a/charts/account-service/templates/deployment.yaml +++ b/charts/account-service/templates/deployment.yaml @@ -58,6 +58,12 @@ spec: value: {{ .Values.ports.containerPort.http | quote }} - name: GRPC_SERVER_PORT value: {{ .Values.ports.containerPort.grpc | quote }} + - name: ERLANG_ENABLED + value: {{ .Values.bridge.enabled | quote }} + - name: ERLANG_IP + value: {{ .Values.bridge.host | quote }} + - name: ERLANG_PORT + value: {{ .Values.bridge.port | quote }} resources: {{ toYaml .Values.resources | indent 12 }} {{- with .Values.nodeSelector }} diff --git a/releases/dev/account-service.yaml b/releases/dev/account-service.yaml index 2795ec451bec0637579f06190ee091c2aa1441a9..4cc8656c109f72d9592a03b9678092d0cde63899 100644 --- a/releases/dev/account-service.yaml +++ b/releases/dev/account-service.yaml @@ -8,7 +8,7 @@ spec: chart: repository: https://nynjagroup.jfrog.io/nynjagroup/helm/ name: account-service - version: 0.1.0 + version: 0.1.1 values: replicaCount: 1 @@ -35,6 +35,11 @@ spec: http: 8080 grpc: 6565 + bridge: + enabled: true + host: bridge-service.bridge-service.svc.cluster.local + port: 6570 + # CORS policy corsPolicy: allowOrigin: