Documentation ¶
Index ¶
- Constants
- func GetCRV1() *cnaov1.NetworkAddonsConfig
- func GetClusterRole() *rbacv1.ClusterRole
- func GetCrd() *extv1.CustomResourceDefinition
- func GetDeployment(version string, operatorVersion string, namespace string, repository string, ...) *appsv1.Deployment
- func GetRole(namespace string) *rbacv1.Role
- type AddonsImages
- type RelatedImage
- type RelatedImages
Constants ¶
View Source
const ( Name = "cluster-network-addons-operator" Namespace = "cluster-network-addons" )
View Source
const ( MultusImageDefault = "ghcr.io/k8snetworkplumbingwg/multus-cni@sha256:9479537fe0827d23bc40056e98f8d1e75778ec294d89ae4d8a62f83dfc74a31d" LinuxBridgeCniImageDefault = "quay.io/kubevirt/cni-default-plugins@sha256:5d9442c26f8750d44f97175f36dbd74bef503f782b9adefcfd08215d065c437a" LinuxBridgeMarkerImageDefault = "quay.io/kubevirt/bridge-marker@sha256:9d90a5bd051d71429b6d9fc34112081fe64c6d3fb02221e18ebe72d428d58092" KubeMacPoolImageDefault = "quay.io/kubevirt/kubemacpool@sha256:09ded8c63c9c72f6f495fbae0c805be657cfa59b31796deeb54f958e7917a6ce" OvsCniImageDefault = "quay.io/kubevirt/ovs-cni-plugin@sha256:cf669ca4967cd26c6629efa93b7426c8e1c65fa17d5ce59deaab1237a854d81b" OvsMarkerImageDefault = "quay.io/kubevirt/ovs-cni-marker@sha256:c09f882c64ee6449e13ff8b0a249d1dc4653d7d94a97f5ebee61de2d3ce9d5e8" MacvtapCniImageDefault = "quay.io/kubevirt/macvtap-cni@sha256:bfaf7b1c4840e27cce20887ba3e8c24f94ff1c36f09acaa8fa195ea431b9bfd1" 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 GetCrd() *extv1.CustomResourceDefinition
func GetDeployment ¶
func GetDeployment(version string, operatorVersion string, namespace string, repository string, imageName string, tag string, imagePullPolicy string, addonsImages *AddonsImages) *appsv1.Deployment
Types ¶
type AddonsImages ¶ added in v0.41.0
type AddonsImages struct { Multus string LinuxBridgeCni string LinuxBridgeMarker string KubeMacPool string OvsCni string OvsMarker 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
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)
Click to show internal directories.
Click to hide internal directories.