1
0
mirror of https://github.com/rancher/types.git synced 2025-08-16 11:36:24 +00:00

Add ability to set MTU for CNI

This commit is contained in:
Sebastiaan van Steenis 2019-12-06 15:17:41 +01:00
parent 3701644cfa
commit 724f7e0cab

View File

@ -354,6 +354,8 @@ type NetworkConfig struct {
Plugin string `yaml:"plugin" json:"plugin,omitempty" norman:"default=canal"`
// 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"`
// CalicoNetworkProvider
CalicoNetworkProvider *CalicoNetworkProvider `yaml:"calico_network_provider,omitempty" json:"calicoNetworkProvider,omitempty"`
// CanalNetworkProvider