mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-03 13:30:57 +07:00
Fix MetalLB config syntax
This commit is contained in:
parent
52b6cfe8ae
commit
205c4bd317
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user