fix(yaml): consolidate dependencies BE-12695 (#2015)

This commit is contained in:
andres-portainer
2026-03-06 18:21:12 -03:00
committed by GitHub
parent 97e69b9887
commit 0e2cf82e3e
3 changed files with 5 additions and 3 deletions
+2
View File
@@ -54,6 +54,8 @@ linters:
desc: github.com/ProtonMail/go-crypto/openpgp is not allowed because of FIPS mode
- pkg: github.com/cosi-project/runtime
desc: github.com/cosi-project/runtime is not allowed because of FIPS mode
- pkg: gopkg.in/yaml.v2
desc: use go.yaml.in/yaml/v3 instead
- pkg: gopkg.in/yaml.v3
desc: use go.yaml.in/yaml/v3 instead
forbidigo:
-1
View File
@@ -59,7 +59,6 @@ require (
golang.org/x/mod v0.29.0
golang.org/x/oauth2 v0.30.0
golang.org/x/sync v0.18.0
gopkg.in/yaml.v2 v2.4.0
helm.sh/helm/v3 v3.18.5
k8s.io/api v0.33.3
k8s.io/apimachinery v0.33.4
+3 -2
View File
@@ -3,11 +3,12 @@ package sdk
import (
"os"
"github.com/pkg/errors"
"github.com/portainer/portainer/pkg/libhelm/options"
"github.com/portainer/portainer/pkg/libhelm/release"
"github.com/pkg/errors"
"github.com/rs/zerolog/log"
"gopkg.in/yaml.v2"
"go.yaml.in/yaml/v3"
"helm.sh/helm/v3/pkg/action"
"helm.sh/helm/v3/pkg/chartutil"
)