Documentation ¶
Index ¶
Constants ¶
View Source
const ( SECRET_NAME_ANNOTATION = "secret-generator.opendatahub.io/name" SECRET_TYPE_ANNOTATION = "secret-generator.opendatahub.io/type" SECRET_LENGTH_ANNOTATION = "secret-generator.opendatahub.io/complexity" SECRET_OAUTH_CLIENT_ANNOTATION = "secret-generator.opendatahub.io/oauth-client-route" SECRET_DEFAULT_COMPLEXITY = 16 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretGeneratorReconciler ¶
ReconcileSecretGenerator 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 ¶
func (r *SecretGeneratorReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.