components

package
v0.89.2 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2023 License: Apache-2.0 Imports: 16 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:3fbcc32bd4e4d15bd93c96def784a229cd84cca27942bf4858b581f31c97ee02"
	MultusDynamicNetworksImageDefault = "" /* 135-byte string literal not displayed */
	LinuxBridgeCniImageDefault        = "quay.io/kubevirt/cni-default-plugins@sha256:825e3f9fec1996c54a52cec806154945b38f76476b160d554c36e38dfffe5e61"
	LinuxBridgeMarkerImageDefault     = "quay.io/kubevirt/bridge-marker@sha256:bba066e3b5ff3fb8c5e20861fe8abe51e3c9b50ad6ce3b2616af9cb5479a06d0"
	KubeMacPoolImageDefault           = "quay.io/kubevirt/kubemacpool@sha256:3214020c21204c189cdf2d767beb8efb61ee3ef65dd8de7f0f1edc61e13e8adf"
	OvsCniImageDefault                = "quay.io/kubevirt/ovs-cni-plugin@sha256:08f72edf2bef876bba0b0f5513d30225304ad5e7ad6912a61c083664acdb99ff"
	MacvtapCniImageDefault            = "quay.io/kubevirt/macvtap-cni@sha256:434420511e09b2b5ede785a2c9062b6658ffbc26fbdd4629ce06110f9039c600"
	KubeRbacProxyImageDefault         = "quay.io/openshift/origin-kube-rbac-proxy@sha256:baedb268ac66456018fb30af395bb3d69af5fff3252ff5d549f0231b1ebb6901"
	KubeSecondaryDNSImageDefault      = "ghcr.io/kubevirt/kubesecondarydns@sha256:e87e829380a1e576384145f78ccaa885ba1d5690d5de7d0b73d40cfb804ea24d"
	CoreDNSImageDefault               = "registry.k8s.io/coredns/coredns@sha256:a0ead06651cf580044aeb0a0feba63591858fb2e43ade8c9dea45a6a89ae7e5e"
)

Variables

This section is empty.

Functions

func GetCRV1 added in v0.41.0

func GetCRV1() *cnaov1.NetworkAddonsConfig

func GetClusterRole

func GetClusterRole(allowMultus bool) *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
	KubeSecondaryDNS      string
	CoreDNS               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