We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae63678 commit 72ce9fbCopy full SHA for 72ce9fb
1 file changed
talos.tf
@@ -126,21 +126,13 @@ data "talos_machine_configuration" "controller" {
126
docs = false
127
config_patches = [
128
yamlencode(local.common_machine_config),
129
+ // see https://docs.siderolabs.com/talos/v1.12/networking/advanced/vip
130
+ // see https://docs.siderolabs.com/talos/v1.12/reference/configuration/network/layer2vipconfig
131
yamlencode({
- machine = {
- network = {
132
- interfaces = [
133
- # see https://www.talos.dev/v1.11/talos-guides/network/vip/
134
- {
135
- interface = "eth0"
136
- dhcp = true
137
- vip = {
138
- ip = var.cluster_vip
139
- }
140
141
- ]
142
143
+ apiVersion = "v1alpha1"
+ kind = "Layer2VIPConfig"
+ link = "eth0"
+ name = var.cluster_vip
144
}),
145
146
cluster = {
0 commit comments