Files
helmfile/pkg/state/testdata/values.7.hcl
T
xtphate a15a1b0731 Feature/support env hcl and interpolations (#1423)
* support HCL language for env variables

Signed-off-by: xtphate <65117176+XT-Phate@users.noreply.github.com>
2024-04-22 08:02:14 +08:00

42 lines
594 B
HCL

locals {
localInValues7File = "localInValues7"
}
values {
a = "a"
b = "b"
c = "${hv.a}${hv.b}"
map = {
"a" = "${hv.a}"
}
list = [
hv.b
]
nestedmap = {
submap = {
subsubmap = {
hello = hv.c
}
}
}
ternary = true ? true : false
fromMap = "${hv.map.a}${hv.nestedmap.submap.subsubmap.hello}"
expressionInText = "%{if hv.ternary }yes%{else}no%{endif}"
insideFor = "%{for i in hv.list }${i}%{endfor}"
multi_block = hv.block
crossfile = hv.crossfile_var
localRef = local.localInValues7File
}
values {
block = "block"
}