From f322afa98971cd8f124df536f40ef974f0bc4495 Mon Sep 17 00:00:00 2001 From: Donatien Eneman Date: Thu, 17 Dec 2020 15:05:11 +0100 Subject: [PATCH] fix bug in sugoi chart --- charts/sugoi/templates/deployment-api.yaml | 2 +- charts/sugoi/templates/deployment-ui.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/sugoi/templates/deployment-api.yaml b/charts/sugoi/templates/deployment-api.yaml index e635e52..d9a4a58 100644 --- a/charts/sugoi/templates/deployment-api.yaml +++ b/charts/sugoi/templates/deployment-api.yaml @@ -27,7 +27,7 @@ spec: {{- toYaml .Values.api.securityContext | nindent 12 }} image: "{{ .Values.api.image.name }}:{{ .Values.api.image.version }}" env: - {{- range .Values.ui.env }} + {{- range .Values.api.env }} - name: {{ .name }} value: {{ .value }} {{- end }} diff --git a/charts/sugoi/templates/deployment-ui.yaml b/charts/sugoi/templates/deployment-ui.yaml index 0d84495..fac73da 100644 --- a/charts/sugoi/templates/deployment-ui.yaml +++ b/charts/sugoi/templates/deployment-ui.yaml @@ -37,10 +37,10 @@ spec: value: {{ printf "http://%s/%s" .Values.ingress.hostname "api/" | quote }} {{- end}} {{- end}} - {{- range .Values.ui.env }} - - name: {{ .name }} - value: {{ .value }} - {{- end }} + {{- range .Values.ui.env }} + - name: {{ .name }} + value: {{ .value }} + {{- end }} ports: - name: http containerPort: 80