Martin Hickey
b74fee715e
Add capability for application charts to be used as library charts
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
6 years ago
Matthew Fisher
b1ae1acc8b
Merge pull request #5283 from bacongobbler/purge-by-default
...
ref(uninstall): purge release history by default
6 years ago
Martin Hickey
1915358a21
Merge pull request #5538 from hickeyma/add-app-version
...
feat(*): Add app version to history table
6 years ago
Martin Hickey
4ad8b0cb00
Update from source section in install doc
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
6 years ago
Matthew Fisher
1b77848c89
Merge pull request #5649 from VilledeMontreal/docs/replacek8sByHelm
...
docs: Replace reference to k8s.io to helm.sh
6 years ago
Marc Khouzam
3eef735305
docs: Replace reference to k8s.io to helm.sh
...
Signed-off-by: Marc Khouzam <marc.khouzam@ville.montreal.qc.ca>
6 years ago
Ian Howell
ffff0e8c33
Feat/schema validation ( #5350 )
...
* Add the Schema type and a function to read it
* Added a function to read a schema from a file
* Check that values.yaml matches schema
This commit uses the gojsonschema package to validate a values.yaml file
against a corresponding values.schema.yaml file.
* Add functionality to generate a schema from a values.yaml
* Add Schema to Chart and loader
* Clean up implementation in chartutil
* Add tests for helm install with schema
* Add schema validation to helm lint
* Clean up "matchSchema"
* Modify error output
* Add documentation
* Fix a linter issue
* Fix a test that broke during a rebase
* Clean up documentation
* Specify JSONSchema spec
Since JSONSchema is still in a draft state as of this commit, we need to
specify a particular version of the JSONSchema spec
* Switch to using builtin functionality for file extensions
* Switch to using a third-party library for JSON conversion
* Use the constants from the gojsonschema package
* Updates to unit tests
* Minor change to avoid string cast
* Remove JSON Schema generation
* Change Schema type from map[string]interface{} to []byte
* Convert all Schema YAML to JSON
* Fix some tests that were broken by a rebase
* Fix up YAML/JSON conversions
* This checks subcharts for schema validation
The final coalesced values for a given chart will be validated against
that chart's schema, as well as any dependent subchart's schema
* Add unit tests for ValidateAgainstSchema
* Remove nonessential test files
* Remove a misleading unit test
The TestReadSchema unit test was simply testing the ReadValues function,
which is already being validated in the TestReadValues unit test
* Update documentation to reflect changes to subchart schemas
6 years ago
Michelle Noorali
3dd1765491
Merge pull request #5631 from michelleN/test-run
...
add helm test run
6 years ago
Matthew Fisher
e2ccf13294
Merge pull request #5553 from bacongobbler/same-appversion-as-version
...
ref(create): app version should be 0.1.0
6 years ago
Michelle Noorali
ceab13e9a1
fix test command, move test to test run subcmd
...
Signed-off-by: Michelle Noorali <michellemolu@gmail.com>
6 years ago
Martin Hickey
b72e25cfb9
Change header "APP_VERSION" to "APP VERSION"
...
Update following review comment:
- https://github.com/helm/helm/pull/5538#pullrequestreview-221803355
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
6 years ago
Martin Hickey
b600f6090e
Add app version to history table
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
6 years ago
Matthew Fisher
5264ebd5aa
Merge pull request #5572 from ian-howell/fix/template-error-messages
...
fix(pkg/engine): Clean up template error messages
6 years ago
Matthew Fisher
d3f0ac9343
ref(create): app version should be 0.1.0
...
When creating a Helm chart for the first time, the assumption should be that the app version is also 0.1.0, implying this is for a new application.
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Adam Reese
658c66dc66
Merge pull request #5560 from adamreese/v3/chart-validate
...
ref(pkg/chart): add validation method to chart
6 years ago
Michelle Noorali
b2a912324c
Merge pull request #5591 from michelleN/uninstall-bug
...
fix multi uninstall bug
6 years ago
Michelle Noorali
0d08044776
fix multi uninstall bug
...
Signed-off-by: Michelle Noorali <michellemolu@gmail.com>
6 years ago
Ian Howell
278594fb0f
fix(pkg/engine): Style changes on template errors
...
Signed-off-by: Ian Howell <ian.howell0@gmail.com>
6 years ago
Ian Howell
92b86f6e74
fix(pkg/engine): Catch non-templating errors when rendering templates
...
Signed-off-by: Ian Howell <ian.howell0@gmail.com>
6 years ago
Ian Howell
33b1ede570
fix(pkg/engine): Clean up template error messages
...
Signed-off-by: Ian Howell <ian.howell0@gmail.com>
6 years ago
Abhilash Gnan
d40f3c63ea
fix ByDate sorter to use Time.Unix()
...
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
6 years ago
Adam Reese
e458a67f0c
ref(pkg/chart): add validation method to chart
...
Consolidate validation of Chart.yaml.
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Abhilash Gnan
7d3f85998b
update list tests expected output files
...
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
6 years ago
Abhilash Gnan
f7e2a78374
fix test cases for list.AllNamespaces
...
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
6 years ago
Abhilash Gnan
f4c2b02cef
remove unnecessary setting of list.All flag
...
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
6 years ago
Abhilash Gnan
f019ec0e8d
add superseded to list filter mask
...
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
6 years ago
Abhilash Gnan
537872526b
add more releases to list tests
...
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
6 years ago
Abhilash Gnan
20c4d29295
fix docs for helm list
...
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
6 years ago
Abhilash Gnan
416667a8e9
Remove redundant ByNameAsc enum value. Handled by default sorting
...
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
6 years ago
Abhilash Gnan
b9a39e46de
handle default list sort order through enum order
...
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
6 years ago
Abhilash Gnan
05523b5d84
fix test cases for sort list with options
...
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
6 years ago
Abhilash Gnan
d3c85f97c2
fix sort list with options bug
...
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
6 years ago
Adam Reese
d4323c1da8
Merge pull request #5529 from ian-howell/docs/V2toV3
...
docs: Update the "Developer Guide"
6 years ago
Matthew Fisher
9ac1b756e1
Merge pull request #5458 from hickeyma/fix-make-docs-target
...
Fix the docs targets
6 years ago
Martin Hickey
bd7c970ff9
Fix files copyright
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
6 years ago
Martin Hickey
030fef5765
Fix docs targets
...
Update to the `docs` and `verify-docs` targets for v3.
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
6 years ago
Martin Hickey
46e6539e63
Remove docs target and generated docs folder
...
It would seem that generated docs were removed in `5048ed8`
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
6 years ago
Martin Hickey
d59835fb67
Fix make docs target
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
6 years ago
Ian Howell
8f87eb1fac
docs: Update the "Developer Guide"
...
Signed-off-by: Ian Howell <ian.howell0@gmail.com>
6 years ago
Adam Reese
4b9bdf5baa
Merge pull request #5528 from adamreese/v3/capabilities-marshal
...
fix(pkg/chartutil): marshal capabilities VersionSet into slice
6 years ago
Adam Reese
31819e4796
fix(pkg/chartutil): marshal capabilities VersionSet into slice
...
Marshal capabilities VersionSet into readable value.
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
5f9ff4cdae
Merge pull request #5527 from adamreese/v3/capabilites-external-only
...
fix(pkg/chartutil): only include external objects in capabilities
6 years ago
Adam Reese
87e789f01f
fix(pkg/chartutil): only include external objects in capabilities
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
fe06343b8f
Merge pull request #5512 from adamreese/v3/linter-fixes
...
ref(pkg/action): refactoring dup code and linter fixes
6 years ago
Matthew Fisher
5f579aaf47
Merge pull request #5506 from bacongobbler/k8s-1.14
...
chore(dep): bump kubernetes to 1.14.0
6 years ago
Adam Reese
295092cd7d
ref(pkg/action): refactoring dup code and linter fixes
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Matthew Fisher
bb179bdead
chore(dep): bump kubernetes to 1.14.0
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Matthew Fisher
0805a87140
ref(uninstall): purge release history by default
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Matthew Fisher
0b1caa14a7
Merge pull request #5489 from bacongobbler/list-move-namespaces-field
...
ref(list): move namespaces field closer to the name
6 years ago
Matthew Fisher
32712201ec
ref(list): move namespaces field closer to the name
...
Most users want to see the release name and the namespace it was deployed to,
as those are the unique identifiers where the release is stored. I also added
integration tests for `helm list` to better test the command output.
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago