Commit graph

472 commits

Author SHA1 Message Date
Robert Sirchia
963d680ae9
Merge pull request #13533 from althmoha/#12987
fix: (toToml) renders int as float
2025-01-24 15:16:59 -05:00
Scott Rigby
d53fb5058e
Merge pull request #12879 from ryanhockstad/subchart-null
bugfix: Override subcharts with null values
2025-01-23 15:00:41 -05:00
Althaf M
88f7dc5329 merge: fixing merge conflicts
Signed-off-by: Althaf M althafm@outlook.com
Signed-off-by: Althaf M <althafm@outlook.com>
2025-01-22 09:32:47 +00:00
Althaf M
57d85993cb remove debug statements
Signed-off-by: Althaf M <althafm@outlook.com>
2025-01-22 09:32:47 +00:00
Althaf M
10d267ed8b fix: (toToml) renders int as float
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>
2025-01-22 09:32:47 +00: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
35a9ead998
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>
2025-01-14 15:30:44 -05:00
Matt Farina
090d3e9579
Merge pull request #13611 from mattfarina/version-v4
Updating the internal version to v4
2025-01-07 18:07:27 +01:00
Matt Farina
27bcda42dd
Updating the internal version to v4
Signed-off-by: Matt Farina <matt.farina@suse.com>
2025-01-07 11:32:44 -05:00
George Jenkins
3b9cce9669 cleanup: Remove 'ProcessDependenciesWithMerge'
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2025-01-05 10:09:16 -08: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
Matt Farina
2236294119 Updating to helm.sh/helm/v4
Since Helm is going through breaking changes with Helm v4, the version path to
Helm needs to be updated.

Signed-off-by: Matt Farina <matt.farina@suse.com>
2024-12-26 16:33:51 -05:00
George Jenkins
b97ed6545a
Merge pull request #13232 from dnskr/helm-create-dont-render-empty-resource-fields
ref(create): don't render empty resource fields
2024-12-19 16:39:32 -08: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
dnskr
81c6a9085c ref(create): don't render empty resource fields
Signed-off-by: Denis Krivenko <dnskrv88@gmail.com>
Signed-off-by: dnskr <dnskrv88@gmail.com>
2024-10-06 14:00:19 +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