Skip to content

Commit 9099b49

Browse files
author
Sinelnikov Michail
committed
add featgate
Signed-off-by: Sinelnikov Michail <mikhail.sinelnikov@flant.com>
1 parent 47ba374 commit 9099b49

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/helm/nelm/nelm.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import (
1515
"github.com/deckhouse/deckhouse/pkg/log"
1616
"github.com/werf/nelm/pkg/action"
1717
"github.com/werf/nelm/pkg/common"
18+
"github.com/werf/nelm/pkg/featgate"
1819
nelmLog "github.com/werf/nelm/pkg/log"
1920
"helm.sh/helm/v3/pkg/cli"
2021
"k8s.io/cli-runtime/pkg/genericclioptions"
@@ -93,6 +94,8 @@ func NewNelmClient(opts *CommonOptions, logger *log.Logger, labels map[string]st
9394
maps.Copy(clientLabels, labels)
9495
}
9596

97+
featgate.FeatCleanNullFields.Enable()
98+
9699
return &NelmClient{
97100
logger: logger.With("operator.component", "nelm"),
98101
labels: clientLabels,

0 commit comments

Comments
 (0)