Apply suggestions from code review

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
Marco Kilchhofer 2021-05-21 16:50:41 +02:00
parent 98b2ee89a4
commit 4278bc8d38
5 changed files with 5 additions and 10 deletions

View file

@ -72,8 +72,7 @@ spec:
{{- toYaml .Values.controller.env | nindent 8 }}
{{- end }}
{{- with .Values.controller.envFrom }}
envFrom:
{{- toYaml . | nindent 8 }}
envFrom: {{- toYaml . | nindent 8 }}
{{- end }}
ports:
- name: controller

View file

@ -68,8 +68,7 @@ spec:
{{- end }}
{{- end }}
{{- with .Values.openshift.envFrom }}
envFrom:
{{- toYaml . | nindent 8 }}
envFrom: {{- toYaml . | nindent 8 }}
{{- end }}
volumeMounts:
{{- if .Values.repoServer.volumeMounts }}

View file

@ -69,8 +69,7 @@ spec:
{{- toYaml .Values.server.env | nindent 8 }}
{{- end }}
{{- with .Values.server.envFrom }}
envFrom:
{{- toYaml . | nindent 8 }}
envFrom: {{- toYaml . | nindent 8 }}
{{- end }}
volumeMounts:
{{- if .Values.server.volumeMounts }}

View file

@ -64,8 +64,7 @@ spec:
{{- toYaml .Values.dex.env | nindent 8 }}
{{- end }}
{{- with .Values.dex.envFrom }}
envFrom:
{{- toYaml . | nindent 8 }}
envFrom: {{- toYaml . | nindent 8 }}
{{- end }}
ports:
- name: http

View file

@ -54,8 +54,7 @@ spec:
{{- toYaml .Values.redis.env | nindent 8 }}
{{- end }}
{{- with .Values.redis.envFrom }}
envFrom:
{{- toYaml . | nindent 8 }}
envFrom: {{- toYaml . | nindent 8 }}
{{- end }}
ports:
- containerPort: {{ .Values.redis.containerPort }}