Adam Reese
d32c20fd5c
ref(cmd): move flags out of init()
9 years ago
Matt Butcher
eee6e143d8
Merge pull request #919 from technosophos/fix/918-fix-lint-test
...
fix(helm): fix linter test panic
9 years ago
Matt Butcher
310ef9bbcb
fix(helm): fix linter test panic
...
Handle a previously unhandled error in the linter. This simply bails out
if a chart's values files do not parse.
Also, changed the implementation of CoalesceValues to return a map even
on error.
9 years ago
Miguel Ángel Martínez Triviño
81fd9edf4d
Merge pull request #899 from migmartri/897-values-refactorign
...
Support Linter for Values namespace
9 years ago
Adnan Abdulhussein
9b257077d5
Merge pull request #915 from prydonius/fix/912-nil-map-readvalues
...
fix(chartutil): Ensure ReadValues doesn't return a nil map
9 years ago
Adnan Abdulhussein
4ef61a7136
fix(chartutil): Ensure ReadValues doesn't return a nil map
9 years ago
Adnan Abdulhussein
bcd1889083
Merge pull request #907 from prydonius/906-linter-exit-status
...
fix(lint): Return non-zero exit status when lint errors present
9 years ago
Matt Butcher
cd75b6a781
Merge pull request #902 from technosophos/feat/894-template-info-in-templates
...
feat(tiller): add .Template object in templates
9 years ago
Adnan Abdulhussein
09f56459c7
Improve tests to ensure highest severity is retained
9 years ago
Adnan Abdulhussein
77820c7482
fix(lint): Return non-zero exit status when lint errors present
9 years ago
Michelle Noorali
da2f7e96e3
Merge pull request #909 from michelleN/chore/update-alpine-example
...
chore(docs): update "Name" field in values.yaml
9 years ago
Michelle Noorali
849afc29bc
Merge pull request #908 from michelleN/feat/836-lint-archived-chart
...
feat(lint): lint an archived chart
9 years ago
Adam Reese
7869d8ba75
Merge pull request #910 from adamreese/fix/get-out-flag
...
fix(cmd): remove --file flag for helm get
9 years ago
Matt Butcher
80d70c601a
Merge pull request #905 from technosophos/fix/847-fix-style
...
fix(*): fix various style issues from make test-style
9 years ago
Adam Reese
63f23d0234
docs(cmd): remove --file flag from help text
9 years ago
Adam Reese
5c53f86803
fix(cmd): remove --file flag for helm get
...
Users can redirect stdout to a file
9 years ago
Michelle Noorali
ebaf5a2243
chore(docs): update "Name" field in values.yaml
...
* the template refers to .Values.Name but the
values.yaml file has a name field with a lowercase
"n". Figured changing this is the right move since
yaml is case sensitive.
9 years ago
Michelle Noorali
a64303d0bf
feat(lint): lint an archived chart
...
* part of #836
9 years ago
Miguel Martinez
12aa72f121
Replacing options interface argument
9 years ago
Matt Butcher
532f03ec78
feat(tiller): add .Template object in templates
...
This allows templates to access information about the template file.
Right now, the template can only access the .Template.Name, which is the
chart-relative path to the current template.
Closes #894
9 years ago
Matt Butcher
62eb4f3ae2
Merge pull request #904 from technosophos/fix/895-show-nonexistent-filename
...
fix(helm): show correct filename on error
9 years ago
Matt Butcher
2c07a32a6b
fix(*): fix various style issues from make test-style
...
Closes #847 .
9 years ago
Matt Butcher
64d90aa567
fix(helm): show correct filename on error
...
Closes #895
9 years ago
Adam Reese
2eada26477
Merge pull request #900 from adamreese/feat/silence-usage
...
feat(cmd): silence usage on error
9 years ago
Adam Reese
26de8ecb76
feat(cmd): silence usage on error
...
Closes https://github.com/kubernetes/helm/issues/864
9 years ago
Miguel Martinez
7bb4893cad
Support Linter for Values
9 years ago
Michelle Noorali
bb875b5657
Merge pull request #896 from michelleN/fix/892-fetch-untar
...
fix(chartutil): fix chartutil.Expand function
9 years ago
Matt Butcher
ab4e20c278
Merge pull request #888 from technosophos/fix/887-no-value-fix
...
fix(tiller): stop printing <no value> when var is missing
9 years ago
Michelle Noorali
bcffe8a3f2
fix(chartutil): fix Expand function
...
This ensures that all necessary directories
get created when expanding a chart in the
chartutil.Expand function. fixes #892
9 years ago
Adam Reese
5cd8f4d047
Merge pull request #893 from adamreese/fix/pin-kube-version
...
fix(deps): pin kubernetes to a tagged release
9 years ago
Adam Reese
91cc0251d0
fix(deps): pin kubernetes to a tagged release
9 years ago
Adam Reese
4a509ebf81
Merge pull request #891 from adamreese/fix/deps
...
fix(deps): fix unvendored dependencies
9 years ago
Adam Reese
024c5adef7
fix(deps): fix unvendored dependencies
...
Fixes pulling a few dependencies from GOPATH
```
% glide -q list
...
GOPATH packages:
github.com/inconshreveable/mousetrap
github.com/opencontainers/runc/libcontainer/cgroups/fs
github.com/opencontainers/runc/libcontainer/configs
google.golang.org/appengine/urlfetch
google.golang.org/appengine
```
9 years ago
Matt Butcher
2084af2e04
Merge pull request #885 from migmartri/882-linter-improvements
...
Adding squote test case and generic message
9 years ago
Matt Butcher
641bae6d6c
Merge pull request #884 from migmartri/remove-output
...
Removing debugging line
9 years ago
Matt Butcher
a0a0eb6b34
Merge pull request #886 from spiffxp/docker-tag-no-f
...
Avoid use of -f for docker tag
9 years ago
Matt Butcher
100dd314f2
Merge pull request #883 from technosophos/fix/879-fix-name-truncate
...
fix(docs): fix nginx example chart name
9 years ago
Matt Butcher
96ac6ebc6c
fix(tiller): stop printing <no value> when var is missing
...
Instead of printing "no value", this prints an empty string by
default, but adds a Strict flag on the engine, which (if true)
will cause a template render to error out if a value is not supplied.
Strict is set to false so that developers can instead use `default` to
set default values.
9 years ago
Aaron Crickenberger
e5bc9ef176
Avoid use of -f for docker tag
...
As of docker 1.10, `-f` has been removed as an option for `docker tag`
https://docs.docker.com/engine/deprecated/
9 years ago
Miguel Martinez
d1fe406478
Adding squote test case and generic message
9 years ago
Miguel Martinez
2eff17cb6d
Removing debugging line
9 years ago
Matt Butcher
628e0b7cec
fix(docs): fix nginx example chart name
...
The name was not correctly truncating, which occasionally resulted
in naming errors, since Kubernetes restricts names to 24 characters.
9 years ago
Matt Butcher
59806b40a8
Merge pull request #873 from technosophos/feat/859-namespace-values
...
feat(*): add Values namespace to templates
9 years ago
Matt Butcher
225d3a8adc
test(engine): add test case for deep release passing
9 years ago
Matt Butcher
e00f774a5d
fix(engine): remove debugging output
9 years ago
Matt Butcher
90c46e896d
fix(chartutil): fix Table() method to test Values
...
This makes the Table() method more flexible than the original version.
It allows either a map[string]interface{} or a chartutil.Values to be
treated as a table.
9 years ago
Matt Butcher
22ac61469f
feat(*): add Values namespace to templates
...
This adds the .Values namespace qualifier to all values
9 years ago
Michelle Noorali
1dc95be105
Merge pull request #857 from migmartri/689-template-rules
...
Templates directory lint rules
9 years ago
Miguel Martinez
81ac98ad9a
Adding support for associated templates
...
Fixing unit test
9 years ago
Matt Butcher
eb2625b118
Merge pull request #875 from technosophos/feat/850-code-of-conduct
...
feat(code of conduct): add code of conduct
9 years ago