mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-06-23 21:54:23 -04:00
bootstrapper: calculate duration for all Helm charts
This commit is contained in:
parent
4bf2498793
commit
c1112addff
2 changed files with 7 additions and 4 deletions
|
@ -248,12 +248,10 @@ func (k *KubeWrapper) InitCluster(
|
|||
|
||||
// cert-manager is necessary for our operator deployments.
|
||||
log.Infof("Installing cert-manager")
|
||||
timeToStartWaiting = time.Now()
|
||||
if err = k.helmClient.InstallCertManager(ctx, helmReleases.CertManager); err != nil {
|
||||
return nil, fmt.Errorf("installing cert-manager: %w", err)
|
||||
}
|
||||
timeUntilFinishedWaiting = time.Since(timeToStartWaiting)
|
||||
log.With(zap.Duration("duration", timeUntilFinishedWaiting)).Infof("cert-manager installation finished")
|
||||
|
||||
operatorVals, err := k.setupOperatorVals(ctx)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("setting up operator vals: %w", err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue