diff --git a/galaxy/templates/configmap-extra-files.yaml b/galaxy/templates/configmap-extra-files.yaml index 50240cdb..12cfe491 100644 --- a/galaxy/templates/configmap-extra-files.yaml +++ b/galaxy/templates/configmap-extra-files.yaml @@ -15,7 +15,11 @@ kind: ConfigMap data: {{- end }} {{- include "galaxy.getFilenameFromPath" $key | nindent 2 }}: | + {{- if $entry.path }} + {{- ($.Files.Get $entry.path) | nindent 4 }} + {{- else }} {{- tpl (tpl $entry.content $) $ | nindent 4 }} + {{- end }} --- {{- end }} {{- end }}