Skip to content

Commit

Permalink
Merge pull request #37 from jlmart88/master
Browse files Browse the repository at this point in the history
Fix newline issue for $env.valueFrom
  • Loading branch information
anestos authored Apr 20, 2022
2 parents f95b81b + 8f274ef commit 7c618bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions idsvr/templates/deployment-admin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ spec:
value: {{ $env.value | quote }}
{{- end }}
{{- if $env.valueFrom }}
valueFrom:
{{- $env.valueFrom | toYaml | trim | indent 16 }}
valueFrom: {{ $env.valueFrom | toYaml | trim | nindent 16 }}
{{- end }}
{{- end}}
{{- if ( or .Values.curity.config.environmentVariableSecret .Values.curity.config.environmentVariableConfigMap .Values.curity.config.environmentVariableSecrets .Values.curity.config.environmentVariableConfigMaps ) }}
Expand Down
3 changes: 1 addition & 2 deletions idsvr/templates/deployment-runtime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ spec:
value: {{ $env.value | quote }}
{{- end }}
{{- if $env.valueFrom }}
valueFrom:
{{- $env.valueFrom | toYaml | trim | indent 16 }}
valueFrom: {{ $env.valueFrom | toYaml | trim | nindent 16 }}
{{- end }}
{{- end }}
{{- if ( or .Values.curity.config.environmentVariableSecret .Values.curity.config.environmentVariableConfigMap .Values.curity.config.environmentVariableSecrets .Values.curity.config.environmentVariableConfigMaps ) }}
Expand Down

0 comments on commit 7c618bf

Please sign in to comment.