Documentation ¶
Index ¶
Constants ¶
const ( // Replace certificate 10min before it expires SecondsBeforeExpire = 600 // RequeToWorkAfterH will have 48 hours in seconds RequeToWorkAfterH = 48 * 3600 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VaultCertificateReconciler ¶ added in v0.3.7
type VaultCertificateReconciler struct { client.Client Scheme *runtime.Scheme // For test purposes VaultAPI *vaultapi.Config AuthMethod string Log logr.Logger // contains filtered or unexported fields }
VaultCertificateReconciler reconciles a VaultCertificate object
func (*VaultCertificateReconciler) Reconcile ¶ added in v0.3.7
func (r *VaultCertificateReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile
func (*VaultCertificateReconciler) SetupWithManager ¶ added in v0.3.7
func (r *VaultCertificateReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type VaultSecretReconciler ¶
type VaultSecretReconciler struct { client.Client Scheme *runtime.Scheme // For test purposes VaultAPI *vaultapi.Config AuthMethod string Log logr.Logger // contains filtered or unexported fields }
VaultSecretReconciler reconciles a VaultSecret object
func (*VaultSecretReconciler) Reconcile ¶
func (r *VaultSecretReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
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 VaultSecret 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.7.0/pkg/reconcile
func (*VaultSecretReconciler) SetupWithManager ¶
func (r *VaultSecretReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.