Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Condition types TypeReady = "Ready" TypeVaultUnsealed = "VaultUnsealed" TypeUnsealJobCreated = "UnsealJobCreated" TypeSecretAvailable = "SecretAvailable" TypeCACertAvailable = "CACertAvailable" TypeVaultReachable = "VaultReachable" // Condition reasons ReasonUnsealSuccessful = "UnsealSuccessful" ReasonUnsealFailed = "UnsealFailed" ReasonVaultSealed = "VaultSealed" ReasonJobCreated = "JobCreated" ReasonJobFailed = "JobFailed" ReasonSecretNotFound = "SecretNotFound" ReasonSecretFound = "SecretFound" ReasonCACertNotFound = "CACertNotFound" ReasonCACertFound = "CACertFound" ReasonVaultUnreachable = "VaultUnreachable" ReasonVaultReachable = "VaultReachable" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UnsealReconciler ¶
type UnsealReconciler struct {
client.Client
Scheme *runtime.Scheme
// UnsealerImage holds the container image used for unsealing jobs, configured via the UNSEALER_IMAGE environment variable via kustomize.
UnsealerImage string
// contains filtered or unexported fields
}
UnsealReconciler reconciles a Unseal object
func (*UnsealReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Unseal object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.22.4/pkg/reconcile
func (*UnsealReconciler) SetupWithManager ¶
func (r *UnsealReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.