From 912ec110d099da4c83ed7da79647a602fa448ff5 Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Date: Thu, 28 Jan 2021 21:22:28 +0500 Subject: [PATCH] Change environment variable name --- test/minio/1.0.1/questions.yaml | 2 +- test/minio/1.0.1/templates/deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/minio/1.0.1/questions.yaml b/test/minio/1.0.1/questions.yaml index 32060e019d..ea803a6911 100644 --- a/test/minio/1.0.1/questions.yaml +++ b/test/minio/1.0.1/questions.yaml @@ -100,7 +100,7 @@ questions: min_length: 8 max_length: 40 - - variable: environment + - variable: environmentVariables label: "Minio image environment" group: "Minio Configuration" schema: diff --git a/test/minio/1.0.1/templates/deployment.yaml b/test/minio/1.0.1/templates/deployment.yaml index 6b35f87903..407bba80f2 100644 --- a/test/minio/1.0.1/templates/deployment.yaml +++ b/test/minio/1.0.1/templates/deployment.yaml @@ -50,7 +50,7 @@ spec: secretKeyRef: name: {{ template "minio.secretName" . }} key: secretkey - {{- range $envVariable := .Values.environment }} + {{- range $envVariable := .Values.environmentVariables }} {{- if and $envVariable.name $envVariable.value }} - name: {{ $envVariable.name }} value: {{ $envVariable.value | quote }}