Fix MetalLB config syntax

This commit is contained in:
Khue Doan 2020-11-15 12:47:30 +07:00
parent 52b6cfe8ae
commit 205c4bd317

View File

@ -58,14 +58,12 @@ resource "helm_release" "metallb" {
set {
name = "configInline"
value = yamlencode({
address-pools = {
name = "default"
protocol = "layer2"
addresses = [
"192.168.1.150-192.168.1.180"
]
}
})
value = <<EOT
address-pools:
- name: default
protocol: layer2
addresses:
- 192.168.1.150-192.168.1.180
EOT
}
}