Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheClusterDefaultsCleaner ¶
type CheClusterDefaultsCleaner struct { deploy.Reconcilable // contains filtered or unexported fields }
CheClusterDefaultsCleaner is a migration tool that cleans up the CheCluster CR by removing values that have been set by the operator in the past as defaults. All those defaults are moved to environment variables in the operator deployment now. The purpose of this are the following:
- productization needs, downstream version of the operator can have different defaults
- possibility to change defaults, it allows to have new values after upgrading the operator, because previous ones are not relevant anymore and can't be changed once the CR is created
func NewCheClusterDefaultsCleaner ¶
func NewCheClusterDefaultsCleaner() *CheClusterDefaultsCleaner
func (*CheClusterDefaultsCleaner) Finalize ¶
func (dc *CheClusterDefaultsCleaner) Finalize(ctx *chetypes.DeployContext) bool
func (*CheClusterDefaultsCleaner) Reconcile ¶
func (dc *CheClusterDefaultsCleaner) Reconcile(ctx *chetypes.DeployContext) (reconcile.Result, bool, error)
type CleanUpTask ¶
type CleanUpTask struct {
// contains filtered or unexported fields
}
type Migrator ¶
type Migrator struct { deploy.Reconcilable // contains filtered or unexported fields }
func NewMigrator ¶
func NewMigrator() *Migrator
Click to show internal directories.
Click to hide internal directories.