Ben Foster
578564ee26
fix null merge
...
(cherry-picked from commit c1175a4106 )
Signed-off-by: Ben Foster <bpfoster@gmail.com>
(cherry picked from commit f0b699eabb )
2026-01-14 18:50:26 -05:00
Benoit Tigeot
6801f4d6b3
jsonschema: warn and ignore unresolved URN $ref to match v3.18.4
...
- v3.18.5 switched jsonschema and began resolving external $ref
at compile-time, exposing missing urn handling
(“no URLLoader registered for urn:…”).
- Add urn scheme loader and pluggable URNResolver. If unresolved, log
a warning and return a permissive true schema (back-compat).
- Avoid having a duplicated warn logs when we Load the schema twice.
Note: external URNs need AddResource/Resolver (the CLI uses --map for
this).
Close : #31170
Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
(cherry picked from commit 3f0da15437 )
2025-11-10 20:52:54 -05:00
Benoit Tigeot
2f619be224
Avoid "panic: interface conversion: interface {} is nil"
...
Closes : #31202
Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
(cherry picked from commit 2fe49f99ce )
2025-11-10 20:52:15 -05:00
Scott Rigby
3d8990f083
bump version to v3.19.0
...
Signed-off-by: Scott Rigby <scott@r6by.com>
2025-09-04 23:51:49 -04:00
Isaiah Lewis
b278020311
fix(helm-lint): fmt
...
Signed-off-by: Isaiah Lewis <isaiah@roof12.com>
(cherry picked from commit 62e0c78ef8 )
2025-08-19 15:50:31 -04:00
Isaiah Lewis
d33ac5e44b
fix(helm-lint): Add TLSClientConfig
...
Signed-off-by: Isaiah Lewis <isaiah@roof12.com>
(cherry picked from commit fb12b44493 )
2025-08-19 15:50:12 -04:00
Isaiah Lewis
854370978e
fix(helm-lint): Add HTTP/HTTPS URL support for json schema references
...
Signed-off-by: Isaiah Lewis <isaiah@roof12.com>
(cherry picked from commit fa73b6743b )
2025-08-19 15:49:34 -04:00
Robert Sirchia
46806c8217
Merge branch 'dev-v3' into advisory-fix-1a
...
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
2025-08-13 15:17:53 -04:00
Robert Sirchia
7977a48fb4
Merge commit from fork
...
fix for dev-v3
2025-08-13 15:10:00 -04:00
Matt Farina
f13afaacd6
fix Chart.yaml handling
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
2025-07-31 09:25:12 -04:00
Robert Sirchia
6d9509aadc
json schema fix
...
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
2025-07-25 10:03:46 -04:00
Borys Hulii
807225ed62
fix: k8s version parsing to match original
...
Signed-off-by: Borys Hulii <borys.hulii@bitvavo.com>
2025-07-25 15:25:20 +02:00
Matt Farina
c5249c1f8d
Revert "fix (helm) : toToml` renders int as float [ backport to v3 ]"
...
This change has caused issues with numerous charts around things
unrelated to toml. This is because of functions like typeIs/typeOf
being used and acted upon.
The change caused a significant regression.
Closes #30880
Signed-off-by: Matt Farina <matt@mattfarina.com>
2025-05-20 16:17:23 -04:00
George Jenkins
b4e06a11d2
Merge pull request #30658 from helm/gjenkins/backport_12912
...
[v3 backport] feat: add httproute from gateway-api to create chart template
2025-05-06 20:51:07 -07:00
Robert Sirchia
94044595c7
bump version to v3.18.0
...
(cherry picked from commit 74c3d1dc0de0335f941362c80447871e7d6bc78e)
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
2025-05-05 16:09:20 -04:00
Henrik Gerdes
bd1b67b082
feat: add httproute from gateway-api to create chart template
...
Adds the HTTPRoute from https://gateway-api.sigs.k8s.io/reference/spec/ to the example getting started chart.
Signed-off-by: Henrik Gerdes <hegerdes@outlook.de>
Co-authored-by: George Jenkins <gvjenkins@gmail.com>
2025-03-12 10:27:53 -07:00
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