Commit 912ec110 authored by Waqar Ahmed's avatar Waqar Ahmed

Change environment variable name

parent acbbe63c
...@@ -100,7 +100,7 @@ questions: ...@@ -100,7 +100,7 @@ questions:
min_length: 8 min_length: 8
max_length: 40 max_length: 40
- variable: environment - variable: environmentVariables
label: "Minio image environment" label: "Minio image environment"
group: "Minio Configuration" group: "Minio Configuration"
schema: schema:
......
...@@ -50,7 +50,7 @@ spec: ...@@ -50,7 +50,7 @@ spec:
secretKeyRef: secretKeyRef:
name: {{ template "minio.secretName" . }} name: {{ template "minio.secretName" . }}
key: secretkey key: secretkey
{{- range $envVariable := .Values.environment }} {{- range $envVariable := .Values.environmentVariables }}
{{- if and $envVariable.name $envVariable.value }} {{- if and $envVariable.name $envVariable.value }}
- name: {{ $envVariable.name }} - name: {{ $envVariable.name }}
value: {{ $envVariable.value | quote }} value: {{ $envVariable.value | quote }}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment