Ryan Nowak
1ab264cb7d
Make the authorizer and registry authorizer configurable
...
Fixes : #12584
This change makes the authorizer and registryAuthorizer of the registry client configurable via options. This allows Go SDK users to override the authentication behavior of the client.
This PR makes both the authorizer and registryAuthorizer configurable because depending on the exact scenario that may be needed. The default registryAuthorizer only supports a specific implementation of the authorizer.
Signed-off-by: Ryan Nowak <nowakra@gmail.com>
10 months ago
Steve Hipwell
bb9f0f7816
feat: Added multi-platform plugin hook support
...
Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
10 months ago
Robert Sirchia
7853d49071
Merge pull request #13465 from banjoh/em/ignore-precommit-config
...
Add precommit config to .gitignore
10 months ago
George Jenkins
c724175b03
Merge pull request #13343 from niladrih/more-metadata
...
Add annotations and dependencies to get metadata output
10 months ago
Scott Rigby
bca7d31c9b
Merge pull request #12769 from banjoh/em/password-to-oci-registries
...
fix(helm): pass down username/password CLI parameters to OCI registry clients
10 months ago
Evans Mungai
7a22dd28d1
Rename CAFile to CaFile for consistency
...
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
10 months ago
Evans Mungai
3fa3daa5e6
Add precommit config to .gitignore
...
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
10 months ago
George Jenkins
1baef77c44
Update .github/workflows/scorecards.yml
...
Co-authored-by: Terry Howe <terrylhowe@gmail.com>
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
10 months ago
Mayank Shah
885e938793
Update cmd/helm/upgrade.go
...
Co-authored-by: George Jenkins <gvjenkins@gmail.com>
Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
10 months ago
Mayank Shah
7efa2862ad
Update cmd/helm/install.go
...
Co-authored-by: George Jenkins <gvjenkins@gmail.com>
Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
10 months ago
Justen Stall
7df69020d8
revert duplicate slice conditions
...
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
10 months ago
Justen Stall
8549a257d9
Update internal/third_party/dep/fs/fs.go
...
Co-authored-by: George Jenkins <gvjenkins@gmail.com>
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
10 months ago
Justen Stall
cff32ff736
restore --show-resources check in cmd/helm/status.go
...
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
10 months ago
Justen Stall
62b5bdc9f6
restore error check in secrets.go
...
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
10 months ago
Justen Stall
6aa19b8c92
more error wrapping uses
...
- replace os.IsNotExist with errors.Is and fs.ErrNotExist
- use %w directive
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
10 months ago
Justen Stall
b0944e8e7e
fix incorrect error return
...
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
10 months ago
Justen Stall
63cf42a843
fix: replace "github.com/pkg/errors" with stdlib "errors" package
...
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
10 months ago
Justen Stall
28be06e1d0
remove references to the removed flags in help text
...
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
10 months ago
Justen Stall
33f78efe1d
fix unit tests
...
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
10 months ago
KISHOREKUMAR THUDI
2c8cfaea41
Replacing NewSimpleClientSet to NewClientSet due to deprecation
...
Signed-off-by: KISHOREKUMAR THUDI <kishorekumarthudi@kishore.myfiosgateway.com>
10 months ago
Justen Stall
0a64f74a25
update references to statusPrinter
...
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
10 months ago
Matt Farina
ecc4adee69
Merge pull request #13443 from mattfarina/update-docs-v4
...
Updating docs around v3 and v4
10 months ago
Robert Sirchia
21568dee29
Merge pull request #13425 from MathieuCesbron/main
...
Fix typo "re-use" to "reuse"
10 months ago
Justen Stall
483697584f
fix(status): remove --show-desc and --show-resources flags
...
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
10 months ago
George Jenkins
a9187bd41c
Merge pull request #13426 from helm/dependabot/go_modules/github.com/distribution/distribution/v3-3.0.0-rc.1
...
Bump github.com/distribution/distribution/v3 from 3.0.0-20221208165359-362910506bc2 to 3.0.0-rc.1
10 months ago
Matt Farina
8bc122e497
Updating docs around v3 and v4
...
The README and contributing document now directly address Helm
v4 and v3 to direct contributors.
Signed-off-by: Matt Farina <matt@mattfarina.com>
10 months ago
Mayank Shah
c3a5f27c77
Add --take-ownership flag for install and upgrade commands
...
The `TakeOwnership` setting was added to the install and upgrade actions in
https://github.com/helm/helm/pull/12876
This PR allows setting this option on install and upgrade via the CLI
using a --take-ownership flag
Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
10 months ago
dependabot[bot]
dc75e5ffab
Bump github.com/distribution/distribution/v3
...
Bumps [github.com/distribution/distribution/v3](https://github.com/distribution/distribution ) from 3.0.0-20221208165359-362910506bc2 to 3.0.0-rc.1.
- [Release notes](https://github.com/distribution/distribution/releases )
- [Commits](https://github.com/distribution/distribution/commits/v3.0.0-rc.1 )
---
updated-dependencies:
- dependency-name: github.com/distribution/distribution/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
10 months ago
George Jenkins
dd35343988
Merge pull request #13428 from helm/dependabot/go_modules/golang.org/x/crypto-0.29.0
...
Bump golang.org/x/crypto from 0.28.0 to 0.29.0
10 months ago
Matt Farina
aded0ac150
Merge pull request #13432 from mattfarina/ci-for-v3
...
Adding CI for dev-v3 branch
10 months ago
Matt Farina
b5a83ea821
Adding CI for dev-v3 branch
...
When the main branch is for Helm v4, the dev-v3 branch is for Helm v3.
Note, the canary release is setup for helm v4 once the v3 branch is created
and there is no canary release for v3.
Signed-off-by: Matt Farina <matt.farina@suse.com>
10 months ago
dependabot[bot]
a2d289f569
Bump golang.org/x/crypto from 0.28.0 to 0.29.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.28.0 to 0.29.0.
- [Commits](https://github.com/golang/crypto/compare/v0.28.0...v0.29.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
11 months ago
Matt Farina
2aba8a1fcd
Merge pull request #13424 from wangjingcun/main
...
fix: fix label name
11 months ago
Robert Sirchia
cf871d2bb0
Merge pull request #13423 from tjasko/bug/subchart-error-messaging
...
Updating subchart load error to be more descriptive
11 months ago
mathieu cesbron
fc17fc75e2
Fix typo "re-use" to "reuse"
...
Signed-off-by: mathieu cesbron <mathieu.rudy.cesbron@gmail.com>
11 months ago
wangjingcun
e4062e7e00
fix: fix label name
...
Signed-off-by: wangjingcun <wangjingcun@aliyun.com>
11 months ago
Taylor Jasko
6f2f7d4781
Updating subchart load error to be more descriptive
...
In the event some malformed folders/files make its way into the
`charts/` directory meant for subcharts, it is possible one may see an
error message like the below:
```
Error: error unpacking foo in app: Chart.yaml file is missing
```
This error is not very descriptive, as it doesn't reference where on
disk `Chart.yaml` is missing. In the event this happens, this error is
being updated to include that `Chart.yaml` is missing for the `foo`
subchart.
Without this updated error messaging, one would need to look into Helm's
codebase to troubleshoot what exactly is wrong.
Signed-off-by: Taylor Jasko <taylor@taylorjasko.com>
11 months ago
Robert Sirchia
106e2f98e3
Merge pull request #13418 from alex-kattathra-johnson/issue-13417
...
Add tests to `helm/pkg/kube/client_test.go` to cover `wait.go`
11 months ago
Matt Farina
7b62210206
Merge pull request #13420 from zachburg/main
...
Fix typo in pkg/lint/rules/chartfile_test.go
11 months ago
Alex Johnson
9fd943b481
Add tests to `helm/pkg/kube/client_test.go` to cover `wait.go`
...
Signed-off-by: Alex Johnson <alex.kattathra.johnson@gmail.com>
11 months ago
Zach Burgess
0cc78c6ac3
Fix typo in pkg/lint/rules/chartfile_test.go
...
Signed-off-by: Zach Burgess <zachburg@google.com>
11 months ago
Matt Farina
261233caec
Merge pull request #12620 from helm/dependabot/github_actions/actions/stale-9.0.0
...
chore(deps): bump actions/stale from 3.0.14 to 9.0.0
11 months ago
Matt Farina
fab22eb418
Merge pull request #13416 from mattfarina/build-release-bigger-runner
...
Increasing the size of the runner used for releases.
11 months ago
Matt Farina
029e983241
Increasing the size of the runner used for releases.
...
Note, this runner is provided as part of the CNCF access to GitHub
Enterprise runners.
Signed-off-by: Matt Farina <matt.farina@suse.com>
11 months ago
Matt Farina
2848e3db51
Merge pull request #13365 from idsulik/issue-13363
...
fix(hooks): correct hooks delete order
11 months ago
Suleiman Dibirov
f4f4a6b81f
fix(hooks): correct hooks delete order
...
Signed-off-by: Suleiman Dibirov <idsulik@gmail.com>
11 months ago
Robert Sirchia
d2ae7d0ed1
Merge pull request #13412 from xtlsoft/main
...
Allow tests to run on loong64
11 months ago
Tianle Xu
a51ea6ec73
Allow tests to run on loong64
...
Signed-off-by: Tianle Xu <xtl@xtlsoft.top>
11 months ago
Andrew Block
717529a7e5
Merge pull request #13376 from helm/fix_oci_push_timestamp
...
fix: Use chart archive modifed time for OCI push
11 months ago
Robert Sirchia
5ae91e11ae
Merge pull request #13034 from mattclegg/issue-9507
...
ISSUE-9507: ADD `application/gzip,application/octet-stream` accept header
11 months ago