mirror of
https://github.com/helmfile/helmfile.git
synced 2026-09-30 07:50:57 +02:00
* Add IP Network to supported HCL Functions This patch adds CIDR functions from the `go-cty-funcs` package to supported HCL functions Signed-off-by: Oleh Neichev <oleg.neichev@gmail.com> * Test HCL CIDR Functions Signed-off-by: Oleh Neichev <oleg.neichev@gmail.com> --------- Signed-off-by: Oleh Neichev <oleg.neichev@gmail.com>
8 lines
219 B
HCL
8 lines
219 B
HCL
values {
|
|
host = cidrhost("10.0.0.0/8", 2)
|
|
host_neg = cidrhost("10.0.0.0/8", -2)
|
|
netmask = cidrnetmask("10.0.0.0/16")
|
|
subnet = cidrsubnet("10.0.0.0/8", 8, 2)
|
|
subnets = cidrsubnets("10.0.0.0/8", 4, 4)
|
|
}
|