Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions operator/v1/types_network.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,19 @@ type DefaultNetworkDefinition struct {
// KuryrConfig configures the kuryr plugin
// +optional
KuryrConfig *KuryrConfig `json:"kuryrConfig,omitempty"`

// chainedPlugins is an array of CNI plugins to append as chained plugins
// as part of the default network CNI configuration.
// +optional
ChainedPlugins []ChainedPluginEntry `json:"chainedPlugins,omitempty"`
}

// ChainedPluginEntry is a single chained plugin to install.
type ChainedPluginEntry struct {
// rawCNIConfig is a raw CNI json snippet to add to the "plugins" array.
// If you use this, you must ensure that the referenced CNI binary is already
// written to disk.
RawCNIConfig string `json:"rawCNIConfig,omitempty"`
}

// AdditionalNetworkDefinition configures an extra network that is available but not
Expand Down