Documentation ¶
Index ¶
- Variables
- 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 ¶
View Source
var CatalogToImage = map[string]string{
"certified-operators": "registry.redhat.io/redhat/certified-operator-index:v4.16",
"community-operators": "registry.redhat.io/redhat/community-operator-index:v4.16",
"redhat-marketplace": "registry.redhat.io/redhat/redhat-marketplace-index:v4.16",
"redhat-operators": "registry.redhat.io/redhat/redhat-operator-index:v4.16",
}
Functions ¶
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 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 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 string) error
func ReconcileRedHatOperatorsDeployment ¶
func ReconcileRedHatOperatorsDeployment(deployment *appsv1.Deployment, ownerRef config.OwnerRef, dc config.DeploymentConfig, imageOverride 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) 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.