Brian
d6b0dc0626
Merge pull request #1339 from fibonacci1729/ref/rlsutil
...
ref(*): add pkg/releaseutil.
9 years ago
Matt Butcher
cbe7a2a993
Merge pull request #1345 from technosophos/fix/1342-ignore-charts-dotfiles
...
fix(helm): ignore dotfiles in charts/ directories
9 years ago
fibonacci1729
24fe8643de
ref(*): add sorter/filter utilties to releaseutil
9 years ago
Michal Rostecki
1b5c993853
fix(helm): remove unused consts from client
...
Const variables defined in client.go weren't used
anywhere.
Ref #953
9 years ago
Matt Butcher
2388e71528
fix(helm): ignore dotfiles in charts/ directories
...
This causes 'helm dep [up|install]' to ignore files in charts/ that
start with either a dot or an underscore. It also changes the
chartloader to ignore those files.
Also, if a 'helm dep up' does not find a charts/ directory, it creates
one.
Closes #1342
9 years ago
Adam Reese
f71230ccd3
fix(*): resolve go linter issues
9 years ago
Matt Butcher
4979aa0827
ref(repo): move urlJoin to the right package
...
I wrote urlJoin to fix URL joining, but I put it in the wrong place and
never used it. This moves it to the right place, and replaces the hacky
previous solution.
9 years ago
Adam Reese
150fb33c2e
fix(*): prevent testing package from being imported
...
Prevent testing package from being imported into main application
9 years ago
Adam Reese
4de5c4aa57
chore(*): bump to v2.0.0-alpha.5
9 years ago
Matt Butcher
1c6fc9c0e8
feat(helm): remove the requirement that fetch/install need version
...
This removes the requirement that a fetch or install command must
explicitly state the version number to install. Instead, this goes to
the strategy used by OS package managers: Install the latest until told
to do otherwise.
Closes #1198
9 years ago
Matt Butcher
d4e7845e7a
Merge pull request #1287 from technosophos/fix/1192-remove-gopkg-yaml
...
fix(*): remove references to gopkg.in/yaml.v2
9 years ago
Keerthan Reddy Mala (kmala)
3830a06b14
fix(index): Append just the filename instead of full path to the url
...
Signed-off-by: Keerthan Reddy Mala (kmala) <kmala@deis.com>
9 years ago
Brian
c87a902b0c
Merge pull request #1274 from fibonacci1729/feat/history
...
feat(helm/cmd): support for retrieving release history
9 years ago
fibonacci1729
e9dd302a9c
feat(helm/cmd): support for retrieving release history
9 years ago
Matt Butcher
fd0303c86e
fix(*): remove references to gopkg.in/yaml.v2
...
This removes the last of the requests for gopkg.in/yaml.v2, and
also the struct annotations.
Closes #1192
Closes #1263
9 years ago
Matt Butcher
ea66d66d2d
Merge pull request #1282 from technosophos/fix/1265-auto-update-index
...
fix(repo): auto-update index file formats
9 years ago
Matt Butcher
ea0e665f84
fix(repo): auto-update index file formats
...
This performs a relatively weak in-memory translation of index file
data. It does not, in most cases, write the corrected data to disk, and
it emits a warning directly to STDERR each time it loads a deprecated
index.
Known limitations:
- It cannot recover certain bogus records that earlier alpha releases
generated (notably, where all chartfile data is missing)
- In some cases, it has to parse a filename to get version info. This is
lossy.
- Because it takes three passes through the YAML and JSON unmarshal, it
is not performant.
This feature is transitional and should be removed during the Beta
cycle, prior to the release of 2.0.0.
Closes #1265
9 years ago
Matt Butcher
3e3312cea0
feat(tiller): re-use values during upgrade
...
When `helm install -f foo.yaml bar` is called, and then the release is
upgraded with `helm upgrade happy-panda bar`, this will now re-use the
values that were submitted with `-f foo.yaml`. The same is true for
values specified with `--set`.
Closes #1227
9 years ago
Matt Butcher
96cdbbe6b1
Merge pull request #1275 from technosophos/fix/srv-in-tmp
...
fix(helm): fix tests so that they do not write data into testdata
9 years ago
Brian
837d0a8880
Merge pull request #1253 from fibonacci1729/chore/pkg-helm-tests
...
chore(helm): add test coverage to pkg/helm
9 years ago
fibonacci1729
41be5f5985
chore(helm): add test coverage to pkg/helm
9 years ago
Matt Butcher
fc160256e5
fix(helm): fix tests so that they do not write data into testdata
...
There was a bug in the repo tests that caused them to overwrite the
repositories.yaml file in that directory. Now, the entire tests (server
and client-side) run inside of a temp directory.
9 years ago
Matt Butcher
10eb74abbb
Merge pull request #1269 from technosophos/feat/1264-chart-apiversion
...
fix(chart): Chart.yaml now has an apiVersion field.
9 years ago
Matt Butcher
4f09b05613
feat(helm): implement new index format
...
This implements a new index file format for repository indices. It also
implements a new format for requirements.yaml.
Breaking change: This will break all previous versions of Helm, and will
impact helm search, repo, serve, and fetch functions.
Closes #1197
9 years ago
Matt Butcher
e0227c7510
fix(chart): Chart.yaml now has an apiVersion field.
...
This is to future-proof charts, and also be consistent with repo and
index YAML files.
Closes #1264
9 years ago
Matt Butcher
95a358de35
Merge pull request #1236 from technosophos/ref/kube1.4
...
ref(*): update to Kubernetes 1.4
9 years ago
Matt Butcher
68dd4c9a66
fix(proto): remove unused fields
...
Some fields were introduced to Chart metadata after Alpha.4, but are not
going to be used ever. So we made the decision to remove them before we
get stuck with ugliness.
This should not break compatibility, since these fields were not used.
9 years ago
Adam Reese
5a5a44ec17
feat(*): add rollback to a release version
...
closes #1244
9 years ago
Michelle Noorali
ac88aaf218
feat(*): add helm rollback functionality
...
This feature allows you to rollback release to the
previous version of release.
resolves #1004
9 years ago
Matt Butcher
e4c217768e
ref(*): update to Kubernetes 1.4
...
This starts with #1211 and does the other updates necessary for
bumping us to Kubernetes 1.4.
9 years ago
Adam Reese
c0d33afc81
Merge pull request #1235 from adamreese/chore/bump-grpc
...
chore(*): bump grpc to 1.0.1-GA
9 years ago
Matt Butcher
431cc46cad
feat(tiller): add toYaml template function
...
This adds the function toYaml to the Engine template functions.
Closes #1225
9 years ago
Adam Reese
a4a2f5c983
chore(*): bump grpc to 1.0.1-GA
9 years ago
Matt Butcher
be409d31c5
Merge pull request #1221 from technosophos/feat/helm-dependency-update-2
...
feat(helm): add requirements.yaml support
9 years ago
Matt Butcher
593718d749
feat(helm): add 'helm dependency' commands
...
This also refactors significant portions of the CLI, moving much of the
shared code into a library.
Also in this release, a testing repository server has been added.
9 years ago
Adam Reese
e0d02e6e5b
feat(*): add api version checks
9 years ago
Matt Butcher
a5921faf99
feat(chartutils): add support for requirements.yaml
9 years ago
fibonacci1729
f77435e686
fix(helm-list): only list configmaps owned by TILLER
9 years ago
Matt Butcher
b8f8efc601
Merge pull request #1202 from philips/use-digest-format
...
feat(repo): use OCI style digest identifiers
9 years ago
Brandon Philips
440e548901
feat(repo): use OCI style digest identifiers
...
Use the same format as the Open Container Initiative for a digest
string. https://github.com/opencontainers/image-spec/blob/master/descriptor.md#digests-and-verification
Fixes #1166
9 years ago
Adam Reese
264c6b10e1
feat(*): add git tree state to binaries
...
* clean up version output
9 years ago
Ville Aikas
1d6202d895
Merge pull request #1126 from vaikas-google/master
...
first cut of version on client and server
9 years ago
Ville Aikas
09e6af461f
clean up the formatting, remove unnecessary git_version from version as per discussions with @areese
9 years ago
Keerthan Reddy Mala (kmala)
55dc7b690f
fix(tiller): Upgrade shouldn't fail if there are no changes
...
Signed-off-by: Keerthan Reddy Mala (kmala) <kmala@deis.com>
9 years ago
vaikas-google
4a7352cdc0
adjust proto field numbers
9 years ago
vaikas-google
f8adf7f4d2
Address cr comments
9 years ago
vaikas-google
cbec79482a
address code review comments
9 years ago
vaikas-google
6d26024a27
first cut of version on client and server
9 years ago
Brian
79e5772061
Merge pull request #1155 from fibonacci1729/feat/rollback-storage
...
feat(rollback storage): support for rolling back to previous release.
9 years ago
Brian
cb93006c83
Merge pull request #1154 from fibonacci1729/feat/version-opt-flag
...
feat(helm): add optional version flag to helm{get,status}
9 years ago
fibonacci1729
83df6ebc4d
feat(rollback-storage): remove extraneous else block and fix type in records_test
9 years ago
Brandon Philips
dadb026afe
fix(helm): avoid a panic for sign
...
Before this fix:
```
/Users/philips/src/k8s.io/helm/bin/helm package --sign mychart --key FC8A365E
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x13120a]
goroutine 1 [running]:
panic(0x10fed00, 0xc4200120d0)
/usr/local/Cellar/go/1.7.1/libexec/src/runtime/panic.go:500 +0x1a1
k8s.io/helm/pkg/provenance.(*Signatory).ClearSign(0xc4205db100, 0xc42011ec20, 0x20, 0x8, 0xc4205db100, 0x0, 0x0)
/Users/philips/src/k8s.io/helm/pkg/provenance/sign.go:156 +0x3a
main.(*packageCmd).clearsign(0xc420017720, 0xc42011ec20, 0x20, 0x0, 0x0)
/Users/philips/src/k8s.io/helm/cmd/helm/package.go:143 +0xa5
main.(*packageCmd).run(0xc420017720, 0xc420390240, 0xc420120d00, 0x1, 0x4, 0x13639b0, 0x104dfe0)
/Users/philips/src/k8s.io/helm/cmd/helm/package.go:130 +0x31b
main.newPackageCmd.func1(0xc420390240, 0xc420120d00, 0x1, 0x4, 0x0, 0x0)
/Users/philips/src/k8s.io/helm/cmd/helm/package.go:77 +0xc4
k8s.io/helm/vendor/github.com/spf13/cobra.(*Command).execute(0xc420390240, 0xc420120c40, 0x4, 0x4, 0xc420390240, 0xc420120c40)
/Users/philips/src/k8s.io/helm/vendor/github.com/spf13/cobra/command.go:571 +0x234
k8s.io/helm/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc420405200, 0x0, 0x0, 0x0)
/Users/philips/src/k8s.io/helm/vendor/github.com/spf13/cobra/command.go:661 +0x367
k8s.io/helm/vendor/github.com/spf13/cobra.(*Command).Execute(0xc420405200, 0x1b52720, 0xc4200001a0)
/Users/philips/src/k8s.io/helm/vendor/github.com/spf13/cobra/command.go:620 +0x2b
main.main()
/Users/philips/src/k8s.io/helm/cmd/helm/helm.go:110 +0x2d
```
9 years ago
Adam Reese
d8616dd2b3
fix(lint): allow .txt files
...
closes #1161
9 years ago
fibonacci1729
1d6c16175b
feat(rollback-storage): remove unreachable code from memory
9 years ago
fibonacci1729
e42aa6c09c
feat(helm): add optional version flag to helm{get,status}
9 years ago
fibonacci1729
b47379ccdc
feat(rollback-storage): golint & removed early return from release server
9 years ago
fibonacci1729
e25732284b
feat(rollback-storage): gofmt, added missing license headers, and canconical import paths
9 years ago
fibonacci1729
383a9c186a
update pkg/storage to support rollback
9 years ago
Matt Butcher
36606cf152
Merge pull request #1150 from technosophos/feat/874-chart-deps
...
feat(charts): add 'dependencies:' to Chart.yaml
9 years ago
Michelle Noorali
ce4ae51ec1
Merge pull request #1146 from michelleN/bug/1133-fix-delete
...
fix(kube): delete should skip resources not found
9 years ago
Matt Butcher
34577d1ebc
feat(charts): add 'dependencies:' to Chart.yaml
...
This feature adds a dependencies section to a chart file. It is a
prerequisite for adding automated chart management tooling as described
in #874 .
9 years ago
Michelle Noorali
f062cff5a3
fix(kube): delete should skip resources not found
9 years ago
Adam Reese
60b4188867
chore(*): bump version to v2.0.0-alpha.4
9 years ago
fibonacci1729
f622672bf8
feat(rollback-support): add version field to protos to support querying by (release_name, version)
9 years ago
joe2far
72e7b22999
minor engine unit test fix
9 years ago
vaikas-google
492dbb3791
Add support for NOTES.txt file
9 years ago
Matt Butcher
d5170d2335
Merge pull request #1116 from ammeon/ignore-chart-dotfiles
...
feat(helm): package to ignore all dotfiles by default
9 years ago
joe2far
96de0e35aa
feat(helm): ignore by default all dotfiles in templates/
9 years ago
Matt Butcher
2547bf4b89
Merge pull request #1105 from technosophos/ref/move-pkg-client
...
ref(pkg/client): move pkg/client to cmd/helm/installer
9 years ago
Matt Butcher
5566e6baec
ref(pkg/client): move pkg/client to cmd/helm/installer
...
This is a minor refactor to move a leftover from Ancient Helm into the
current design. Specifically, the code to install Tiller from the Helm
client is now in `cmd/helm/installer`.
Closes #1033
9 years ago
Matt Butcher
5650072999
Merge pull request #1103 from technosophos/feat/973-list-all
...
feat(*): add 'helm list --all' and related flags
9 years ago
Matt Butcher
1be28d6f29
feat(*): add 'helm list --all' and related flags
...
This adds support for the following 'helm list' flags:
- all: show all release types
- deleted: show deleted releases
- deployed: show deployed releases
- failed: show failed releases
These flags can be toggled. Only '--deployed' is turned on by default.
On the server side, Tiller's list function can now filter based on a
slice of release.Status_Code filters. While the client only supports a
subset, the server supports all known release.Status_Code types.
Closes #973
9 years ago
Michelle Noorali
50d8d36d8b
ref(kube): delete skips IsNotFound errs
...
Currently, delete returns an error if a resource is not found.
That is a bit confusing because if you delete something that
is not found, the end state is not really an error. The end
state is what you wanted to do in the first place. This type
of error is not propogated from the kube client but it is logged
in tiller. We could also change this to keep returning errors
(even the not found) and filter it out in the release server.
9 years ago
Matt Butcher
926d7931d8
Merge pull request #1067 from ebraminio/deletepurge
...
Add purge option for completely remove a release from tiller
9 years ago
Michelle Noorali
c7bec34454
chore(kube): make update logic more generic
9 years ago
Michelle Noorali
197e466b9a
ref(*): return resource update errors
...
Resolves #1058
9 years ago
Matt Butcher
01e2d367dd
Merge pull request #988 from technosophos/feat/sig-files
...
feat(pkg/provenance): add OpenPGP signatures
9 years ago
Matt Butcher
f1d07c3f11
feat(helm): add --verify flag to commands
...
This adds the --verify and --keyring flags to:
helm fetch
helm inspect
helm install
helm upgrade
Each of these commands can now make cryptographic verification a
prerequisite for using a chart.
9 years ago
Matt Butcher
d80df93414
feat(helm): add signature support to 'helm package'
9 years ago
Matt Butcher
ce83a8a777
feat(pkg/provenance): add OpenPGP signatures
...
This adds support for OpenPGP signatures containing provenance data.
Such information can be used to verify the integrity of a Chart by
testing that its file hash, metadata, and images are correct.
This first PR does not contain all of the tooling necessary for
end-to-end chart integrity. It contains just the library.
See #983
9 years ago
Matt Butcher
84761a559a
fix(helm): remove extra linter output
...
Closes #1076
9 years ago
Matt Butcher
a46a033de4
feat(chart): support 'image:URL' in charts.
...
Closes #1034
9 years ago
Miguel Martinez
cb12d9642b
Disable validateQuotes linter rule
9 years ago
Ebrahim Byagowi
1c9b8d7257
Add purge option for completely remove a release from tiller
9 years ago
Matt Butcher
5bcf29d214
feat(tiller): make configmaps the default storage
...
This adds a Tiller CLI flag to override the default, and tests to
make sure that the default comes up as expected.
9 years ago
Adam Reese
47c360da37
chore(*): bump version to v2.0.0-alpha.3
9 years ago
Ville Aikas
c2cdb97ba2
Merge pull request #1039 from vaikas-google/master
...
First cut of adding dynamic cluster support to status command
9 years ago
vaikas-google
d2841f92f3
formatting changes, add comments, make tests pass
9 years ago
fibonacci1729
ae2d6c5050
Merge branch 'master' into feat/storage-memory
9 years ago
vaikas-google
d8e185267d
First cut of adding dynamic cluster support to status command
9 years ago
fibonacci1729
9d3a1ed2a7
basic cfgmaps driver tests
9 years ago
fibonacci1729
d5aca1666c
configmaps: style fix
9 years ago
fibonacci1729
94a154b745
more style fixes and cleanup
9 years ago
fibonacci1729
559e9081fb
style fixes and cleanup
9 years ago
fibonacci1729
3dca699410
fix: storage tests
9 years ago
Michelle Noorali
f99228778d
feat(*): integrate support for upgrade hooks
9 years ago
fibonacci1729
7c56882ed9
fix configmaps list, and labels mechanism for future tiller mgmt
9 years ago
fibonacci1729
cba0c6615f
gofmt
9 years ago
fibonacci1729
8c56533a47
configmap tests & some reduction in driver complexity
9 years ago
Michelle Noorali
70b9f11a03
feat(*): add disable hooks flag to `helm upgrade`
9 years ago