Matt Farina
3415b6e7b8
bump version to v3.6.0
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
(cherry picked from commit af0feeddd91c729aa97327f33c9e3e3109b13561)
4 years ago
Matt Farina
d4cc130fa9
Merge pull request #9621 from sagikazarmark/ingress-v1
...
Ingress v1 template
4 years ago
Mark Sagi-Kazar
6d9e15bd1a
feat: add networking.k8s.io/v1 support to ingress template
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
4 years ago
Thomas Dy
0156ca61ca
Fix capabilities changes leaking into other tests
...
Signed-off-by: Thomas Dy <thatsmydoing@gmail.com>
4 years ago
Thomas Dy
538670fda6
Add tests for template --kube-version
...
Signed-off-by: Thomas Dy <thatsmydoing@gmail.com>
4 years ago
Thomas Dy
47c8f48f20
feat(helm): Support setting --kube-version
...
Signed-off-by: Thomas Dy <thatsmydoing@gmail.com>
4 years ago
Adam Reese
213a7df2dc
Merge pull request #9416 from croomes/resource-name-validation
...
Add name validation rules for different object kinds
4 years ago
Simon Croome
c50372a8c1
Add/update deprecation notices
...
Signed-off-by: Simon Croome <simon.croome@storageos.com>
4 years ago
Josh Soref
2bf8fdf45d
chore: Spelling ( #9410 )
...
* spelling: annotate
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: asserts
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: behavior
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: binary
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: contain
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: copied
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: dependency
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: depending
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: deprecated
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: doesn't
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: donot
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: github
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: inputting
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: iteration
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: jabberwocky
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: kubernetes
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: length
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: mismatch
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: multiple
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: nonexistent
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: outputs
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: panicking
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: plugins
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: parsing
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: porthos
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: regular
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: resource
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: repositories
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: something
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: strict
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: string
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: unknown
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
4 years ago
Adam Reese
6ce9ba60b7
Merge pull request from GHSA-c38g-469g-cmgx
...
fix(*): Validate metadata semver and printable characters
4 years ago
Adam Reese
657ce552cb
fix(*): Validate metadata semver and printable characters
...
ref: https://github.com/helm/helm/security/advisories/GHSA-c38g-469g-cmgx
* Skip invalid chart versions when reading the repository index file or
when programmatically adding a chart version.
* Adds semver validation and strips non-printable characters and
normalizes spaces for string fields in Metadata.Validate()
* Fixes a unit test that was pulling a remote repo. Now uses a local
repo.
* Fixes ignored error in repo update command
Signed-off-by: Adam Reese <adam@reese.io>
4 years ago
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>
4 years ago
Matt Farina
8082f6db45
bump version to
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
(cherry picked from commit f546ebb1ac
)
4 years ago
Joe Julian
fdcd22ef58
Reduce linting severity for users of out-of-date kubernetes ( #8608 )
...
* Reduce linting severity for users of out-of-date kubernetes
Fixes #8596
Signed-off-by: Joe Julian <me@joejulian.name>
* add more verbose deprecation info
Signed-off-by: Joe Julian <me@joejulian.name>
* use new upstream deprecations
Signed-off-by: Joe Julian <me@joejulian.name>
* do not error for custom resources
Signed-off-by: Joe Julian <me@joejulian.name>
* Define deprecation version in lint rules by LDFLAG
Signed-off-by: Joe Julian <me@joejulian.name>
* make comment clearer
Signed-off-by: Joe Julian <me@joejulian.name>
* Extend the k8s version discovery and constants to chartutil
Signed-off-by: Joe Julian <me@joejulian.name>
* remove awk dependency
Signed-off-by: Joe Julian <me@joejulian.name>
* align k8s version constant names between capabilities.go and deprecations.go
Signed-off-by: Joe Julian <me@joejulian.name>
* show the error if the unexpected happens
Signed-off-by: Joe Julian <me@joejulian.name>
* bump k8sVersionMinor and golden chart templates for k8s 1.20
Signed-off-by: Joe Julian <me@joejulian.name>
* bump for tests to match 1.20.1
Signed-off-by: Joe Julian <me@joejulian.name>
4 years ago
Marc Khouzam
bed1a42a39
fix(pkg/chartutil): Remove warning for nils
...
Nil tables should not be reported as non-tables.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
4 years ago
Matthew Fisher
f228a7c36c
Merge pull request #9057 from ssalaues/fix/ingress-templating-error
...
fix: ingress path issue
4 years ago
rimas
ce1a46899f
Fixes #9083
...
Signed-off-by: rimas <rmocius@gmail.com>
4 years ago
Salim Salaues
50144aad03
fix: ingress path issue
...
Signed-off-by: Salim Salaues <salim@openinvest.co>
4 years ago
Martin Hickey
6696a9fa5f
Merge pull request #8970 from zerefwayne/patch-8965
...
Add remaining tests in TestDependentChartAliases
4 years ago
Aayush Joglekar
babc8c9a70
Add remaining tests in TestDependentChartAliases
...
Signed-off-by: Aayush Joglekar <aayushjog@gmail.com>
4 years ago
Martin Hickey
b83632e757
Update err message to use the regex pattern directly
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
4 years ago
Martin Hickey
5785dd6d49
Fix the lint error message for valid names
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
4 years ago
Matt Farina
ce4fa95868
bump version to v3.4.0
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
(cherry picked from commit 7090a89efc
)
4 years ago
Martin Hickey
8667aa4f98
Merge pull request #8874 from consideRatio/pr/helm-create-template-indentation
...
helm create: make generated YAML indentation more consistent
4 years ago
Matthew Fisher
e73af10d0b
Merge pull request #8696 from f0rmiga/patch-1
...
fix: boilerplate template indentation
4 years ago
Erik Sundell
1d9767fea2
helm create: make generated YAML indentation more consistent
...
Signed-off-by: Erik Sundell <erik@sundellopensource.se>
4 years ago
Matthew Fisher
2a74204508
go fmt
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
4 years ago
Matt Farina
7953adb06c
Merge branch 'master' into fix/helm-create-overwrite
4 years ago
Matt Farina
11f75e420c
Merge pull request #8750 from technosophos/fix/helm-create-name
...
validate the name passed in during helm create
4 years ago
Matt Butcher
106f1fb45c
fixed bug that caused helm create to not overwrite modified files
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
4 years ago
Matt Butcher
ed5fba5142
refactor the release name validation to be consistent across Helm
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
4 years ago
Thulio Ferraz Assis
b4bb73d8ce
fix: if not .Values.autoscaling.enabled indent
...
Signed-off-by: Thulio Ferraz Assis <thulio.assis@suse.com>
4 years ago
Matt Butcher
c4ef82be13
validate the name passed in during helm create
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
4 years ago
Thulio Ferraz Assis
6766017d38
fix: with .Values.podAnnotations indent template
...
Signed-off-by: Thulio Ferraz Assis <thulio.assis@suse.com>
4 years ago
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>
4 years ago
Martin Hickey
91094186eb
Merge pull request #8562 from andytom/chore/update_starter_chart
...
Update Common Lables template in starter chart
4 years ago
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>
4 years ago
She Jiayu
d141593d83
Avoid hardcoded container port in default notes
...
Signed-off-by: She Jiayu <shejiayu1998@qq.com>
4 years ago
Dong Gang
9777925a2a
fix(create): update the hook name of test-connection pod
...
Signed-off-by: Dong Gang <dong.gang@daocloud.io>
4 years ago
Bridget Kromhout
5684c86490
Fixing version and spelling errors
...
Signed-off-by: Bridget Kromhout <bridget@kromhout.org>
4 years ago
Matt Butcher
2750e4d781
Lint dependencies ( #7970 )
...
* feat: add dependency tests
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* replaced on-disk fixtures with in-memory fixtures
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
4 years ago
Matthew Fisher
fc4a11c131
bump version to v3.3
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
(cherry picked from commit 5c2dfaad84
)
4 years ago
Matthew Fisher
148d94bcf7
version bump
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
4 years ago
Eric Lemieux
4c9972cb72
Add HelmVersion to Capabilities
...
Signed-off-by: Eric Lemieux <eric@lemieuxdev.com>
4 years ago
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>
4 years ago
Matt Farina
b458bdf5c1
Merge pull request #8188 from mattfarina/fix-8181
...
Fix issue with unhandled error on Stat
4 years ago
Matt Farina
f182ebc11c
Fix issue with unhandled error on Stat
...
If stat returns an error other than the directory not existing
it was unhandled. When IsDir is called in one of these situations
it causes a panic.
Closes #8181
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Adam Reese
3364265e78
ref(pkg/chartutil): use minimal in-memory fixtures
...
Signed-off-by: Adam Reese <adam@reese.io>
5 years ago
Matthew Fisher
bfb39c0c68
bump DefaultCapabilities to 1.18
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matt Butcher
bf9d629dc0
feat: implement deprecation warnings in helm lint ( #7986 )
...
* feat: implement deprecation warnings in helm lint
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* added more deprecated APIs
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago