mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-05 13:08:52 +07:00
Fix MetalLB config syntax
This commit is contained in:
parent
52b6cfe8ae
commit
205c4bd317
@ -58,14 +58,12 @@ resource "helm_release" "metallb" {
|
|||||||
|
|
||||||
set {
|
set {
|
||||||
name = "configInline"
|
name = "configInline"
|
||||||
value = yamlencode({
|
value = <<EOT
|
||||||
address-pools = {
|
address-pools:
|
||||||
name = "default"
|
- name: default
|
||||||
protocol = "layer2"
|
protocol: layer2
|
||||||
addresses = [
|
addresses:
|
||||||
"192.168.1.150-192.168.1.180"
|
- 192.168.1.150-192.168.1.180
|
||||||
]
|
EOT
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user