components

package
v0.81.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2022 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Name      = "cluster-network-addons-operator"
	Namespace = "cluster-network-addons"
)
View Source
const (
	MultusImageDefault                = "ghcr.io/k8snetworkplumbingwg/multus-cni@sha256:4e336bd177b5c60e753be48484abb48edb002c7207de9f265fff2e00e8f5106e"
	MultusDynamicNetworksImageDefault = "ghcr.io/maiqueb/multus-dynamic-networks-controller@sha256:bd1b07503fd505c66a6ba8b55445a9de94eb322c95d5c22a475df03a8ec67e50"
	LinuxBridgeCniImageDefault        = "quay.io/kubevirt/cni-default-plugins@sha256:c0d14ab010f44bf733aff02b77eb4b5a0ce38fd0c4918a7ecf6941a7bebd72df"
	LinuxBridgeMarkerImageDefault     = "quay.io/kubevirt/bridge-marker@sha256:5d24c6d1ecb0556896b7b81c7e5260b54173858425777b7a84df8a706c07e6d2"
	KubeMacPoolImageDefault           = "quay.io/kubevirt/kubemacpool@sha256:fb07b1be9e0990e3846ef628e993694bf0765602af5907abf98f7e218db0cb4a"
	OvsCniImageDefault                = "quay.io/kubevirt/ovs-cni-plugin@sha256:3654b80dd5e459c3e73dd027d732620ed8b488b8a15dfe7922457d16c7e834c3"
	MacvtapCniImageDefault            = "quay.io/kubevirt/macvtap-cni@sha256:5a288f1f9956c2ea8127fa736b598326852d2aa58a8469fa663a1150c2313b02"
	KubeRbacProxyImageDefault         = "quay.io/openshift/origin-kube-rbac-proxy@sha256:baedb268ac66456018fb30af395bb3d69af5fff3252ff5d549f0231b1ebb6901"
)

Variables

This section is empty.

Functions

func GetCRV1 added in v0.41.0

func GetCRV1() *cnaov1.NetworkAddonsConfig

func GetClusterRole

func GetClusterRole() *rbacv1.ClusterRole

func GetCrd

func GetDeployment

func GetDeployment(version string, operatorVersion string, namespace string, repository string, imageName string, tag string, imagePullPolicy string, addonsImages *AddonsImages) *appsv1.Deployment

func GetRole

func GetRole(namespace string) *rbacv1.Role

Types

type AddonsImages added in v0.41.0

type AddonsImages struct {
	Multus                string
	MultusDynamicNetworks string
	LinuxBridgeCni        string
	LinuxBridgeMarker     string
	KubeMacPool           string
	OvsCni                string
	MacvtapCni            string
	KubeRbacProxy         string
}

func (*AddonsImages) FillDefaults added in v0.41.0

func (ai *AddonsImages) FillDefaults() *AddonsImages

func (AddonsImages) ToRelatedImages added in v0.41.0

func (ai AddonsImages) ToRelatedImages() RelatedImages

type RelatedImage added in v0.41.0

type RelatedImage struct {
	Name string
	Ref  string
}

func NewRelatedImage added in v0.41.0

func NewRelatedImage(image string) RelatedImage

type RelatedImages added in v0.41.0

type RelatedImages []RelatedImage

func NewRelatedImages added in v0.41.0

func NewRelatedImages(images ...string) RelatedImages

func (*RelatedImages) Add added in v0.41.0

func (ris *RelatedImages) Add(image string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL