cno

package
v0.1.56 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2025 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReconcileDeployment

func ReconcileDeployment(dep *appsv1.Deployment, params Params, platformType hyperv1.PlatformType) error

func ReconcileRole

func ReconcileRole(role *rbacv1.Role, ownerRef config.OwnerRef, networkType hyperv1.NetworkType) error

func ReconcileRoleBinding

func ReconcileRoleBinding(rb *rbacv1.RoleBinding, ownerRef config.OwnerRef) error

func ReconcileServiceAccount

func ReconcileServiceAccount(sa *corev1.ServiceAccount, ownerRef config.OwnerRef) error

func SetRestartAnnotationAndPatch

func SetRestartAnnotationAndPatch(ctx context.Context, crclient client.Client, dep *appsv1.Deployment, restartAnnotation string) error

Types

type Images

type Images struct {
	NetworkOperator              string
	KubeProxy                    string
	KubeRBACProxy                string
	Multus                       string
	MultusAdmissionController    string
	CNIPlugins                   string
	BondCNIPlugin                string
	WhereaboutsCNI               string
	RouteOverrideCNI             string
	MultusNetworkPolicy          string
	OVN                          string
	OVNControlPlane              string
	EgressRouterCNI              string
	NetworkMetricsDaemon         string
	NetworkCheckSource           string
	NetworkCheckTarget           string
	NetworkingConsolePlugin      string
	CloudNetworkConfigController string
	TokenMinter                  string
	CLI                          string
	CLIControlPlane              string
	Socks5Proxy                  string
}

type Params

type Params struct {
	ReleaseVersion           string
	AvailabilityProberImage  string
	HostedClusterName        string
	CAConfigMap              string
	CAConfigMapKey           string
	APIServerAddress         string
	APIServerPort            int32
	TokenAudience            string
	Images                   Images
	OwnerRef                 config.OwnerRef
	DeploymentConfig         config.DeploymentConfig
	IsPrivate                bool
	DefaultIngressDomain     string
	AzureClientID            string
	AzureTenantID            string
	AzureCertificateName     string
	AzureCredentialsFilepath string
}

func NewParams

func NewParams(hcp *hyperv1.HostedControlPlane, version string, releaseImageProvider imageprovider.ReleaseImageProvider, userReleaseImageProvider imageprovider.ReleaseImageProvider, setDefaultSecurityContext bool, defaultIngressDomain string) Params

Jump to

Keyboard shortcuts

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