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