add flannel-backend in agent config

Signed-off-by: Nianyu Shen <nianyu@spectrocloud.com>
This commit is contained in:
Nianyu Shen
2023-11-17 17:43:02 -08:00
parent 955d716f7d
commit 7f33d900bc

View File

@@ -14,6 +14,7 @@ type K3sAgentConfig struct {
WithNodeId string `json:"with-node-id,omitempty" yaml:"with-node-id,omitempty"` WithNodeId string `json:"with-node-id,omitempty" yaml:"with-node-id,omitempty"`
NodeIP string `json:"node-ip,omitempty" yaml:"node-ip,omitempty"` NodeIP string `json:"node-ip,omitempty" yaml:"node-ip,omitempty"`
NodeExternalIP string `json:"node-external-ip,omitempty" yaml:"node-external-ip,omitempty"` NodeExternalIP string `json:"node-external-ip,omitempty" yaml:"node-external-ip,omitempty"`
FlannelBackend string `json:"flannel-backend,omitempty" yaml:"flannel-backend,omitempty"`
FlannelIface string `json:"flannel-iface,omitempty" yaml:"flannel-iface,omitempty"` FlannelIface string `json:"flannel-iface,omitempty" yaml:"flannel-iface,omitempty"`
FlannelConf string `json:"flannel-conf,omitempty" yaml:"flannel-conf,omitempty"` FlannelConf string `json:"flannel-conf,omitempty" yaml:"flannel-conf,omitempty"`
FlannelCniConfFile string `json:"flannel-cni-conf-file,omitempty" yaml:"flannel-cni-conf-file,omitempty"` FlannelCniConfFile string `json:"flannel-cni-conf-file,omitempty" yaml:"flannel-cni-conf-file,omitempty"`