components

package
v0.85.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 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 = "" /* 135-byte string literal not displayed */
	LinuxBridgeCniImageDefault        = "quay.io/kubevirt/cni-default-plugins@sha256:e75d67fb44f4b748137c85b1c06b500607410a3218cafbf8a4bb6359f2b90373"
	LinuxBridgeMarkerImageDefault     = "quay.io/kubevirt/bridge-marker@sha256:5d24c6d1ecb0556896b7b81c7e5260b54173858425777b7a84df8a706c07e6d2"
	KubeMacPoolImageDefault           = "quay.io/kubevirt/kubemacpool@sha256:0cc5ad824fc163d6dea5e9bd872467c691eaa9a88944008b5d746495b2a72214"
	OvsCniImageDefault                = "quay.io/kubevirt/ovs-cni-plugin@sha256:5f7290e2294255ab2547c3b4bf48cc2d75531ec5a43e600366e9b2719bef983f"
	MacvtapCniImageDefault            = "quay.io/kubevirt/macvtap-cni@sha256:5a288f1f9956c2ea8127fa736b598326852d2aa58a8469fa663a1150c2313b02"
	KubeRbacProxyImageDefault         = "quay.io/openshift/origin-kube-rbac-proxy@sha256:baedb268ac66456018fb30af395bb3d69af5fff3252ff5d549f0231b1ebb6901"
	KubeSecondaryDNSImageDefault      = "ghcr.io/kubevirt/kubesecondarydns@sha256:b489a7c5d05b000f776c9c302985b8b7f29ff31f577a1480912ed625c8772d6b"
	CoreDNSImageDefault               = "k8s.gcr.io/coredns/coredns@sha256:5b6ec0d6de9baaf3e92d0f66cd96a25b9edbce8716f5f15dcd1a616b3abd590e"
)

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
	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