Matt Farina
2da76a06e7
Merge pull request #13345 from AdamKorcz/fuzzzzz2
...
add chart fuzz tests
12 months ago
Matt Farina
7ad309791c
Merge pull request #13344 from AdamKorcz/fuzzzz1
...
add strvals fuzzer from cncf-fuzzing
12 months ago
Matt Farina
eecb848dcb
Merge pull request #13301 from NathanBaulch/typos
...
Fix typos
1 year ago
Matt Farina
d45439f2e9
Merge pull request #11923 from Bhargav-InfraCloud/helm-create-deprication-tests
...
test(create): Add test to check deprecated `apiVersion`s in resource templates created by `helm create`
1 year ago
Adam Korczynski
b203cc17c8
add strvals fuzzer from cncf-fuzzing
...
Signed-off-by: Adam Korczynski <adam@adalogics.com>
1 year ago
Adam Korczynski
e432f39ea7
add chart fuzz tests
...
Signed-off-by: Adam Korczynski <adam@adalogics.com>
1 year ago
Nathan Baulch
ef85fa7f2d
Grammar fixes
...
Signed-off-by: Nathan Baulch <nathan.baulch@gmail.com>
1 year ago
Nathan Baulch
ff9dd262e3
Fix typos
...
Signed-off-by: Nathan Baulch <nathan.baulch@gmail.com>
1 year ago
Matt Farina
b7c29d776f
Merge pull request #13329 from chenrui333/fix-test-chart
...
fix: fix testchart lint errors
1 year ago
Rui Chen
ddead08eb8
fix: fix testchart lint errors
...
Signed-off-by: Rui Chen <rui@chenrui.dev>
1 year ago
Fred Heinecke
30ce031d77
Merge branch 'main' into feat/add-toyamlpretty-1
1 year ago
Joe Julian
ff4877e696
Merge pull request #13224 from sttts/sttts-fix-apiext-registration
...
kube/client: add to global client-go scheme in init func
1 year ago
Joe Julian
1c73ea44ad
Merge remote-tracking branch 'upstream/main' into feat/toml-parsing
...
Signed-off-by: Joe Julian <me@joejulian.name>
1 year ago
Matt Farina
c81bd8912e
Revert "Improve helm dependency update performance"
...
The change in #11726 caused a regression where `helm dependency udpate`
stopped working. The format of the internal representation of the data
changed causing errors of "non-absolute URLs should be in form of
repo_name/path_to_chart". See #13324 for more details.
Since this change is in released Helm and it's a regression, reverting
the original change was the fastest and safest route to deliver a
fix as quickly as possible.
Closes #13324
Signed-off-by: Matt Farina <matt.farina@suse.com>
1 year ago
Matt Farina
d644da6205
bump version to v3.16.0
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 0d439e1a09
)
Signed-off-by: Matt Farina <matt.farina@suse.com>
1 year ago
Matt Farina
36ae5168bd
Merge pull request #13256 from robertsirc/issue-13229
...
Updating the inline documentation.
1 year ago
Andrew Block
a6f5844fb4
Merge pull request #13231 from dnskr/helm-create-drop-old-kubernetes-support
...
ref(create): drop old Kubernetes versions support in Ingress template
1 year ago
Joe Julian
333754479b
Merge pull request #11726 from Nordix/fixDepUpPerformance
...
Improve helm dependency update performance
1 year ago
Robert Sirchia
b92cc927d1
fixing changes as per requested.
...
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
1 year ago
Robert Sirchia
b98952fb01
Merge branch 'helm:main' into issue-13229
1 year ago
Matt Farina
109dbe7c18
Merge pull request #13172 from maorfr/repository-cache-help-fix
...
fix repository-cache flag help description from file to directory
1 year ago
Robert Sirchia
e72978edcf
Updating the inline documentation.
...
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
1 year ago
Scott Rigby
8a26add23f
Fix linting error for pr 12876
...
golangci-lint passed when last commit was made on #12876 , but has since failed.
This is probably because the linter has since updated.
I ran locally with the same version of golangci-lint we run in GH Actions, and
this is the only error now (an additional linting error in
pkg/action/package.go since #12876 has already been fixed.
```sh
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.58.1
./bin/golangci-lint run pkg/action/...
./bin/golangci-lint run ./...
```
we should be good now.
Signed-off-by: Scott Rigby <scott@r6by.com>
1 year ago
Matt Farina
c261d0655c
Merge pull request #12876 from manno/sdk-ignore-missing-annotations
...
Allow install, update action to adopt existing resources (sdk only)
1 year ago
Scott Rigby
f0442777bb
Merge pull request #12743 from anessi/feat/skip-schema-validation
...
feat(helm): add --skip-schema-validation flag to helm 'install', 'uprade' and 'lint'
1 year ago
dnskr
f9ba3c568b
ref(create): drop old Kubernetes versions support in Ingress template
...
Signed-off-by: Denis Krivenko <dnskrv88@gmail.com>
Signed-off-by: dnskr <dnskrv88@gmail.com>
1 year ago
Evans Mungai
0687961da4
Revert CAFile rename breaking change
...
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
1 year ago
MichaelMorris
9e5f465499
Merge branch 'helm:main' into fixDepUpPerformance
...
Signed-off-by: MichaelMorris <michael.morris@est.tech>
1 year ago
Dr. Stefan Schimanski
b9bdeca93b
kube/client: add to global client-go scheme in init func
...
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
1 year ago
ricardo.bartels@telekom.de
af13b0d8dc
adds tests for handling of Helm index with broken chart versions #13176
...
Signed-off-by: ricardo.bartels@telekom.de <ricardo.bartels@telekom.de>
1 year ago
ricardo.bartels@telekom.de
154b477554
improves handling of Helm index with broken helm chart versions #13176
...
Signed-off-by: ricardo.bartels@telekom.de <ricardo.bartels@telekom.de>
1 year ago
Maor Friedman
84cbb2c59b
fix repository-cache flag help description from file to directory
...
Signed-off-by: Maor Friedman <mafriedm@redhat.com>
1 year ago
Joe Julian
4278ada158
Merge pull request #13085 from alex-kattathra-johnson/issue-12961
...
Fix race condition in TestInstallRelease_Wait_Interrupted test
1 year ago
Joe Julian
15e36139c1
Merge pull request #13130 from idsulik/issue-13127
...
fix: update error handling in Configuration.Init method, add tests for the method
1 year ago
Joe Julian
cda2c4f802
Merge pull request #12924 from porridge/drop-apis
...
Drop unused field.
1 year ago
Matt Farina
b3b6479e4c
Merge pull request #13117 from sidkmenon/sm/proxy-tls
...
Fix: add proxy support when mTLS configured on helm install/upgrade
1 year ago
anessi
acf7158565
feat(helm): add --skip-schema-validation flag to helm 'install', 'upgrade' and 'lint'
...
When --skip-schema-validation is set, any schema contain in the helm chart is ignored. Defaults to 'false'.
Closes #10398
Signed-off-by: anessi <16045045+anessi@users.noreply.github.com>
1 year ago
Matt Farina
ff03c66d44
Merge pull request #13120 from idsulik/issue-13110
...
fix(dependencyBuild): prevent race condition in concurrent helm dependency
1 year ago
Evans Mungai
12d8d28534
Add username/password to package subcommand
...
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
1 year ago
Evans Mungai
837ae4242c
Add username/password to dependency build/update subcommands
...
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
1 year ago
Alex Johnson
f69a2dd03e
Fix race condition in TestInstallRelease_Wait_Interrupted test
...
Signed-off-by: Alex Johnson <hello@alex-johnson.net>
1 year ago
Suleiman Dibirov
800c33a5aa
fix: update error handling in Configuration.Init method, add tests for the method
...
Signed-off-by: Suleiman Dibirov <idsulik@gmail.com>
1 year ago
Evan Foster
69362df367
fix(helm): Use burst limit setting for discovery
...
When --burst-limit/$HELM_BURST_LIMIT is set, the specified value is not
currently used for the discovery client instantiated by
genericclioptions. This change sets genericclioptions.discoveryBurst to
the value of --burst-limit, meaning it should now be possible to fix
client-side throttling issues encountered by the discovery client.
This value is only configured if --burst-limit is actually set. If
--burst-limit is set to the default value, then discoveryBurst should be
left at its default of 300.
Closes #13128
Signed-off-by: Evan Foster <efoster@adobe.com>
1 year ago
Suleiman Dibirov
adeb4ca3d9
fix(dependencyBuild): prevent race condition in concurrent helm dependency
...
Signed-off-by: Suleiman Dibirov <idsulik@gmail.com>
1 year ago
Sidharth Menon
b0603fb042
fix: respect proxy envvars on helm install/upgrade
...
Signed-off-by: Sidharth Menon <menon.sid.k@gmail.com>
1 year ago
Andrew Block
414cf94666
Merge pull request #11600 from miles-w-3/chart-notes
...
Added support for hiding notes from install/upgrade output
1 year ago
Daniel Strobusch
90df4fa4d1
fix docs of DeployedAll
...
Signed-off-by: Daniel Strobusch <1847260+dastrobu@users.noreply.github.com>
1 year ago
Matt Clegg
3c39705212
ISSUE-9507: TEST server with varied Accept Header
...
Signed-off-by: Matt Clegg <m@cle.gg>
1 year ago
Scott Rigby
51a07e7e78
Merge pull request #13013 from mattfarina/release-version-3.15
...
bump version to v3.15.0
1 year ago
fheinecke
e502486109
Merge branch 'main' into feat/add-toyamlpretty-1
...
Signed-off-by: fheinecke <23390735+fheinecke@users.noreply.github.com>
1 year ago
Matt Farina
c16b1c9f2b
Merge pull request #12867 from aauren/add_requirements.lock_warning
...
feat(load.go): add warning on requirements.lock
1 year ago
Matt Clegg
fff3547f9c
ISSUE-9507: ADD `application/gzip,application/octet-stream` accept header when downloading chart
...
Signed-off-by: Matt Clegg <m@cle.gg>
1 year ago
Matt Farina
886e626636
bump version to v3.15.0
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
(cherry picked from commit d7afa3b6b4
)
1 year ago
Matt Farina
7b70fdf2a2
Merge pull request #12701 from mattfarina/bump-version-3.14
...
bump version to 3.14
1 year ago
Matt Farina
cf823d40d4
Merge pull request #12971 from dirkmueller/cert_extended_range
...
Update testdata PKI with keys that have validity until 3393 (closes #12880 )
1 year ago
Evans Mungai
76c0f297c1
Merge remote-tracking branch 'origin/main' into em/password-to-oci-registries
1 year ago
Jeff van Dam
ee41b5f0fc
Update manager_test.go
...
Signed-off-by: Jeff van Dam <jeff.van.dam@est.tech>
1 year ago
Jeff van Dam
dc761caf00
Merge branch 'helm:main' into fixDepUpPerformance
1 year ago
Calvin Krist
214fb6eff3
Fix namespace on kubeconfig error
...
Signed-off-by: Calvin Krist <calvin.krist@yahoo.com>
1 year ago
Dirk Müller
1b75d48189
Update testdata PKI with keys that have validity until 3393 ( Fixes #12880 )
...
The ca.crt had to be regenerated because there was no ca.key. Added
new ca.key so that going forward only the certs need to be updated.
Signed-off-by: Dirk Müller <dirk@dmllr.de>
1 year ago
Marcin Owsiany
f5d2ac070d
Remove somewhat incorrect comment.
...
While no longer used by the helm code, this field is part of the API exposed to helm charts as part of the .Capabilities struct.
Signed-off-by: Marcin Owsiany <marcin@redhat.com>
1 year ago
Matt Farina
a753ee7f43
Merge pull request #12866 from robertsirc/Correcting-Linting-Errors
...
Correcting linting errors
1 year ago
Marcin Owsiany
a6863a64ce
Drop unused field.
...
Signed-off-by: Marcin Owsiany <porridge@redhat.com>
2 years ago
Bhargav Ravuri
9c0b4c8121
test(create): Test to check deprecated resource templates
...
Test to check deprecation warnings on resource templates that are
created by `helm create` against the latest Kubernetes version. This
test is run in a separate Makefile command to avoid failing other unit
tests configured to run with a specific Kubernetes version(s).
For resources that are disabled by default (like hpa and ingress),
to avoid skipping them from the helm linter test, they are enabled in
the test.
Fixes #11495
Signed-off-by: Bhargav Ravuri <bhargav.ravuri@infracloud.io>
2 years ago
deterclosed
dd37787ffd
chore: remove repetitive words
...
Signed-off-by: deterclosed <fliter@outlook.com>
2 years ago
Andrew Block
0a69a0dea6
Modified how created annotation is populated based on package creation time
...
Signed-off-by: Andrew Block <andy.block@gmail.com>
2 years ago
Matt Farina
976ed8c0be
Merge pull request #12761 from ricardomaraschini/proxy-for-oci-download
...
bug: add proxy support for oci getter
2 years ago
Matt Farina
2dea5bf335
Merge pull request #11790 from Nordix/waitRetry
...
Add robustness to wait status checks
2 years ago
Mario Manno
a7856c0398
Add ability to adopt unmanaged resources
...
Allow the SDK actions to adopt existing resources. This allows install
and update to overwrite resources. If TakeOwnership is not set, adoption
is only possible if they existing resources have the right labels
(managed-by) and annotations (release-name, ...).
Signed-off-by: Mario Manno <mmanno@suse.com>
2 years ago
Matt Farina
25c473834e
Enabling hide secrets on install and upgrade dry run
...
This change adds a new flag to the install and upgrade commands in
the Helm client and properties to the install and upgrade action.
The new flag is --hide-secret and can only be used with the
--dry-run flag.
The --dry-run flag is designed to send all chart rendered manifests to
stdout so that they can be inspected.
When the --hide-secret flag is used the Secret content is removed from
the output.
Signed-off-by: Matt Farina <matt.farina@suse.com>
2 years ago
Aaron U'Ren
29ab5c4b02
feat(load.go): add warning on requirements.lock
...
Signed-off-by: Aaron U'Ren <aauren@users.noreply.github.com>
2 years ago
Robert Sirchia
d58d7b3762
Fixing all the linting errors
...
Cleaned up all the linting errors we are getting.
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
2 years ago
Matt Farina
764557c470
Some fixes
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
2 years ago
Trent V
ceb44fd307
Merge branch 'helm:main' into main
2 years ago
Matt Farina
c7f318ca4c
Merge pull request #12789 from gjenkins8/fix_chart_index_load_invalid_alias
...
Fix: Ignore alias validation error for index load
2 years ago
Trenton VanderWert
ab640a7177
added sprintf solution and found other possible overflow occurences
...
Signed-off-by: Trenton VanderWert <trenton.vanderwert@gmail.com>
2 years ago
George Jenkins
8d19bcb78a
add error messages
...
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2 years ago
George Jenkins
68294fdae0
Fix: Ignore alias validation error for index load
...
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2 years ago
Trenton VanderWert
4a45342887
changed Iota to FormatInt to allow int64 value preventing 2038 overflow
...
Signed-off-by: Trenton VanderWert <trenton.vanderwert@gmail.com>
2 years ago
Matt Farina
8e6a5149d2
validation fix
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
2 years ago
Evans Mungai
dc158f6208
fix(helm): pass down username/password CLI parameters to OCI registry clients
...
When username/password parameters are passed in via the CLI
they are not passed down to the client handling requests to
OCI registries. This change ensures this happens
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2 years ago
Ricardo Maraschini
94c1deae6d
bug: add proxy support for oci getter
...
adds missing proxy support on oci chart getter.
Signed-off-by: Ricardo Maraschini <ricardo.maraschini@gmail.com>
2 years ago
Matt Farina
e81f6140dd
Merge pull request #12428 from matt-carr/main
...
fix(helm): fix grammatical error in default NOTES.txt
2 years ago
Matt Farina
f4c37e7db5
bump version to
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 69dcc92c56
)
2 years ago
Matt Farina
c042264a9d
Fix issues when verify generation readiness was merged
...
CI, tests, and building failed after #10920 was merged. This change
fixes the issues that were introduced.
Signed-off-by: Matt Farina <matt.farina@suse.com>
2 years ago
Matt Farina
b299359f66
Merge pull request #10920 from muang0/readiness-generation-check
...
Verify generation in readiness checks
2 years ago
Matt Farina
7fd08041b1
Merge pull request #12617 from porridge/dynamic-client
...
feature(pkg/engine): introduce RenderWithClientProvider
2 years ago
Antoine Deschênes
869c1d2560
lint: Add --kube-version flag to set capabilities and deprecation rules
...
Signed-off-by: Antoine Deschênes <antoine@antoinedeschenes.com>
2 years ago
Andrew Block
77d54d7dbe
Merge pull request #11351 from greed42/fast-tpl
...
Speed up `tpl`
2 years ago
Joe Julian
762a1c7adc
Merge pull request #12688 from mattfarina/bump-go-1.21
...
Update to Go 1.21 for builds
2 years ago
Matt Farina
83a76cea6a
Merge pull request #9176 from dastrobu/#9169/lint-dependency-shadowing
...
lint and validate dependency metadata to reference dependencies with …
2 years ago
Matt Farina
847369c184
Update to Go 1.21 for builds
...
Noteis:
1. This moves golangci scanning to a GitHub action. This will
enable inline pointers to issues in the PR where linting fails.
2. Go 1.21 is specified in the go.mod because Kubernetes libs
require it.
3. The lint issues were removed. Some were fixed while others
were handled by skipping linting or using _ as an argument.
Many of these can be refactored later for better cleanup.
Signed-off-by: Matt Farina <matt.farina@suse.com>
2 years ago
Joe Julian
6d96283c0b
Merge pull request #12204 from CARV-ICS-FORTH/riscv64
...
Add support for RISC-V
2 years ago
Joe Julian
e06a1432d5
Merge pull request #12530 from refl3ction/patch-1
...
helm create: move livenessProbe and readinessProbe values to default values file
2 years ago
Joe Julian
c9366c3a5c
Merge pull request #11878 from Exchizz/feature/pass-basic-auth-to-download-plugin
...
feat: pass basic auth to env-vars when running download plugins
2 years ago
Joe Julian
99b8f443d1
Merge pull request #11387 from zak905/fix_post_install_hook_issue
...
fix post install hook deletion due to before-hook-creation policy
2 years ago
Joe Julian
35e94bb99d
Merge pull request #12440 from sergelogvinov/hook-name
...
print failed hook name
2 years ago
Joe Julian
c3742e6331
Merge pull request #12662 from ialidzhikov/enh/make-ignore-pkg-public
...
Make the `ignore` pkg public again
2 years ago
Joe Julian
30c35166e8
Merge pull request #12350 from iamasmith/qps-iamasmith-1
...
QPS parameter proposal
2 years ago
Marcin Owsiany
a997de1f11
tests(pkg/engine): test RenderWithClientProvider
...
Signed-off-by: Marcin Owsiany <porridge@redhat.com>
2 years ago