Commit graph

2621 commits

Author SHA1 Message Date
Matt Farina
b299359f66
Merge pull request #10920 from muang0/readiness-generation-check
Verify generation in readiness checks
2024-01-08 22:29:31 -05:00
Matt Farina
7fd08041b1
Merge pull request #12617 from porridge/dynamic-client
feature(pkg/engine): introduce RenderWithClientProvider
2024-01-08 21:30:59 -05:00
Antoine Deschênes
869c1d2560 lint: Add --kube-version flag to set capabilities and deprecation rules
Signed-off-by: Antoine Deschênes <antoine@antoinedeschenes.com>
2024-01-08 19:35:41 -05:00
Andrew Block
77d54d7dbe
Merge pull request #11351 from greed42/fast-tpl
Speed up `tpl`
2024-01-08 16:51:29 -06:00
Joe Julian
762a1c7adc
Merge pull request #12688 from mattfarina/bump-go-1.21
Update to Go 1.21 for builds
2024-01-08 13:53:56 -08:00
Matt Farina
83a76cea6a
Merge pull request #9176 from dastrobu/#9169/lint-dependency-shadowing
lint and validate dependency metadata to reference dependencies with …
2024-01-08 15:56:29 -05:00
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>
2024-01-08 15:48:36 -05:00
Joe Julian
6d96283c0b
Merge pull request #12204 from CARV-ICS-FORTH/riscv64
Add support for RISC-V
2024-01-05 16:30:18 -08:00
Joe Julian
e06a1432d5
Merge pull request #12530 from refl3ction/patch-1
helm create: move livenessProbe and readinessProbe values to default values file
2024-01-05 16:26:21 -08:00
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
2024-01-05 15:47:59 -08:00
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
2024-01-05 15:44:20 -08:00
Joe Julian
35e94bb99d
Merge pull request #12440 from sergelogvinov/hook-name
print failed hook name
2024-01-05 15:09:04 -08:00
Joe Julian
c3742e6331
Merge pull request #12662 from ialidzhikov/enh/make-ignore-pkg-public
Make the `ignore` pkg public again
2024-01-05 15:06:06 -08:00
Joe Julian
30c35166e8
Merge pull request #12350 from iamasmith/qps-iamasmith-1
QPS parameter proposal
2024-01-05 14:55:40 -08:00
Marcin Owsiany
a997de1f11 tests(pkg/engine): test RenderWithClientProvider
Signed-off-by: Marcin Owsiany <porridge@redhat.com>
2024-01-03 12:04:20 +01:00
Ismail Alidzhikov
5586760133 Make the ignore pkg public again
Signed-off-by: Ismail Alidzhikov <i.alidjikov@gmail.com>
2023-12-22 09:14:12 +02:00
Marcin Owsiany
bfec4ec926 feature(pkg/engine): introduce RenderWithClientProvider
Signed-off-by: Marcin Owsiany <porridge@redhat.com>
2023-12-18 10:02:57 +01:00
Sean Mills
ce87ece23e Remove excessive logging
Resolves helm unittest issue helm-unittest/helm-unittest#237

Signed-off-by: Sean Mills <sean.m.mills@gmail.com>
2023-11-29 20:27:53 -06:00
Matt Farina
0592b3800a
Merge pull request #12457 from genofire/patch-1
chore(create): indent to spaces
2023-11-08 14:41:53 -05:00
Matt Farina
c682fdfebf
Merge pull request #12539 from chojnack/main
Fixing release labelling in rollback
2023-11-07 08:36:48 -05:00
Matt Farina
dae8783177
Merge pull request #12447 from dm3ch/allow-filtering-using-system-labels
Allow using label selectors for system labels for secrets and configmap
2023-11-07 07:48:43 -05:00
Scott Rigby
2745909d3d
Merge pull request #9653 from Okhoshi/feat/reset-then-reuse-flag
feat(helm): Add --reset-then-reuse-values flag to 'helm upgrade'
2023-11-04 03:46:03 -04:00
Marcin Chojnacki
8814bfb490 Fixing release labelling in rollback
1. Fixed propagating labels to rollback release

Signed-off-by: Marcin Chojnacki <marcin.chojnacki@nokia.com>
2023-11-03 16:45:37 +01:00
Denis Policastro
9f0313e5f5
feat: move livenessProbe and readinessProbe values to default values file
Signed-off-by: Denis Policastro <denis.policastro@gmail.com>
2023-10-27 10:52:30 -03:00
Matt Farina
24e2864c64
Revert "fix(main): fix basic auth for helm pull or push"
This reverts commit 4a27baaffc.

Note, PR #11129 was layered in along with this change so the revert
preserves this API addition.

Signed-off-by: Matt Farina <matt.farina@suse.com>
2023-10-26 10:11:56 -04:00
Matt Farina
992dc58556
Revert "fix(registry): address anonymous pull issue"
Signed-off-by: Matt Farina <matt.farina@suse.com>
2023-10-25 14:46:53 -04:00
Dmitry Chepurovskiy
250f0bd46e
Drop filterSystemLabels usage from Query method
Signed-off-by: Dmitry Chepurovskiy <me@dm3ch.net>
2023-10-13 20:48:26 +03:00
Dmitry Chepurovskiy
0ec47f8ec9
Apply review suggestions
Co-authored-by: French Ben <FrenchBen@users.noreply.github.com>
Signed-off-by: Dmitry Chepurovskiy <me@dm3ch.net>
2023-10-13 20:43:49 +03:00
Serge Logvinov
b0d163771e feat: print failed hook name
Add more details when a hook fails.

Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
2023-10-12 17:26:11 +03:00
Matt Farina
25371e2f0d Fixing precedence issue with the import of values.
The ordering should be:
1. User specified values (e.g CLI)
2. Parent chart values
3. Imported values
4. Sub-chart values

This enables parnet charts to import large set of values from a
child and then override select values.

This change is needed for backwards compatibility.

Fixes #12460

Signed-off-by: Matt Farina <matt.farina@suse.com>
2023-10-11 14:56:12 -04:00
Matt Farina
1b260d0a79
Merge pull request #12433 from larszi/fix-12432-helm-create-serviceaccount
FIX Default ServiceAccount yaml
2023-10-09 14:36:15 -04:00
Matt Farina
ff8f0276ca
Merge pull request #12429 from hiddeco/fix-swallowed-err
fix(registry): unswallow error
2023-10-09 13:06:33 -04:00
genofire
919bffe2db
chore(create): indent to spaces
Signed-off-by: genofire <geno+dev@fireorbit.de>
2023-10-04 17:55:04 +02:00
Dmitry Chepurovskiy
e6d9b99255
Allow using label selectors for system labels for sql backend.
Fixes #12435

Signed-off-by: Dmitry Chepurovskiy <me@dm3ch.net>
2023-10-03 03:42:46 +03:00
Dmitry Chepurovskiy
e219c756e0
Allow using label selectors for system labels for secrets and configmap
backends.

Fixes #12435

Signed-off-by: Dmitry Chepurovskiy <me@dm3ch.net>
2023-10-03 03:17:40 +03:00
b4nks
f004d42847 remove useless print during prepareUpgrade
Signed-off-by: b4nks <b4nks@protonmail.com>
2023-10-02 19:56:52 +02:00
Lars Zimmermann
828763e0d8
FIX Default ServiceAccount yaml
As described in issue #12432 (https://github.com/helm/helm/issues/12432) the default serviceaccount yaml will be created wrong. This commit will fix this. 

Signed-off-by: Lars Zimmermann <info@zimmermann-lars.de>
2023-09-29 13:13:26 +02:00
Hidde Beydals
fe4c01f624
fix(registry): address anonymous pull issue
The assumption that either a username and/or password OR an error is
returned appears to be wrong, and results in an error later on which
looks something like the following:

```
failed to authorize: failed to fetch anonymous token: unexpected status
from GET request to https://auth.docker.io/token?scope=repository%3AXXX%2FYYY%3Apull&service=registry.docker.io:
401 Unauthorized
```

To mitigate this, confirm we actually have one of the values before
setting the `Authorization` header.

Co-authored-by: Joe Julian <me@joejulian.name>
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-09-29 09:24:19 +02:00
Hidde Beydals
da3c666a82
fix(registry): unswallow error
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-09-28 22:57:41 +02:00
Matt Farina
162b3efc33
Merge pull request #12394 from abrarcv170/patch-1
Increased release information key name max length.
2023-09-25 11:51:46 -04:00
Andy Smith
415af5b0e9 Add qps/HELM_QPS parameter
Signed-off-by: Andy Smith <iamasmith.home@gmail.com>
2023-09-22 07:31:08 +01:00
Matt Farina
c372b15022
bump version to v3.13.0
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 825e86f6a7)
2023-09-18 16:01:43 -04:00
Matt Farina
dbef83eac3
Merge pull request #10913 from sureshdsk/pluginbug
fix: plugin does not load when helm base dir contains space
2023-09-18 15:20:00 -04:00
Matt Farina
30254deff4
Merge pull request #12088 from mslapek/fix/11971-run-with-ctx
Fix leaking goroutines in Install
2023-09-18 15:04:16 -04:00
Michał Słapek
169561a1b3 Fix leaking goroutines in Install
Signed-off-by: Michał Słapek <28485371+mslapek@users.noreply.github.com>
2023-09-18 20:13:47 +01:00
Matt Farina
70cbaa0a73
Merge pull request #11372 from vovtz/#11369-fix-custom-repo-cache-for-unmanaged-dependency-updates
#11369 Fix custom repo index cache directory for unmanaged dependency updates
2023-09-18 12:21:48 -04:00
abrarcv170
4199be82b5
Increased release information key name max length.
Helm release names are limited to 53 characters. By default, Release information is stored in Kubernetes as secrets, and the secret's name structure follows the pattern "sh.helm.release.v1.<release name up to 53 characters>.v<release revision>." However, in the case of using an SQL backend, this release information key is stored in the release_v1 table, and the table constraint currently limits the key name length to 67 characters. This limitation may not be suitable for release names that are within Helm's 53-character limit and need to accommodate the additional "sh.helm.release.v1." prefix and the release revision suffix. 

Signed-off-by: abrarcv170 <78675575+abrarcv170@users.noreply.github.com>
2023-09-15 11:17:48 +05:30
Matt Farina
ef02cafdd0
Merge pull request #12274 from mih-kopylov/get-metadata
Restore `helm get metadata` command
2023-09-14 10:20:57 -04:00
Matt Farina
5a1475ee36
Merge pull request #11294 from Juneezee/test/t.TempDir
test: replace `ensure.TempDir` with `t.TempDir`
2023-09-14 09:55:51 -04:00
Matt Farina
4feafb528b
Merge pull request #12019 from GOodCoffeeLover/feat/rw-psql
sql driver with rw-roles
2023-09-14 09:32:39 -04:00