Martin Hickey
cbaeaaa0c8
Update err message to use the regex pattern directly
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
(cherry picked from commit b83632e757
)
5 years ago
Martin Hickey
1f6fd5df26
Fix the lint error message for valid names
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
(cherry picked from commit 5785dd6d49
)
5 years ago
Matt Farina
7090a89efc
bump version to v3.4.0
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Martin Hickey
8667aa4f98
Merge pull request #8874 from consideRatio/pr/helm-create-template-indentation
...
helm create: make generated YAML indentation more consistent
5 years ago
Matthew Fisher
e73af10d0b
Merge pull request #8696 from f0rmiga/patch-1
...
fix: boilerplate template indentation
5 years ago
Erik Sundell
1d9767fea2
helm create: make generated YAML indentation more consistent
...
Signed-off-by: Erik Sundell <erik@sundellopensource.se>
5 years ago
Matthew Fisher
2a74204508
go fmt
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matt Farina
7953adb06c
Merge branch 'master' into fix/helm-create-overwrite
5 years ago
Matt Farina
11f75e420c
Merge pull request #8750 from technosophos/fix/helm-create-name
...
validate the name passed in during helm create
5 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>
5 years ago
Matt Butcher
ed5fba5142
refactor the release name validation to be consistent across Helm
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Thulio Ferraz Assis
b4bb73d8ce
fix: if not .Values.autoscaling.enabled indent
...
Signed-off-by: Thulio Ferraz Assis <thulio.assis@suse.com>
5 years ago
Matt Butcher
c4ef82be13
validate the name passed in during helm create
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Thulio Ferraz Assis
6766017d38
fix: with .Values.podAnnotations indent template
...
Signed-off-by: Thulio Ferraz Assis <thulio.assis@suse.com>
5 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>
5 years ago
Martin Hickey
91094186eb
Merge pull request #8562 from andytom/chore/update_starter_chart
...
Update Common Lables template in starter chart
5 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>
5 years ago
She Jiayu
d141593d83
Avoid hardcoded container port in default notes
...
Signed-off-by: She Jiayu <shejiayu1998@qq.com>
5 years ago
Dong Gang
9777925a2a
fix(create): update the hook name of test-connection pod
...
Signed-off-by: Dong Gang <dong.gang@daocloud.io>
5 years ago
Bridget Kromhout
5684c86490
Fixing version and spelling errors
...
Signed-off-by: Bridget Kromhout <bridget@kromhout.org>
5 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>
5 years ago
Matthew Fisher
fc4a11c131
bump version to v3.3
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
(cherry picked from commit 5c2dfaad84
)
5 years ago
Matthew Fisher
148d94bcf7
version bump
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Eric Lemieux
4c9972cb72
Add HelmVersion to Capabilities
...
Signed-off-by: Eric Lemieux <eric@lemieuxdev.com>
5 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>
5 years ago
Matt Farina
b458bdf5c1
Merge pull request #8188 from mattfarina/fix-8181
...
Fix issue with unhandled error on Stat
5 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
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>
6 years ago
David Pait
6aefbdcf38
Helm upgrades with --reuse-values and nil user values -- with tests ( #7959 )
...
* return the new values if modifications dont yet exist
Signed-off-by: David Pait <DP19@users.noreply.github.com>
* fix tests
Signed-off-by: David Pait <DP19@users.noreply.github.com>
* removed outter if statement as its not needed now
Signed-off-by: David Pait <DP19@users.noreply.github.com>
6 years ago
Matt Butcher
853ba2de16
fix: removed inaccurate comment ( #7937 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
6 years ago
Matt Butcher
7b89e66e0c
fix: Fixed a regression that was introduced with changed nil handling ( #7938 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
6 years ago
uzxmx
a34f311539
Fix nested null value overrides ( #7743 )
...
* Fix nested null value overrides
Signed-off-by: Mingxiang Xue <mingxiangxue@gmail.com>
* Fix subchart value deletion
Signed-off-by: Mingxiang Xue <mingxiangxue@gmail.com>
6 years ago
Martin Hickey
1c9b54ad7f
Merge pull request #7795 from consideRatio/template-indent
...
Make helm create command's templates more consistent
6 years ago
Matt Farina
08c612eedf
Adding notes on semver to create Chart.yaml
...
The version field in the Chart.yaml has a comment describing it
but it did not note the version needs to follow SemVer. There
have been numerous questions, over time, about this format. Add
note here so it's exposed in more places.
Signed-off-by: Matt Farina <matt@mattfarina.com>
6 years ago
Matthew Fisher
b735abe837
Merge pull request #7879 from naseemkullah/pod-annotations
...
[create] feat: add pod annotations
6 years ago
Naseem
f7972d075e
feat: allow image tag override
...
While using the chart version as image tag is the sanest default, it is not uncommon to want to override this if using a custom image, or using helm to manage an in-house app running different tags across different environments.
Signed-off-by: Naseem <naseem@transit.app>
6 years ago
Naseem
c4fc8b7de8
feat: add pod annotations
...
With the rise of sidecar injectors, pod annotations configuration is becoming more and more important.
Signed-off-by: Naseem <naseem@transit.app>
6 years ago
Mario Valderrama
6414791e08
Improve --show-only flag ( #7816 )
...
* Improve --show-only flag
* Ensure consistent manifest ordering
6 years ago
Martin Hickey
783be10aef
Merge pull request #7381 from naseemkullah/create-hpa
...
[helm create] Add hpa boilerplate
6 years ago
Erik Sundell
cead0efa69
helm create command's templates more consistent
...
- Removed most right whitespace chomps except those directly following a
template definition where it make sense to not lead with a blank line.
The system applied is now to almost always left whitespace chomp but
also whitespace chomp right if its the first thing in a file or
template definition.
- Updated indentation to be systematic throughout all the boilerplace
files.
Signed-off-by: Erik Sundell <erik.i.sundell@gmail.com>
6 years ago
Matt Farina
28b085bed5
Fixing issue where archives created on windows have broken paths
...
When archives are created on windows the path spearator in the
archive file is \\. This causes issues when the file is unpacked.
For example, on Linux the files are unpacked in a flat structure
and \ is part of the file name. This causes comp issues. In Helm
v2 the path was set as / when the archive was written. This works
on both Windows and POSIX systems.
The fix being implemented is to use the ToSlash function to ensure
/ is used as the separator.
Fixes #7748
Signed-off-by: Matt Farina <matt@mattfarina.com>
6 years ago
Matthew Fisher
b1959a309e
Merge pull request #7674 from sshukun/package-lock-file
...
Save Chart.lock to helm package tar
6 years ago
Matthew Fisher
faf5cfb2cb
Merge pull request #7189 from pmacik/fix-os.Stat
...
Repair unit tests failing on Linux caused by using the os.Stat
6 years ago
Song Shukun
a992464fa2
Save Chart.lock to helm package tar
...
Signed-off-by: Song Shukun <song.shukun@fujitsu.com>
6 years ago
Martin Hickey
9d7907342d
Merge pull request #7514 from fhopfensperger/fix-7497
...
fixed dependencies processing in case of helm install or upgrade for …
6 years ago
Tomáš Kohout
b4f716413c
Printing name of chart that do not have requested import value.
...
Signed-off-by: Tomas Kohout <tomas.kohout@leveris.com>
6 years ago
Matt Farina
1bd819a7b2
Fixes issue where <CHARTNAME> is left in starter values file
...
This is a leftover bug from #7201 .
Closes #7532
Signed-off-by: Matt Farina <matt@mattfarina.com>
6 years ago