mirror of
https://github.com/rancher/types.git
synced 2025-08-31 12:48:45 +00:00
Merge pull request #1061 from superseb/v23_mtucni_int
[release/v2.3] Change MTU to int type
This commit is contained in:
@@ -355,7 +355,7 @@ type NetworkConfig struct {
|
||||
// Plugin options to configure network properties
|
||||
Options map[string]string `yaml:"options" json:"options,omitempty"`
|
||||
// Set MTU for CNI provider
|
||||
MTU string `yaml:"mtu" json:"mtu,omitempty"`
|
||||
MTU int `yaml:"mtu" json:"mtu,omitempty"`
|
||||
// CalicoNetworkProvider
|
||||
CalicoNetworkProvider *CalicoNetworkProvider `yaml:"calico_network_provider,omitempty" json:"calicoNetworkProvider,omitempty"`
|
||||
// CanalNetworkProvider
|
||||
|
@@ -16,7 +16,7 @@ type NetworkConfig struct {
|
||||
CalicoNetworkProvider *CalicoNetworkProvider `json:"calicoNetworkProvider,omitempty" yaml:"calicoNetworkProvider,omitempty"`
|
||||
CanalNetworkProvider *CanalNetworkProvider `json:"canalNetworkProvider,omitempty" yaml:"canalNetworkProvider,omitempty"`
|
||||
FlannelNetworkProvider *FlannelNetworkProvider `json:"flannelNetworkProvider,omitempty" yaml:"flannelNetworkProvider,omitempty"`
|
||||
MTU string `json:"mtu,omitempty" yaml:"mtu,omitempty"`
|
||||
MTU int64 `json:"mtu,omitempty" yaml:"mtu,omitempty"`
|
||||
NodeSelector map[string]string `json:"nodeSelector,omitempty" yaml:"nodeSelector,omitempty"`
|
||||
Options map[string]string `json:"options,omitempty" yaml:"options,omitempty"`
|
||||
Plugin string `json:"plugin,omitempty" yaml:"plugin,omitempty"`
|
||||
|
Reference in New Issue
Block a user