Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.