tiller icon indicating copy to clipboard operation
tiller copied to clipboard

dynamic values not working in list of map in common.yaml

Open af6140 opened this issue 6 years ago • 1 comments

If we have a list of hashes in yaml config, the dynamic values is not evaluated.

like following the dynamic value will not be evaluated.

config:
  system_props:
     - name: prop1
       value: <%= env_PROP! %>

af6140 avatar Mar 07 '20 02:03 af6140

It looks like that the code that expands ruby templates in configuration variables (i.e. when dymanic_values: true) traverses the configuration objects using deep_traverse(), which stops at lists.

cavedon avatar Jul 25 '23 13:07 cavedon