Documentation ¶
Overview ¶
Package secretgenerator contains generator logic of secret resources used in Open Data Hub operator
Index ¶
Constants ¶
View Source
const (
SECRET_DEFAULT_COMPLEXITY = 16
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretGeneratorReconciler ¶
SecretGeneratorReconciler holds the controller configuration.
func (*SecretGeneratorReconciler) Reconcile ¶
func (r *SecretGeneratorReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
Reconcile will generate new secret with random data for the annotated secret based on the specified type and complexity. This will avoid possible race conditions when a deployment mounts the secret before it is reconciled.
func (*SecretGeneratorReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.