Skip to content

Commit f8a1567

Browse files
authored
Merge pull request #1311 from NVIDIA/dependabot/go_modules/tests/helm.sh/helm/v3-3.18.4
Bump helm.sh/helm/v3 from 3.17.3 to 3.18.4 in /tests
2 parents 73dcb6d + c0a471f commit f8a1567

File tree

4 files changed

+18
-4
lines changed

4 files changed

+18
-4
lines changed

tests/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ require (
170170
gopkg.in/inf.v0 v0.9.1 // indirect
171171
gopkg.in/yaml.v2 v2.4.0 // indirect
172172
gopkg.in/yaml.v3 v3.0.1 // indirect
173-
helm.sh/helm/v3 v3.17.3 // indirect
173+
helm.sh/helm/v3 v3.17.4 // indirect
174174
k8s.io/apiserver v0.32.3 // indirect
175175
k8s.io/cli-runtime v0.32.3 // indirect
176176
k8s.io/component-base v0.32.3 // indirect

tests/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,8 +529,8 @@ gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
529529
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
530530
gotest.tools/v3 v3.4.0 h1:ZazjZUfuVeZGLAmlKKuyv3IKP5orXcwtOwDQH6YVr6o=
531531
gotest.tools/v3 v3.4.0/go.mod h1:CtbdzLSsqVhDgMtKsx03ird5YTGB3ar27v0u/yKBW5g=
532-
helm.sh/helm/v3 v3.17.3 h1:3n5rW3D0ArjFl0p4/oWO8IbY/HKaNNwJtOQFdH2AZHg=
533-
helm.sh/helm/v3 v3.17.3/go.mod h1:+uJKMH/UiMzZQOALR3XUf3BLIoczI2RKKD6bMhPh4G8=
532+
helm.sh/helm/v3 v3.17.4 h1:GK+vgn9gKCyoH44+f3B5zpA78iH3AK4ywIInDEmmn/g=
533+
helm.sh/helm/v3 v3.17.4/go.mod h1:+uJKMH/UiMzZQOALR3XUf3BLIoczI2RKKD6bMhPh4G8=
534534
k8s.io/api v0.32.3 h1:Hw7KqxRusq+6QSplE3NYG4MBxZw1BZnq4aP4cJVINls=
535535
k8s.io/api v0.32.3/go.mod h1:2wEDTXADtm/HA7CCMD8D8bK4yuBUptzaRhYcYEEYA3k=
536536
k8s.io/apiextensions-apiserver v0.32.3 h1:4D8vy+9GWerlErCwVIbcQjsWunF9SUGNu7O7hiQTyPY=

tests/vendor/helm.sh/helm/v3/pkg/downloader/manager.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -852,6 +852,20 @@ func writeLock(chartpath string, lock *chart.Lock, legacyLockfile bool) error {
852852
lockfileName = "requirements.lock"
853853
}
854854
dest := filepath.Join(chartpath, lockfileName)
855+
856+
info, err := os.Lstat(dest)
857+
if err != nil && !os.IsNotExist(err) {
858+
return fmt.Errorf("error getting info for %q: %w", dest, err)
859+
} else if err == nil {
860+
if info.Mode()&os.ModeSymlink != 0 {
861+
link, err := os.Readlink(dest)
862+
if err != nil {
863+
return fmt.Errorf("error reading symlink for %q: %w", dest, err)
864+
}
865+
return fmt.Errorf("the %s file is a symlink to %q", lockfileName, link)
866+
}
867+
}
868+
855869
return os.WriteFile(dest, data, 0644)
856870
}
857871

tests/vendor/modules.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ gopkg.in/yaml.v2
783783
# gopkg.in/yaml.v3 v3.0.1
784784
## explicit
785785
gopkg.in/yaml.v3
786-
# helm.sh/helm/v3 v3.17.3
786+
# helm.sh/helm/v3 v3.17.4
787787
## explicit; go 1.23.0
788788
helm.sh/helm/v3/internal/fileutil
789789
helm.sh/helm/v3/internal/resolver

0 commit comments

Comments
 (0)