Commit graph

136 commits

Author SHA1 Message Date
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
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
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
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
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
36ae5168bd
Merge pull request #13256 from robertsirc/issue-13229
Updating the inline documentation.
2024-08-28 12:56:38 -04: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
e72978edcf
Updating the inline documentation.
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
2024-08-16 15:26:48 -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
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
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
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
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
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
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
e19c6cf199
Merge pull request #11644 from jcpunk/automountServiceAccountToken
Seed a default switch to control `automountServiceAccountToken`
2023-08-10 17:32:58 -07:00
Joe Julian
67096285c2
Merge remote-tracking branch 'upstream/main' into automountServiceAccountToken 2023-08-10 17:25:21 -07:00
Joe Julian
a10626cdf0
Merge remote-tracking branch 'upstream/main' into patch-1 2023-08-10 17:20:42 -07:00
Joe Julian
617db7b9d1
Merge pull request #11670 from zhekazuev/feature/volumes-in-chartutil
[helm/pkg] add volumes and volumeMounts in chartutil
2023-08-01 16:16:26 -07:00
Dmitry Kamenskikh
b4a4c7a9d4 update autoscaling/v2beta1 to autoscaling/v2 in skeleton chart
Signed-off-by: Dmitry Kamenskikh <kupnu4x@gmail.com>
2023-05-05 13:59:11 +08:00
Matt Farina
4e7e939f19
Updating the Go version in go.mod
At this time both Go 1.19 and 1.20 are supported. The version
specified in the go.mod file is the minimum version we expect Helm
to be compiled against. This is the oldest supported version to
support environments where others compile Helm. The Helm project
is using Go 1.20 to build Helm itself.

Updating to Go 1.19 also includes dealing with io/ioutil
deprecation and some additional linting issues around staticcheck.
All the staticcheck issues were in test files so linting was
skipped for those.

Signed-off-by: Matt Farina <matt.farina@suse.com>
2023-03-22 11:52:30 -04:00
genofire
b441f5341d
fix: add podLabels
Signed-off-by: genofire <geno+dev@fireorbit.de>
2023-02-01 14:10:10 +01:00
Eugene Zuev
fc1a5a1123
fix typo: mountPath
Signed-off-by: Eugene Zuev <zhekazuev@gmail.com>
2022-12-25 19:06:59 +01:00
Eugene Zuev
fd44c0fc14
add volumes and volumeMounts in chartutil
add:
- volumes in defaultValues
- volumes in defaultDeployment
- volumeMounts in defaultValues
- volumeMounts in defaultDeployment

Signed-off-by: Eugene Zuev <zhekazuev@gmail.com>
2022-12-25 19:06:59 +01:00
Pat Riehecky
4f353439fa Seed a default switch to control automountServiceAccountToken
Signed-off-by: Pat Riehecky <riehecky@fnal.gov>
2022-12-19 08:33:05 -06:00
Peter Leong
9d027eaac8
Readiness & liveness probes correct port
Port number now comes from values.yaml

Signed-off-by: Peter Leong <1179301+p33t@users.noreply.github.com>
2022-10-21 12:52:30 -07:00
Mark Sagi-Kazar
6d9e15bd1a
feat: add networking.k8s.io/v1 support to ingress template
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-04-25 12:22:57 +02:00
Nick Jones
042567808f
Update default ingress values section to correspond with template
This commit updates the default section in values.yaml for the example
ingress definition to correspond with the template.

Signed-off-by: Nick Jones <nick@dischord.org>
2021-01-13 22:58:08 +00:00
Matthew Fisher
f228a7c36c
Merge pull request #9057 from ssalaues/fix/ingress-templating-error
fix: ingress path issue
2020-12-02 08:35:56 -08:00
rimas
ce1a46899f Fixes #9083
Signed-off-by: rimas <rmocius@gmail.com>
2020-12-01 18:50:14 +02:00
Salim Salaues
50144aad03 fix: ingress path issue
Signed-off-by: Salim Salaues <salim@openinvest.co>
2020-11-24 00:20:47 -08:00
Martin Hickey
8667aa4f98
Merge pull request #8874 from consideRatio/pr/helm-create-template-indentation
helm create: make generated YAML indentation more consistent
2020-10-13 20:04:39 +01:00
Matthew Fisher
e73af10d0b
Merge pull request #8696 from f0rmiga/patch-1
fix: boilerplate template indentation
2020-10-13 11:36:26 -07:00
Erik Sundell
1d9767fea2 helm create: make generated YAML indentation more consistent
Signed-off-by: Erik Sundell <erik@sundellopensource.se>
2020-10-12 15:45:27 +02:00
Matt Farina
7953adb06c
Merge branch 'master' into fix/helm-create-overwrite 2020-09-17 13:56:39 -04:00
Matt Butcher
106f1fb45c
fixed bug that caused helm create to not overwrite modified files
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2020-09-17 11:35:46 -06:00
Thulio Ferraz Assis
b4bb73d8ce
fix: if not .Values.autoscaling.enabled indent
Signed-off-by: Thulio Ferraz Assis <thulio.assis@suse.com>
2020-09-16 20:42:05 -05:00
Matt Butcher
c4ef82be13
validate the name passed in during helm create
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2020-09-16 16:35:43 -06:00
Thulio Ferraz Assis
6766017d38
fix: with .Values.podAnnotations indent template
Signed-off-by: Thulio Ferraz Assis <thulio.assis@suse.com>
2020-09-03 13:48:56 -05:00
Martin Hickey
daa104d60e Revert PR 8562
Revert of PR 8562 as the container version may not represent the
application version.

Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2020-09-03 17:13:31 +00:00
Martin Hickey
91094186eb
Merge pull request #8562 from andytom/chore/update_starter_chart
Update Common Lables template in starter chart
2020-08-11 12:29:04 +01:00
Thomas O'Donnell
4b1fa60d58 Update Common Lables template in starter chart
Have update the Common Labels template in the starter chart so that the
value for the `app.kubernetes.io/version` is set to the same value as
the image tag used in the deployment.

Signed-off-by: Thomas O'Donnell <andy.tom@gmail.com>
2020-08-10 15:44:53 +02:00
She Jiayu
d141593d83 Avoid hardcoded container port in default notes
Signed-off-by: She Jiayu <shejiayu1998@qq.com>
2020-07-23 12:43:45 +08:00
Dong Gang
9777925a2a fix(create): update the hook name of test-connection pod
Signed-off-by: Dong Gang <dong.gang@daocloud.io>
2020-07-16 09:10:03 +08:00
Adam Reese
aa03319669
fix(chartutil): do not set helpers.tpl filetype for vim
Helpers filetype is not mustache

Signed-off-by: Adam Reese <adam@reese.io>
2020-06-12 08:39:26 -07:00
Matt Farina
54e5088a50
Fixing docs from version to appVersion (#7975)
In the created chart from `helm create` is notes a tag overrides
version. It actually overrides appVersion. Updating the docs
to reflect reality.

Signed-off-by: Matt Farina <matt@mattfarina.com>
2020-04-23 17:49:43 -06:00
Matt Butcher
7b89e66e0c
fix: Fixed a regression that was introduced with changed nil handling (#7938)
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2020-04-16 14:31:45 -06:00