controllers

package
v0.0.0-...-1eec114 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ManagedMCGFinalizer = "managedmcg.openshift.io"
	ManagedMCGName      = "managedmcg"

	ObjectBucketClaimFinalizer = "objectbucket.io/finalizer"
)
View Source
const (
	McgmsObcNamespace   = "mcgms-obc-namespace"
	DefaultBackingStore = "noobaa-default-backing-store"
	READY               = "Ready"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageMap

type ImageMap struct {
	NooBaaCore string
	NooBaaDB   string
}

type ManagedMCGReconciler

type ManagedMCGReconciler struct {
	AddonConfigMapDeleteLabelKey string
	AddonConfigMapName           string
	Client                       client.Client
	Log                          logr.Logger
	Scheme                       *runtime.Scheme
	AddonParamSecretName         string
	DeadMansSnitchSecretName     string
	CustomerNotificationHTMLPath string
	SMTPSecretName               string
	SOPEndpoint                  string
	AlertSMTPFrom                string
	ConsolePort                  int
	PagerdutySecretName          string
	RHOBSSecretName              string
	RHOBSEndpoint                string
	RHSSOTokenEndpoint           string
	AddonVariant                 string
	AddonEnvironment             string
	// contains filtered or unexported fields
}

func (*ManagedMCGReconciler) CheckReplicaStatus

func (r *ManagedMCGReconciler) CheckReplicaStatus(readyReplicas, desiredReplicas int32) mcgv1alpha1.ComponentState

func (*ManagedMCGReconciler) Reconcile

func (r *ManagedMCGReconciler) Reconcile(_ context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*ManagedMCGReconciler) SetupWithManager

func (r *ManagedMCGReconciler) SetupWithManager(mgr ctrl.Manager) error

func (*ManagedMCGReconciler) UpdateAlertmanagerComponentStatus

func (r *ManagedMCGReconciler) UpdateAlertmanagerComponentStatus()

Getting the status of the Alertmanager component.

func (*ManagedMCGReconciler) UpdateConsoleComponentStatus

func (r *ManagedMCGReconciler) UpdateConsoleComponentStatus()

Getting the status of the Console component.

func (*ManagedMCGReconciler) UpdateNoobaaComponentStatus

func (r *ManagedMCGReconciler) UpdateNoobaaComponentStatus()

func (*ManagedMCGReconciler) UpdatePrometheusComponentStatus

func (r *ManagedMCGReconciler) UpdatePrometheusComponentStatus()

Getting the status of the Prometheus component.

Jump to

Keyboard shortcuts

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