Documentation ¶
Index ¶
Constants ¶
View Source
const ( // OperatorAppName is the name of the operator OperatorAppName = "vaultsecret-operator" // TimeFormat is the time format to indicate last updated field TimeFormat = "2006-01-02_15-04-05" // MinTimeMsBetweenSecretUpdate avoid a secret to be updated too often MinTimeMsBetweenSecretUpdate = time.Millisecond * 500 )
Variables ¶
View Source
var ( // LabelsFilter filters events on labels LabelsFilter map[string]string )
Functions ¶
func AddLabelFilter ¶
func AddLabelFilter(key, value string)
AddLabelFilter adds a label for filtering events
Types ¶
type VaultSecretReconciler ¶
type VaultSecretReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme LabelsFilter map[string]string }
VaultSecretReconciler reconciles a VaultSecret object
func (*VaultSecretReconciler) Reconcile ¶
Reconcile reads that state of the cluster for a VaultSecret object and makes changes based on the state read and what is in the VaultSecret.Spec The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
func (*VaultSecretReconciler) SetupWithManager ¶
func (r *VaultSecretReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager godoc
Click to show internal directories.
Click to hide internal directories.