Documentation ¶
Index ¶
- type ExternalSecretReconciler
- func (r *ExternalSecretReconciler) AddFinalizerIfNotPresent(externalSec *api.ExternalSecret, finalizerName string) error
- func (r *ExternalSecretReconciler) InitSecretCache() error
- func (r *ExternalSecretReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *ExternalSecretReconciler) SecretRotationJob()
- func (r *ExternalSecretReconciler) SetupWithManager(mgr ctrl.Manager, reconcileCount int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExternalSecretReconciler ¶
type ExternalSecretReconciler struct { client.Client APIReader client.Reader Log logr.Logger Ctx context.Context WatchNamespaces map[string]bool ReconciliationPeriod time.Duration RotationInterval time.Duration // Key rotation job running interval. ConcurrentController *semaphore.Weighted // contains filtered or unexported fields }
ExternalSecretReconciler reconciles a ExternalSecret object
func (*ExternalSecretReconciler) AddFinalizerIfNotPresent ¶
func (r *ExternalSecretReconciler) AddFinalizerIfNotPresent(externalSec *api.ExternalSecret, finalizerName string) error
AddFinalizerIfNotPresent will check if finalizerName is the finalizers slice
func (*ExternalSecretReconciler) InitSecretCache ¶
func (r *ExternalSecretReconciler) InitSecretCache() error
func (*ExternalSecretReconciler) SecretRotationJob ¶
func (r *ExternalSecretReconciler) SecretRotationJob()
secretRotationJob refresh the secret if updated in kms secret-manager
func (*ExternalSecretReconciler) SetupWithManager ¶
func (r *ExternalSecretReconciler) SetupWithManager(mgr ctrl.Manager, reconcileCount int) error
SetupWithManager will register the controller
Click to show internal directories.
Click to hide internal directories.