Documentation
¶
Index ¶
Constants ¶
const (
// ControllerName is the name of the controller used in logs and events.
ControllerName = externalsecretsCommonName + "-controller"
)
Variables ¶
This section is empty.
Functions ¶
func NewCacheBuilder ¶
func NewCacheBuilder(config *rest.Config) cache.NewCacheFunc
NewCacheBuilder returns a cache builder function that configures the manager's cache with label selectors for managed resources. This eliminates the need for a separate custom cache.
func NewClient ¶
func NewClient(m manager.Manager, r *Reconciler) (operatorclient.CtrlClient, error)
NewClient returns a client that uses the manager's cache. The manager's cache is already configured with proper label selectors via NewCacheBuilder().
func NewUncachedClient ¶
func NewUncachedClient(m manager.Manager) (operatorclient.CtrlClient, error)
NewUncachedClient is for creating an uncached client, and all the objects are read and written directly through API server.
Types ¶
type Reconciler ¶
type Reconciler struct {
operatorclient.CtrlClient
UncachedClient operatorclient.CtrlClient
Scheme *runtime.Scheme
// contains filtered or unexported fields
}
Reconciler reconciles a ExternalSecretsConfig object.
func (*Reconciler) IsCertManagerInstalled ¶
func (r *Reconciler) IsCertManagerInstalled() bool
func (*Reconciler) Reconcile ¶
Reconcile is the reconciliation loop to manage the current state external-secrets deployment to reflect desired state configured in `externalsecretsconfigs.operator.openshift.io`.
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager is for creating a controller instance with predicates and event filters.