Skip to content

Commit

Permalink
Load extraFileMappings using .Files.Get if a path is defined. (#297)
Browse files Browse the repository at this point in the history
Co-authored-by: almahmoud <[email protected]>
  • Loading branch information
ksuderman and almahmoud authored Jun 4, 2021
1 parent 6b5dc39 commit af9f64c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions galaxy/templates/configmap-extra-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit af9f64c

Please sign in to comment.