Skip to content

Commit 148e3fa

Browse files
committed
Add configurable Backend Type
Currently there is no easy way to set the backend type to something else. Running Talos in a VMware environment with a VMXNET3 adapter needs the backend type host-gw. Signed-off-by: Michael Kebe <[email protected]>
1 parent 9463ac2 commit 148e3fa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/flannel/gen.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,10 @@ data:
7474
"EnableIPv4": false,
7575
{{- end }}
7676
"Backend": {
77-
"Type": "vxlan",
77+
"Type": "{{ .BackendType }}"
78+
{{- if eq .BackendType "vxlan" }},
7879
"Port": 4789
80+
{{- end }}
7981
}
8082
}
8183
---

0 commit comments

Comments
 (0)