Skip to content

Commit

Permalink
Merge pull request #77 from lalithkota/main
Browse files Browse the repository at this point in the history
Mimoto: updated env Vars
  • Loading branch information
lalithkota authored Sep 24, 2024
2 parents 9415234 + ad5dd56 commit 2bfbe71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/mimoto/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Render Env values section
{{- end -}}

{{- define "mimoto.envVars" -}}
{{- $envVars := merge (.Values.springCloudConfig.enabled | ternary (deepCopy .Values.springCloudConfigEnvVars) dict) (deepCopy .Values.coreEnvVars) (deepCopy .Values.coreEnvVarsFrom) (.Values.springCloudConfig.enabled | ternary dict (merge (deepCopy .Values.envVars) (deepCopy .Values.envVarsFrom))) -}}
{{- $envVars := merge (.Values.springCloudConfig.enabled | ternary (deepCopy .Values.springCloudConfigEnvVars) dict) (deepCopy .Values.coreEnvVars) (deepCopy .Values.coreEnvVarsFrom) (deepCopy .Values.envVars) (deepCopy .Values.envVarsFrom) -}}
{{- include "mimoto.baseEnvVars" (dict "envVars" $envVars "context" $) }}
{{- end -}}

Expand Down

0 comments on commit 2bfbe71

Please sign in to comment.