Skip to content

Templating with gomplate - short references must have between 1 and 4 elements #1602

Discussion options

You must be logged in to vote

Answer to myself:
One must use this format to define a array variable:

parameters:
      locales: 
        type: value
        value: ["cs_cz", "de_ch", "hr_hr", "hu_hu", "ro_ro", "rs_rs", "sv_se", "si_si", "sk_sk"]

this seems to work

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@warber
Comment options

Answer selected by reinhard-brandstaedter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants