Mujib Ahasan
263749874c
fix: error handled correctly
...
Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>
(cherry picked from commit 94860626ce )
2 weeks ago
Mujib Ahasan
961d7d7cd6
fix: doc string added
...
Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>
(cherry picked from commit 12e8b715aa )
2 weeks ago
Mujib Ahasan
29e45067f3
update: test coverage added for helper function validateNameAndGenerateName
...
Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>
(cherry picked from commit 115409976b )
2 weeks ago
Mujib Ahasan
d55b0b9022
update: helper function added for the business logic
...
Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>
(cherry picked from commit 522d2fe615 )
2 weeks ago
Mujib Ahasan
c1c090e8ce
generateName is also considered in logic
...
Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>
(cherry picked from commit 6769fb6fb6 )
2 weeks ago
Mujib Ahasan
5e093136f4
update: business logic respected for skipping object missing name
...
Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>
(cherry picked from commit b357bcae86 )
2 weeks ago
Mujib Ahasan
f289d1605c
fixed: --dry-run=server now respect generateName
...
Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>
(cherry picked from commit 2820ebe8c9 )
2 weeks ago
Orgad Shaneh
bfac7393e4
fix(downloader): safely handle concurrent file writes on Windows
...
When multiple processes try to download the same chart version
concurrently (e.g., via Terraform), they can race to write the
destination file. On Windows, this results in 'Access Denied'
errors because the file cannot be renamed while another process
has a handle to the destination.
This commit introduces 'PlatformAtomicWriteFile' to the fileutil
package. On Unix-like systems, it simply delegates to AtomicWriteFile,
maintaining existing behavior. On Windows, it coordinates writes using
a lock file (.lock). It acquires the lock, then performs the atomic
write.
Crucially, this implementation ensures that existing files are
overwritten (rather than skipped). This ensures that if a chart is
republished with the same version, the local cache is correctly updated,
preventing stale data issues.
Fixes #31633
Signed-off-by: Orgad Shaneh <orgad.shaneh@audiocodes.com>
(cherry picked from commit 76eb37c01a )
2 weeks ago
Matheus Pimenta
5caf0044d4
feat(kstatus): fine-grained context options for waiting
...
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2 months ago
Matheus Pimenta
2519a88b0b
bugfix(kstatus): do not wait forever on failed resources
...
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2 months ago
Matheus Pimenta
b2c487c436
Revert "Consider GroupVersionKind when matching resources"
...
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2 months ago
Philipp Born
261387a112
fix(copystructure): handle nil elements in slice copying
...
When copying slices containing nil interface{} elements, the copyValue
function would panic with 'reflect: call of reflect.Value.Set on zero
Value'. This occurred because reflect.ValueOf(nil) returns a zero Value
that cannot be set.
This issue was introduced in v4.1.0 when replacing mitchellh/copystructure
with an internal implementation. The fix mirrors the existing nil handling
logic used for map values.
Fixes helm template panic when processing charts with YAML like:
extraArgs:
-
Added test case to verify slice elements with nil values are properly
handled during deep copy operations.
Signed-off-by: Philipp Born <git@pborn.eu>
2 months ago
Scott Rigby
4553a0a96e
Merge pull request #31706 from matheuscscp/custom-kstatus-readers
...
pkg/kube: introduce support for custom kstatus readers
2 months ago
Evans Mungai
f46f1ce55d
Update pkg/kube/statuswait.go
...
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2 months ago
Matheus Pimenta
59ece92bed
pkg/kube: introduce support for custom kstatus readers
...
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2 months ago
Evans Mungai
3120e88f9b
Merge pull request #31713 from helm/dependabot/go_modules/main/golang.org/x/term-0.39.0
...
chore(deps): bump golang.org/x/term from 0.38.0 to 0.39.0
2 months ago
dependabot[bot]
de0becdc57
chore(deps): bump golang.org/x/term from 0.38.0 to 0.39.0
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.38.0 to 0.39.0.
- [Commits](https://github.com/golang/term/compare/v0.38.0...v0.39.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-version: 0.39.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 months ago
Evans Mungai
951c630e2c
Merge pull request #31712 from helm/dependabot/go_modules/main/golang.org/x/text-0.33.0
...
chore(deps): bump golang.org/x/text from 0.32.0 to 0.33.0
2 months ago
dependabot[bot]
46e52649ea
chore(deps): bump golang.org/x/text from 0.32.0 to 0.33.0
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.32.0 to 0.33.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.32.0...v0.33.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-version: 0.33.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 months ago
Evans Mungai
b07261c045
Merge pull request #31710 from banjoh/em/fix-test-compilation-error
...
fix(release): fix test compilation error
2 months ago
Evans Mungai
e751a70e84
fix(release): fix test compilation error
...
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2 months ago
Evans Mungai
2e2cb05855
Merge pull request #31427 from tisonkun/resolve-todo
...
Check plugin name is not used
2 months ago
Evans Mungai
05f25a3834
Merge pull request #31579 from benoittgt/delete-hook-after-log-retrieval
...
fix: Delay test hook deletion until after logs are retrieved with `helm test release --logs`
2 months ago
Evans Mungai
c3a0d3b860
Merge pull request #31698 from sarfraj89/fix-shellcheck-lint
...
Lint sync-repo.sh with ShellCheck
2 months ago
Sarfraj Khan
9125b84f45
Suppress SC2154 without changing behavior
...
Signed-off-by: Sarfraj Khan <try.sarfraj@gmail.com>
2 months ago
Terry Howe
429ce93848
Merge pull request #31613 from aslafy-z/feat/getter-env
...
fix(getter): pass settings environment variables
2 months ago
Terry Howe
8fcb7d1f63
Merge pull request #31700 from helm/dependabot/go_modules/main/github.com/foxcpp/go-mockdns-1.2.0
...
chore(deps): bump github.com/foxcpp/go-mockdns from 1.1.0 to 1.2.0
2 months ago
dependabot[bot]
0e0c02e6a7
chore(deps): bump github.com/foxcpp/go-mockdns from 1.1.0 to 1.2.0
...
Bumps [github.com/foxcpp/go-mockdns](https://github.com/foxcpp/go-mockdns ) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/foxcpp/go-mockdns/releases )
- [Commits](https://github.com/foxcpp/go-mockdns/compare/v1.1.0...v1.2.0 )
---
updated-dependencies:
- dependency-name: github.com/foxcpp/go-mockdns
dependency-version: 1.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 months ago
sarfraj89
d4a2787fca
Lint sync-repo.sh with ShellCheck
...
Signed-off-by: sarfraj89 <try.sarfraj@gmail.com>
2 months ago
Terry Howe
08f17fc947
Merge pull request #31683 from majiayu000/fix-13198---api-versions-is-undocumented-1230-2329
...
fix: `--api-versions` is undocumented
3 months ago
George Jenkins
90a550098b
Merge pull request #31673 from jylenhof/main
...
docs(README): add mise alternate installation documentation
3 months ago
George Jenkins
fa41d60d73
Merge pull request #31239 from StephanieHhnbrg/test-actions-pkg
...
Add tests to action package to improve coverage
3 months ago
Terry Howe
ca45f8c719
Merge pull request #31685 from atombrella/feature/reflect_pointer
...
Replace reflect.Ptr with reflect.Pointer
3 months ago
Scott Rigby
9de23eada9
Merge pull request #31687 from banjoh/em/move-evans-from-triage-to-maintainers
3 months ago
Terry Howe
bed5b732ba
Merge pull request #31684 from Skarlso/fix-function-naming
...
fix: typo in the function names
3 months ago
Evans Mungai
fd090cce0c
chore: move Evans Mungai from triage to maintainers
...
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
3 months ago
Mads Jensen
2d6d9c09c4
Replace reflect.Ptr with reflect.Pointer
...
The reflect package has a go:fix annotation for Ptr = Pointer.
Signed-off-by: Mads Jensen <atombrella@users.noreply.github.com>
3 months ago
Gergely Brautigam
138f730aac
fix: typo in the function names
...
Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
3 months ago
majiayu000
c7cc77b68d
Add documentation for --api-versions flag in template command
...
The --api-versions flag was undocumented in the template command's
help text. This adds usage documentation and examples showing both
comma-separated and multiple flag usage patterns.
Fixes #13198
Signed-off-by: majiayu000 <1835304752@qq.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: majiayu000 <1835304752@qq.com>
3 months ago
George Jenkins
32428a0c70
Merge pull request #31680 from mattfarina/update-cli-tools-k8s-1.35
...
Update cli tools and k8s 1.35 packages
3 months ago
Matt Farina
fe1c749183
Fixing failing tests for cli-tools update
...
Tests were failing for cli-utils watcher because upstream k8s made
changes that impacted cli-utils. In k8s WatchListClient is now
enabled by default. Fake clients used for testing don't know this
semantic. cli-utils leverages reflection in k8s to handle this.
The Helm tests didn't handle this well.
The tests are updated to use PrependReactor and PrependWatchReactor
in the same way that cli-utils does for testing. This works without
wrapping the client.
Signed-off-by: Matt Farina <matt.farina@suse.com>
3 months ago
dependabot[bot]
5e82698d57
chore(deps): bump github.com/fluxcd/cli-utils
...
Bumps [github.com/fluxcd/cli-utils](https://github.com/fluxcd/cli-utils ) from 0.36.0-flux.15 to 0.37.0-flux.1.
- [Commits](https://github.com/fluxcd/cli-utils/compare/v0.36.0-flux.15...v0.37.0-flux.1 )
---
updated-dependencies:
- dependency-name: github.com/fluxcd/cli-utils
dependency-version: 0.37.0-flux.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 months ago
George Jenkins
118d90e810
Merge pull request #31677 from gjenkins8/gjenkins/new_client_set
...
chore: Replace deprecated `NewSimpleClientset`
3 months ago
George Jenkins
a15db7f087
Replace deprecated `NewSimpleClientset`
...
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
3 months ago
Terry Howe
8802d959cb
Merge pull request #31104 from LinPr/fix
...
fix: assign KUBECONFIG environment variable value to env.Kubeconfig
3 months ago
jylenhof
04198dcf8a
docs(README): add mise alternate installation documentation
...
Signed-off-by: jylenhof <jygithub@lenhof.eu.org>
3 months ago
George Jenkins
f05c21b6b6
Merge pull request #31296 from gjenkins8/gjenkins/runtime_kube_version
...
build: set kube version via `debug.BuildInfo`
3 months ago
George Jenkins
24e8297343
Merge pull request #31610 from mohsenmottaghi/fix-helm-4-watch-strategy
...
fix: use namespace-scoped watching to avoid cluster-wide LIST permiss…
3 months ago
George Jenkins
f562a36d58
Merge pull request #31669 from brendenehlers/fix/31665
...
fix : #31665 add default cases to switch statements
3 months ago
Brenden Ehlers
9a898af7f2
enable exhaustive linter
...
Signed-off-by: Brenden Ehlers <brenden@theehlers.org>
3 months ago