components

package
v0.94.6 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 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:0c354fa9d695b8cab97b459e8afea2f7662407a987e83f6f6f1a8af4b45726be"
	LinuxBridgeMarkerImageDefault      = "quay.io/kubevirt/bridge-marker@sha256:18d954d58b9830738df9bf5c9a575d22b33096d1af26fb6bc2da09fb31c9f73a"
	KubeMacPoolImageDefault            = "quay.io/kubevirt/kubemacpool@sha256:677971a25ff3ce95d9e6ecc86090a09f0ae691ce67b8349384f1881562feed7b"
	OvsCniImageDefault                 = "ghcr.io/k8snetworkplumbingwg/ovs-cni-plugin@sha256:54be8fcacee50af64deafa9e99f3fe079033630c00c4ed9f74d17b0d91009f10"
	MacvtapCniImageDefault             = "quay.io/kubevirt/macvtap-cni@sha256:850b89343ace7c7ea6b18dd8e11964613974e9d1f7377af03854d407fb15230a"
	KubeRbacProxyImageDefault          = "quay.io/openshift/origin-kube-rbac-proxy@sha256:e2def4213ec0657e72eb790ae8a115511d5b8f164a62d3568d2f1bff189917e8"
	KubeSecondaryDNSImageDefault       = "ghcr.io/kubevirt/kubesecondarydns@sha256:6268d84154e2483fbce8c1adacbdaf6f0839117b2d48d9fa4687cc8f76bd5130"
	CoreDNSImageDefault                = "registry.k8s.io/coredns/coredns@sha256:a0ead06651cf580044aeb0a0feba63591858fb2e43ade8c9dea45a6a89ae7e5e"
	KubevirtIpamControllerImageDefault = "ghcr.io/kubevirt/ipam-controller@sha256:35c21de5eb18325da256fe7c8ac479aba27c5034bb0563a4be528947e8f62bd7"
	PasstBindingCNIImageDefault        = "ghcr.io/kubevirt/passt-binding-cni@sha256:26c19e9292a76c5311c8ff66059ddf4f8085eee9c075d642cd86d645ebc31088"
)

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
	KubevirtIpamController string
	PasstBindingCNI        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