mirror of
https://github.com/khuedoan/homelab.git
synced 2025-02-07 17:43:57 +07:00
Move MetalLB config to seperate file
This commit is contained in:
parent
543214e2d3
commit
3acd328de0
@ -7,17 +7,9 @@ resource "helm_release" "metallb" {
|
||||
namespace = "metallb-system"
|
||||
create_namespace = true
|
||||
|
||||
set {
|
||||
name = "configInline"
|
||||
# TODO use ./values/metallb.yaml for this
|
||||
value = <<EOT
|
||||
address-pools:
|
||||
- name: default
|
||||
protocol: layer2
|
||||
addresses:
|
||||
- 192.168.1.150-192.168.1.180
|
||||
EOT
|
||||
}
|
||||
values = [
|
||||
file("${path.module}/values/metallb.yaml")
|
||||
]
|
||||
}
|
||||
|
||||
resource "helm_release" "nginx" {
|
||||
|
@ -0,0 +1,6 @@
|
||||
configInline: |
|
||||
address-pools:
|
||||
- name: default
|
||||
protocol: layer2
|
||||
addresses:
|
||||
- 192.168.1.150-192.168.1.180 # TODO use metal values for MetalLB values
|
Loading…
Reference in New Issue
Block a user