Documentation
¶
Index ¶
- func ReconcileDeployment(dep *appsv1.Deployment, params Params, platformType hyperv1.PlatformType) error
- func ReconcileRole(role *rbacv1.Role, ownerRef config.OwnerRef, networkType hyperv1.NetworkType) error
- func ReconcileRoleBinding(rb *rbacv1.RoleBinding, ownerRef config.OwnerRef) error
- func ReconcileServiceAccount(sa *corev1.ServiceAccount, ownerRef config.OwnerRef) error
- func SetRestartAnnotationAndPatch(ctx context.Context, crclient client.Client, dep *appsv1.Deployment, ...) error
- type Images
- type Params
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 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, c config.DeploymentConfig) 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
CloudNetworkConfigController string
TokenMinter string
CLI 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
ExposedThroughHCPRouter bool
SbDbPubStrategy *hyperv1.ServicePublishingStrategy
DefaultIngressDomain string
}
func NewParams ¶
func NewParams(hcp *hyperv1.HostedControlPlane, version string, releaseImageProvider *imageprovider.ReleaseImageProvider, userReleaseImageProvider *imageprovider.ReleaseImageProvider, setDefaultSecurityContext bool, defaultIngressDomain string) Params
Click to show internal directories.
Click to hide internal directories.