external_secrets

package
v0.0.0-...-22728e1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: Apache-2.0 Imports: 50 Imported by: 0

Documentation

Index

Constants

View Source
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

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 New

func New(ctx context.Context, mgr ctrl.Manager) (*Reconciler, error)

New is for building the reconciler instance consumed by the Reconcile method.

func (*Reconciler) IsCertManagerInstalled

func (r *Reconciler) IsCertManagerInstalled() bool

func (*Reconciler) Reconcile

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

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.

Jump to

Keyboard shortcuts

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