Trigger heartbeat 10 mins after install (#5732)

Restores how this was working before it was unintentionally changed to run at midnight in 2.8
This commit is contained in:
Alejandro Pedraza 2021-02-12 11:01:30 -05:00 committed by GitHub
parent 41c7b948a1
commit 21038e7846
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -306,6 +306,9 @@ func install(ctx context.Context, w io.Writer, values *l5dcharts.Values, flags [
return err
}
t := time.Now().Add(10 * time.Minute).UTC()
values.HeartbeatSchedule = fmt.Sprintf("%d %d * * * ", t.Minute(), t.Hour())
return render(w, values, stage, options)
}