controller add sleep before annotate hr
Signed-off-by: kklinch0 <kklinch0@gmail.com>
This commit is contained in:
parent
992162f507
commit
9629ee7298
2 changed files with 2 additions and 0 deletions
|
|
@ -33,6 +33,7 @@ const requestedAt = "reconcile.fluxcd.io/requestedAt"
|
|||
|
||||
func (r *CozystackConfigReconciler) Reconcile(ctx context.Context, _ ctrl.Request) (ctrl.Result, error) {
|
||||
log := log.FromContext(ctx)
|
||||
time.Sleep(2 * time.Second)
|
||||
|
||||
digest, err := r.computeDigest(ctx)
|
||||
if err != nil {
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ type TenantHelmReconciler struct {
|
|||
|
||||
func (r *TenantHelmReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
|
||||
logger := log.FromContext(ctx)
|
||||
time.Sleep(2 * time.Second)
|
||||
|
||||
hr := &helmv2.HelmRelease{}
|
||||
if err := r.Get(ctx, req.NamespacedName, hr); err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue