mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-22 21:31:14 -05:00
bootstrapper: fix loglevel in helm install retry
One needs to set a different log verbosity to see logs logged with Debugf.
This commit is contained in:
parent
c29107f5be
commit
091f6fd13a
@ -22,6 +22,7 @@ import (
|
||||
"github.com/edgelesssys/constellation/v2/internal/deploy/helm"
|
||||
"github.com/edgelesssys/constellation/v2/internal/logger"
|
||||
"github.com/edgelesssys/constellation/v2/internal/retry"
|
||||
"go.uber.org/zap"
|
||||
"helm.sh/helm/v3/pkg/action"
|
||||
"helm.sh/helm/v3/pkg/chart"
|
||||
"helm.sh/helm/v3/pkg/chart/loader"
|
||||
@ -222,7 +223,7 @@ type installDoer struct {
|
||||
|
||||
// Do logs which chart is installed and tries to install it.
|
||||
func (i installDoer) Do(ctx context.Context) error {
|
||||
i.log.Debugf("trying helm install for chart %s", i.chart.Name())
|
||||
i.log.With(zap.String("chart", i.chart.Name())).Infof("Trying to install helm chart")
|
||||
|
||||
_, err := i.client.RunWithContext(ctx, i.chart, i.values)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user