Commit Graph
466 Commits
Author SHA1 Message Date
Matt Farina e2c7986f30 Merge pull request #13534 from althmoha/dev-v3-12987
fix (helm) : toToml` renders int as float [ backport to v3 ]
2025-02-05 15:33:56 -05:00
George Jenkins 80f87ab636 Merge pull request #13654 from ryanhockstad/subchart-null
[backport] bugfix: Override subcharts with null values
2025-01-26 21:18:13 -08:00
Ryan Hockstad 326c1e3f67 add test for nullifying nested global value
Signed-off-by: Ryan Hockstad <ryanhockstad@gmail.com>
2025-01-17 07:29:48 -05:00
Matt Farina fba9d08dce Ensuring the file paths are clean prior to passing to securejoin
securejoin v0.4.0 made a possibly breaking change. Only clean paths
are safe to pass to SecureJoin or they could return an error or
have the wrong path. The details are in the release notes for v0.4.0.

This change ensures the paths are clean prior to passing to SecureJoin.

Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 35a9ead998)
2025-01-14 15:35:47 -05:00
Matt Farina d6db69ed66 bump version to v3.17.0
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 301108edc7)
2025-01-06 14:20:59 -05:00
Ryan Hockstad ef2eb55283 Add test case for removing an entire object
Signed-off-by: Ryan Hockstad <ryanhockstad@gmail.com>
2025-01-02 22:19:19 -05:00
Scott Rigby 60fcce18d1 Tests for bugfix: Override subcharts with null values #12879
- Add consistency for null test in given values, parent chart, subchart, and
  sub-sub-chart
- Remove bar null test to keep consistent with boat=null at top level

Signed-off-by: Scott Rigby <scott@r6by.com>
2025-01-02 21:17:30 -05:00
dnskr ba180a3b6a ref(create): don't render empty resource fields
Signed-off-by: Denis Krivenko <dnskrv88@gmail.com>
Signed-off-by: dnskr <dnskrv88@gmail.com>
2024-12-27 08:17:27 -08:00
Althaf M 0a6834fdf0 This commit fixes the issue where the yaml.Unmarshaller converts all int values into float64, this passes in option to decoder,
which enables conversion of int into .

Signed-off-by: Althaf M <althafm@outlook.com>
2024-12-14 23:19:01 +00:00
wangjingcun e4062e7e00 fix: fix label name
Signed-off-by: wangjingcun <wangjingcun@aliyun.com>
2024-11-07 17:10:31 +08:00
wangjingcun de9e138ec1 chore: fix some function names in comment
Signed-off-by: wangjingcun <wangjingcun@aliyun.com>
2024-10-24 18:26:22 +08:00
Jon Olsson ca584648ee minor spelling fix
Signed-off-by: Jon Olsson <jon.olsson@sequitor.se>
2024-10-15 09:38:23 +02:00
Matt Farina eecb848dcb Merge pull request #13301 from NathanBaulch/typos
Fix typos
2024-09-30 14:55:21 +02:00
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`
2024-09-27 21:37:28 +02:00
Nathan Baulch ef85fa7f2d Grammar fixes
Signed-off-by: Nathan Baulch <nathan.baulch@gmail.com>
2024-09-14 10:30:31 +10:00
Nathan Baulch ff9dd262e3 Fix typos
Signed-off-by: Nathan Baulch <nathan.baulch@gmail.com>
2024-09-14 10:29:56 +10:00
Rui Chen ddead08eb8 fix: fix testchart lint errors
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-09-12 15:40:43 -04:00
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>
2024-09-03 16:43:48 -04:00
Matt Farina 36ae5168bd Merge pull request #13256 from robertsirc/issue-13229
Updating the inline documentation.
2024-08-28 12:56:38 -04:00
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
2024-08-24 19:16:57 -05:00
Robert Sirchia b92cc927d1 fixing changes as per requested.
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
2024-08-21 15:52:49 -04:00
Robert Sirchia b98952fb01 Merge branch 'helm:main' into issue-13229 2024-08-21 15:30:21 -04:00
Robert Sirchia e72978edcf Updating the inline documentation.
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
2024-08-16 15:26:48 -04:00
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'
2024-08-12 14:28:52 -04:00
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>
2024-08-05 21:09:19 +02:00
Joe Julian cda2c4f802 Merge pull request #12924 from porridge/drop-apis
Drop unused field.
2024-07-08 16:35:36 -07:00
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>
2024-06-25 16:43:48 +02:00
Matt Farina 886e626636 bump version to v3.15.0
Signed-off-by: Matt Farina <matt@mattfarina.com>
(cherry picked from commit d7afa3b6b4)
2024-05-08 12:27:50 -04:00
Matt Farina 7b70fdf2a2 Merge pull request #12701 from mattfarina/bump-version-3.14
bump version to 3.14
2024-05-08 12:22:08 -04:00
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>
2024-04-15 21:24:22 +02:00
Marcin Owsiany a6863a64ce Drop unused field.
Signed-off-by: Marcin Owsiany <porridge@redhat.com>
2024-04-04 11:14:23 +02:00
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>
2024-04-03 12:25:12 +05:30
Ryan Hockstad 5a58751a05 merge null child chart objects
Signed-off-by: Ryan Hockstad <ryanhockstad@gmail.com>
2024-03-19 15:26:50 -04:00
Matt Farina 8e6a5149d2 validation fix
Signed-off-by: Matt Farina <matt.farina@suse.com>
2024-02-07 10:54:15 -05:00
Matt Farina e81f6140dd Merge pull request #12428 from matt-carr/main
fix(helm): fix grammatical error in default NOTES.txt
2024-01-24 12:55:04 -05:00
Matt Farina f4c37e7db5 bump version to
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 69dcc92c56)
2024-01-09 13:19:12 -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 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
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
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 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
genofire 919bffe2db chore(create): indent to spaces
Signed-off-by: genofire <geno+dev@fireorbit.de>
2023-10-04 17:55:04 +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
Matt Carr c25736c894 Fix grammatical error
Signed-off-by: Matt Carr <mcarr@kinaxis.com>
2023-09-28 15:11:08 -04: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 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
Tim Chaplin 479be0c36b Use labels instead of selectorLabels for pod labels
Signed-off-by: Tim Chaplin <tim.chaplin@datadoghq.com>
2023-08-24 09:43:08 -04:00
Joe Julian 0be8ac35ab Merge pull request #11927 from AdamKorcz/fix2
pkg/chartutil: fix nil-dereference
2023-08-10 17:37:27 -07:00
Joe Julian e19c6cf199 Merge pull request #11644 from jcpunk/automountServiceAccountToken
Seed a default switch to control `automountServiceAccountToken`
2023-08-10 17:32:58 -07:00