Documentation ¶
Index ¶
- func GetCatalogImages(ctx context.Context, hcp hyperv1.HostedControlPlane, pullSecret []byte, ...) (map[string]string, error)
- func ReconcileCatalogOperatorDeployment(deployment *appsv1.Deployment, ownerRef config.OwnerRef, ...) error
- func ReconcileCatalogOperatorMetricsService(svc *corev1.Service, ownerRef config.OwnerRef) error
- func ReconcileCatalogServiceMonitor(sm *prometheusoperatorv1.ServiceMonitor, ownerRef config.OwnerRef, ...) error
- func ReconcileCatalogsImageStream(imageStream *imagev1.ImageStream, ownerRef config.OwnerRef, ...) error
- func ReconcileCertifiedOperatorsDeployment(deployment *appsv1.Deployment, ownerRef config.OwnerRef, ...) error
- func ReconcileCertifiedOperatorsService(svc *corev1.Service, ownerRef config.OwnerRef) error
- func ReconcileCollectProfilesConfigMap(configMap *corev1.ConfigMap, ownerRef config.OwnerRef)
- func ReconcileCollectProfilesCronJob(cronJob *batchv1.CronJob, ownerRef config.OwnerRef, olmImage string, ...)
- func ReconcileCollectProfilesRole(role *rbacv1.Role, ownerRef config.OwnerRef)
- func ReconcileCollectProfilesRoleBinding(roleBinding *rbacv1.RoleBinding, ownerRef config.OwnerRef)
- func ReconcileCollectProfilesSecret(secret *corev1.Secret, ownerRef config.OwnerRef)
- func ReconcileCollectProfilesServiceAccount(serviceAccount *corev1.ServiceAccount, ownerRef config.OwnerRef)
- func ReconcileCommunityOperatorsDeployment(deployment *appsv1.Deployment, ownerRef config.OwnerRef, ...) error
- func ReconcileCommunityOperatorsService(svc *corev1.Service, ownerRef config.OwnerRef) error
- func ReconcileOLMOperatorDeployment(deployment *appsv1.Deployment, ownerRef config.OwnerRef, ...) error
- func ReconcileOLMOperatorMetricsService(svc *corev1.Service, ownerRef config.OwnerRef) error
- func ReconcileOLMOperatorServiceMonitor(sm *prometheusoperatorv1.ServiceMonitor, ownerRef config.OwnerRef, ...) error
- func ReconcilePackageServerDeployment(deployment *appsv1.Deployment, ownerRef config.OwnerRef, ...) error
- func ReconcileRedHatMarketplaceOperatorsDeployment(deployment *appsv1.Deployment, ownerRef config.OwnerRef, ...) error
- func ReconcileRedHatMarketplaceOperatorsService(svc *corev1.Service, ownerRef config.OwnerRef) error
- func ReconcileRedHatOperatorsDeployment(deployment *appsv1.Deployment, ownerRef config.OwnerRef, ...) error
- func ReconcileRedHatOperatorsService(svc *corev1.Service, ownerRef config.OwnerRef) error
- type OLMDeployment
- type OLMService
- type OperatorLifecycleManagerParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCatalogImages ¶ added in v0.1.50
func GetCatalogImages(ctx context.Context, hcp hyperv1.HostedControlPlane, pullSecret []byte, digestLister registryclient.DigestListerFN) (map[string]string, error)
func ReconcileCatalogOperatorDeployment ¶
func ReconcileCatalogOperatorDeployment(deployment *appsv1.Deployment, ownerRef config.OwnerRef, olmImage, socks5ProxyImage, operatorRegistryImage, releaseVersion string, dc config.DeploymentConfig, availabilityProberImage string, noProxy []string, platformType hyperv1.PlatformType) error
func ReconcileCatalogServiceMonitor ¶
func ReconcileCatalogServiceMonitor(sm *prometheusoperatorv1.ServiceMonitor, ownerRef config.OwnerRef, clusterID string, metricsSet metrics.MetricsSet) error
func ReconcileCertifiedOperatorsDeployment ¶
func ReconcileCertifiedOperatorsDeployment(deployment *appsv1.Deployment, ownerRef config.OwnerRef, dc config.DeploymentConfig, imageOverride, olmManagerImage string) error
func ReconcileCollectProfilesRoleBinding ¶
func ReconcileCollectProfilesRoleBinding(roleBinding *rbacv1.RoleBinding, ownerRef config.OwnerRef)
func ReconcileCollectProfilesServiceAccount ¶
func ReconcileCollectProfilesServiceAccount(serviceAccount *corev1.ServiceAccount, ownerRef config.OwnerRef)
func ReconcileCommunityOperatorsDeployment ¶
func ReconcileCommunityOperatorsDeployment(deployment *appsv1.Deployment, ownerRef config.OwnerRef, dc config.DeploymentConfig, imageOverride, olmManagerImage string) error
func ReconcileOLMOperatorDeployment ¶
func ReconcileOLMOperatorDeployment(deployment *appsv1.Deployment, ownerRef config.OwnerRef, olmImage, socks5ProxyImage, releaseVersion string, dc config.DeploymentConfig, availabilityProberImage string, noProxy []string, platformType hyperv1.PlatformType) error
func ReconcileOLMOperatorServiceMonitor ¶
func ReconcileOLMOperatorServiceMonitor(sm *prometheusoperatorv1.ServiceMonitor, ownerRef config.OwnerRef, clusterID string, metricsSet metrics.MetricsSet) error
func ReconcilePackageServerDeployment ¶
func ReconcilePackageServerDeployment(deployment *appsv1.Deployment, ownerRef config.OwnerRef, olmImage, socks5ProxyImage, releaseVersion string, dc config.DeploymentConfig, availabilityProberImage string, noProxy []string, platformType hyperv1.PlatformType) error
func ReconcileRedHatMarketplaceOperatorsDeployment ¶
func ReconcileRedHatMarketplaceOperatorsDeployment(deployment *appsv1.Deployment, ownerRef config.OwnerRef, dc config.DeploymentConfig, imageOverride, olmManagerImage string) error
func ReconcileRedHatOperatorsDeployment ¶
func ReconcileRedHatOperatorsDeployment(deployment *appsv1.Deployment, ownerRef config.OwnerRef, dc config.DeploymentConfig, imageOverride, olmManagerImage string) error
Types ¶
type OLMDeployment ¶ added in v0.1.17
type OLMDeployment struct { Name string Manifest *appsv1.Deployment Reconciler func(*appsv1.Deployment, config.OwnerRef, config.DeploymentConfig, string, string) error Image string }
func OLMDeployments ¶ added in v0.1.17
func OLMDeployments(p *OperatorLifecycleManagerParams, hcpNamespace string) []OLMDeployment
type OLMService ¶ added in v0.1.17
type OLMService struct { Name string Manifest *corev1.Service Reconciler func(*corev1.Service, config.OwnerRef) error }
func OLMServices ¶ added in v0.1.17
func OLMServices(hcpNamespace string) []OLMService
type OperatorLifecycleManagerParams ¶
type OperatorLifecycleManagerParams struct { CLIImage string OLMImage string ProxyImage string OperatorRegistryImage string CertifiedOperatorsCatalogImageOverride string CommunityOperatorsCatalogImageOverride string RedHatMarketplaceCatalogImageOverride string RedHatOperatorsCatalogImageOverride string OLMCatalogsISRegistryOverridesAnnotation string ReleaseVersion string DeploymentConfig config.DeploymentConfig PackageServerConfig config.DeploymentConfig AvailabilityProberImage string NoProxy []string config.OwnerRef }
func NewOperatorLifecycleManagerParams ¶
func NewOperatorLifecycleManagerParams(hcp *hyperv1.HostedControlPlane, releaseImageProvider imageprovider.ReleaseImageProvider, releaseVersion string, setDefaultSecurityContext bool) *OperatorLifecycleManagerParams
Click to show internal directories.
Click to hide internal directories.