Helm release name not substituted into config map
jwalcorn opened this issue · 3 comments
jwalcorn commented
Some of the default values for fields use the {{ Release.Name }}
variable. That isn't getting substituted properly right now in the config map produced by this helm chart. Quick discussion with @arthurdm suggests we need to use the tpl
function. Need to learn about that and act upon....
jwalcorn commented
jwalcorn commented
Yeah, Arthur's suggestion fixed this. Just had to replace {{ .Values.portfolioUrl }}
with {{ tpl .Values.portfolioUrl .}}
(for each field whose default value included the helm release name), and all was good. See the config map template (https://github.com/IBMStockTrader/stocktrader/blob/master/stocktrader/templates/config.yaml) for details.