chartassignment

package
v0.0.0-...-3ac7d67 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 45 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(ctx context.Context, mgr manager.Manager, cloud bool) error

Add adds a controller and validation webhook for the ChartAssignment resource type to the manager and server. Handled ChartAssignments are filtered by the provided cluster.

func NewValidationWebhook

func NewValidationWebhook(mgr manager.Manager) *admission.Webhook

NewValidationWebhook returns a new webhook that validates ChartAssignments.

Types

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

Reconciler provides an idempotent function that brings the cluster into a state consistent with the specification of a ChartAssignment.

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)

Reconcile creates and updates a Synk ResourceSet for the given chart assignment. It rolls back releases to the previous revision if an upgrade failed. It continuously requeues the ChartAssignment for reconciliation to monitor the status of the ResourceSet.

Jump to

Keyboard shortcuts

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