# Functions
GarbageCollectAllSoftOwnedOrphanSecrets iterates over all Secrets that reference a soft owner.
GarbageCollectSoftOwnedSecrets deletes all secrets whose labels reference a soft owner.
GenericEventHandler returns an EventHandler that enqueues a reconciliation request from the generic event NamespacedName.
No description provided by the author
ReconcileResource is a generic reconciliation function for resources that need to implement runtime.Object and meta/v1.Object.
ReconcileSecret creates or updates the actual secret to match the expected one.
ReconcileSecretNoOwnerRef should be called to reconcile a Secret for which we explicitly don't want an owner reference to be set, and want existing ownerReferences from previous operator versions to be removed, because of this k8s bug: https://github.com/kubernetes/kubernetes/issues/65200 (fixed in k8s 1.20).
No description provided by the author
SoftOwnerRefFromLabels parses the given labels to return a SoftOwnerRef.
No description provided by the author
# Constants
labels set on secrets which cannot rely on owner references due to https://github.com/kubernetes/kubernetes/issues/65200, but should still be garbage-collected (best-effort) by the operator upon owner deletion.
labels set on secrets which cannot rely on owner references due to https://github.com/kubernetes/kubernetes/issues/65200, but should still be garbage-collected (best-effort) by the operator upon owner deletion.
labels set on secrets which cannot rely on owner references due to https://github.com/kubernetes/kubernetes/issues/65200, but should still be garbage-collected (best-effort) by the operator upon owner deletion.
# Variables
No description provided by the author
# Structs
Params is a parameter object for the ReconcileResources function.
ReconciliationState extends a reconciliation result with an optional reason that can be surfaced in the status.
Results collects intermediate results of a reconciliation run and any errors that occurred.
No description provided by the author