Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
func NewController ¶
func NewController[T client.Object](client client.Client) *Controller[T]
This is a generic controller that performs a write to custom resources. This is needed to update the stored version of the custom resource to v1 from v1beta1. A no-op write could have been done instead, but the annotation is used so that in case of rollback to v1beta1, the migration controller on v1beta1 versions will understand which resources have yet to be migrated.
Click to show internal directories.
Click to hide internal directories.