Matt Butcher
864d278339
fix(helm): prevent 'helm history' from segfaulting
...
An release that does not contain chart metadata cannot print its chart
name/version. This fixes a bug found in the wild where a release did not
(for reasons yet unknown) contain a chart.
Closes #1348
8 years ago
fibonacci1729
24fe8643de
ref(*): add sorter/filter utilties to releaseutil
8 years ago
Michelle Noorali
2fa6335ce4
Merge pull request #1324 from michelleN/repo-remove-refactor
...
ref(helm): add new line after repo remove msg
8 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
8 years ago
Adam Reese
3c98c512c9
Merge pull request #1336 from adamreese/feat/grpc-tracing
...
feat(tiller): add optional grpc tracing
8 years ago
Matt Butcher
a324146945
Merge pull request #1323 from technosophos/fix/1305-mark-deleted-on-fail
...
fix(tiller): when delete fails, mark release as deleted
8 years ago
Adam Reese
a2e577814d
feat(helm): add kubeconfig context switching
...
closes : #1127
8 years ago
Adam Reese
995f7569c9
feat(tiller): add optional grpc tracing
8 years ago
Adam Reese
36ec1901eb
Merge pull request #1316 from adamreese/ref/linters
...
ref(scripts): use gometalinter for linters
8 years ago
Matt Butcher
40a55b939f
Merge pull request #1325 from technosophos/fix/1301-helm-help-consistency
...
fix(helm): make 'helm help' text punctuation consistent
8 years ago
Adam Reese
f71230ccd3
fix(*): resolve go linter issues
8 years ago
Matt Butcher
bce805f6bd
Merge pull request #1319 from technosophos/ref/1318-remove-old-funcs
...
ref(helm): remove old structure functions
8 years ago
Matt Butcher
7c096fb2c2
fix(helm): make 'helm help' text punctuation consistent
...
Closes #1301
8 years ago
Michelle Noorali
59229eefee
ref(helm): add new line after repo remove msg
...
I think this got lost in a refactor. Was just bothering me.
8 years ago
Matt Butcher
b9fb8abdbc
ref(helm): remove old structure functions
...
This replaces the old structure functions with the functions in
cmd/helm/helmpath.
Closes #1318
8 years ago
Matt Butcher
87ab6673e0
fix(tiller): when delete fails, mark release as deleted
...
When a deletion fails to remove a manifest file, the release should
still be marked as deleted. This changes the error handling to try to
delete all manifests, and then mark the release as deleted, then return
the errors.
Closes #1305
8 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.
8 years ago
Matt Butcher
a85c37f2a4
fix(tiller): correct sort manifests by type
...
Closes #1313
8 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
8 years ago
Matt Butcher
5600b129ef
fix(helm): resolve URLs and SemVers correctly
...
The original dependency resolution did not correctly resolve version or
URL of a dependency. Version was tracked by filename, and URL was
assumed to be absolute. This fixes both of those.
Closes #1277
8 years ago
Matt Butcher
d2bf6b62f5
Merge pull request #1284 from technosophos/feat/1199-versions-flag
...
feat(helm): add --versions flag on search
8 years ago
Brian
1bf524b4c2
Merge pull request #1289 from fibonacci1729/fix/history-output
...
fix(cmd/hist): print revision history with unix synergy
8 years ago
fibonacci1729
00938d2a6d
fix(cmd/hist): print revision history with unix synergy
8 years ago
fibonacci1729
0ab6c4f9c6
fix(1246): pull most recent release from history
8 years ago
Brian
c87a902b0c
Merge pull request #1274 from fibonacci1729/feat/history
...
feat(helm/cmd): support for retrieving release history
8 years ago
fibonacci1729
e9dd302a9c
feat(helm/cmd): support for retrieving release history
8 years ago
Matt Butcher
d0cefeaf82
feat(helm): add --versions flag on search
...
This causes search to index by name/version instead of just name, which
means you can get a list of versions of a chart. The '--versions' flag
enables this behavior.
Partially fixes #1199
8 years ago
Matt Butcher
ea66d66d2d
Merge pull request #1282 from technosophos/fix/1265-auto-update-index
...
fix(repo): auto-update index file formats
8 years ago
Matt Butcher
a7b4b2674e
Merge pull request #1281 from technosophos/fix/1261-search-uitable
...
fix(helm): fix 'helm search' to use UITable
8 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
8 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
8 years ago
Matt Butcher
79e5fd6b74
fix(helm): fix 'helm search' to use UITable
...
Closes #1261
8 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
8 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.
8 years ago
Matt Butcher
10eb74abbb
Merge pull request #1269 from technosophos/feat/1264-chart-apiversion
...
fix(chart): Chart.yaml now has an apiVersion field.
8 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
8 years ago
Matt Butcher
66e59f63e7
fix(helm): change 'helm update' to 'helm repo update'
...
The old form is marked deprecated.
Relates to #1196
8 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
8 years ago
Adam Reese
854f3e0b51
ref(helm): refactor {home,lint,serve} commands
8 years ago
fibonacci1729
9cfbbb34f1
fix(1245): hook up revision flag to helm get {manifest,values,hooks}
8 years ago
Adam Reese
1db7bd649f
fix(helm): s/version/revision/
8 years ago
Adam Reese
5a5a44ec17
feat(*): add rollback to a release version
...
closes #1244
8 years ago
Adam Reese
becc12008f
Merge pull request #1218 from kubernetes/feat/rollback
...
feat(*): add helm rollback functionality
8 years ago
Matt Butcher
3437e5d6e5
Merge pull request #1234 from prydonius/rename-to-stable
...
chore(repo): Rename default charts repo to 'stable'
8 years ago
Adam Reese
3f1101cdfb
fix(tiller): do not create releases for a dry-run
8 years ago
Matt Butcher
065f178072
Merge pull request #1238 from technosophos/fix/1228-order-manifests
...
fix(tiller): Order the manifests before sending to k8s
8 years ago
Matt Butcher
65d0c03c0f
fix(tiller): Order the manifests before sending to k8s
...
This orders manifests both for installs and deletes so that the
manifests are ordered by kind.
Closes #1228
8 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
8 years ago
Matt Butcher
446d555178
feat(helm): update helm search
...
Switch 'helm search' from file crawling to using the indices. Also
add scorable indexing, forward porting the search code I originally
wrote for Helm Classic.
Closes #1226
Partially addresses #1199
8 years ago
Matt Butcher
db29c25a2e
Merge pull request #1232 from technosophos/feat/1042-upgrade-install
...
feat(helm): add 'helm upgrade --install' support
8 years ago
Adnan Abdulhussein
90d3a952e9
chore(repo): Rename default charts repo to 'stable'
8 years ago
Matt Butcher
85b70c4881
fix(helm): if server is old, report this in a friendly way
...
If 'helm version' is run on an old server, it will emit an error telling
you the server is too old.
Closes #1223
8 years ago
Matt Butcher
36e6094c62
feat(helm): add 'helm upgrade --install' support
...
This makes it possible to run an upgrade that will install a release if
it doesn't already exist.
Closes #1042
8 years ago
Matt Butcher
2d449d3eb0
Merge pull request #1224 from technosophos/feat/long-list
...
feat(helm): make long listing default for helm list
8 years ago
Matt Butcher
be409d31c5
Merge pull request #1221 from technosophos/feat/helm-dependency-update-2
...
feat(helm): add requirements.yaml support
8 years ago
Matt Butcher
3a483bcf71
feat(helm): make long listing default for helm list
...
This removes --long and adds --short,-q
The default listing is now the long listing, which matches the behavior
of all of the other listing commands.
Closes #1215
8 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.
8 years ago
Adam Reese
e0d02e6e5b
feat(*): add api version checks
8 years ago
Matt Butcher
a5921faf99
feat(chartutils): add support for requirements.yaml
8 years ago
Michelle Noorali
bad0059242
ref(helm): display repo remove confirmation text
8 years ago
Michelle Noorali
30036834e8
ref(helm): make index description more clear
8 years ago
Michelle Noorali
ec4442373e
helm(repo): add repo add and index cmd test
8 years ago
Michelle Noorali
a86f304d37
ref(helm): convert repo commands to new format
...
issue #1203
8 years ago
Adam Reese
264c6b10e1
feat(*): add git tree state to binaries
...
* clean up version output
8 years ago
Ville Aikas
1d6202d895
Merge pull request #1126 from vaikas-google/master
...
first cut of version on client and server
8 years ago
Ville Aikas
09e6af461f
clean up the formatting, remove unnecessary git_version from version as per discussions with @areese
8 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>
8 years ago
vaikas-google
f8adf7f4d2
Address cr comments
8 years ago
vaikas-google
6d26024a27
first cut of version on client and server
8 years ago
Michelle Noorali
34f8707d6d
Merge pull request #1181 from michelleN/ref/check-args
...
ref(helm): refactor checkArgsLength method
8 years ago
fibonacci1729
9815c6b5c8
fix(1185): get release status by version iff version > 0
8 years ago
Adam Reese
448bb12c06
Merge pull request #1179 from adamreese/ref/helm-tunnel
...
ref(helm): simplify tunnel tests
8 years ago
fibonacci1729
e28e2419f2
fix(tiller): re-enable skipped test, golint, & gofmt all the things
8 years ago
Brian
79e5772061
Merge pull request #1155 from fibonacci1729/feat/rollback-storage
...
feat(rollback storage): support for rolling back to previous release.
8 years ago
fibonacci1729
84f982e8f1
feat(rollback-storage): use version in release_server test queries
8 years ago
fibonacci1729
825d2abd8c
feat(helm): better description for optional version flag
8 years ago
fibonacci1729
83df6ebc4d
feat(rollback-storage): remove extraneous else block and fix type in records_test
8 years ago
Michelle Noorali
e50f9e6b24
ref(helm): refactor checkArgsLength method
8 years ago
Adam Reese
123fb9e2fe
ref(helm): simplify tunnel tests
8 years ago
fibonacci1729
e42aa6c09c
feat(helm): add optional version flag to helm{get,status}
8 years ago
fibonacci1729
b47379ccdc
feat(rollback-storage): golint & removed early return from release server
8 years ago
fibonacci1729
de5365ec5c
feat(rollback-support): update release server / release server test
8 years ago
Matt Butcher
2b3d7c7f0c
Merge pull request #1139 from technosophos/fix/1138-failed-hook
...
fix(tiller): store failed release on post-inst failure
8 years ago
Matt Butcher
663f2b0f1d
fix(tiller): add test for failed hooks
8 years ago
Matt Butcher
53b01949a8
fix(tiller): store failed release on post-inst failure
...
This fixes a bug where post-install hooks did not result in recording a
failure.
8 years ago
Matt Butcher
1b3418d9e3
fix(helm): removed debug output
...
Also fixed a bug where a `--dry-run` will result in an error because
of the recently added status support.
There are several other output inconsistencies that I noticed and filed
as issue #1135 .
Closes #1130
8 years ago
Matt Butcher
c7182a5a35
Merge pull request #1132 from ammeon/replace-deleted
...
fix(tiller): Install --replace will result in an upgrade
8 years ago
Nic Roland
c180c4a250
fix(tiller): Install --replace will result in an upgrade
...
If a release has been deleted, `install --replace` will work but the release
status will still be "deleted". This means that subsequest attempts to
change the release will fail. Upgrading the release instead will prevent
such zombie releases.
Closes #1131
8 years ago
fibonacci1729
5b7e841faf
chore(tiller): delete redundant testing of storage in pkg/environment
8 years ago
Matt Butcher
fefa00fc52
fix(tiller): return status for deleted release
...
This modifies `helm status` to return info about deleted and failed
releases. We do our best to retrieve info for releases that were
partially deployed.
8 years ago
Ville Aikas
bf9dea1351
Merge pull request #1122 from vaikas-google/statusafterinstallupdate
...
print the status after install/upgrade
8 years ago
Michelle Noorali
07bcd3384a
Merge pull request #1112 from ammeon/fix-repo-index-url
...
fix(helm): make repo index not require repo_url
8 years ago
vaikas-google
6b9c9c5743
fix unit tests that I had b0rked before. Small code cleanup
8 years ago
Michelle Noorali
367a581a5a
Merge pull request #1109 from ammeon/fix-repo-remove-cache
...
fix(helm): make repo remove, clear cache
8 years ago
vaikas-google
406f0ab05c
print the status after install/upgrade
...
Signed-off-by: vaikas-google <vaikas@google.com>
8 years ago
vaikas-google
7c4cad5cf0
address lint comments from changing from all caps to camelcase
8 years ago
vaikas-google
c2a86cfbd4
fix a return statement with not enough arguments due to merge conflict
8 years ago
vaikas-google
492dbb3791
Add support for NOTES.txt file
8 years ago
joe2far
2253f3e84e
fix(helm): make repo index not require repo_url
8 years ago
Adam Reese
274804707c
Merge pull request #1118 from adamreese/feat/1117-init-version
...
feat(cmd): install latest tagged image on `helm init`
8 years ago
Adam Reese
5d820c4d7c
feat(cmd): install latest tagged image on `helm init`
...
closes : #1117
8 years ago
Matt Butcher
e2f9d8942c
Merge pull request #1107 from technosophos/fix/696-update
...
fix(helm): refactor 'helm update' to match new style
8 years ago
Matt Butcher
1fb16ab3c9
fix(helm): refactor 'helm update' to match new style
...
And add tests.
Closes #696
8 years ago
Matt Butcher
25c77febdb
Merge pull request #1097 from technosophos/feat/1001-k8s-apiversion
...
feat(tiller): verify apiVersions before install
8 years ago
Matt Butcher
557db8c6af
feat(tiller): verify apiVersions before install
8 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
8 years ago
Matt Butcher
afb2b934b8
Merge pull request #1104 from technosophos/feat/1100-multi-args
...
feat(helm): allow multiple args for fetch, package, delete
8 years ago
joe2far
4b718274bc
fix(tiller): truncate release name returned from moniker
8 years ago
joe2far
a3d56852f1
fix(helm): make repo remove clear cache
8 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
8 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
8 years ago
Matt Butcher
f3022a0909
feat(helm): allow multiple args for fetch, package, delete
...
This allows the following commands to accept more than one argument on
the CLI:
- helm fetch
- helm package
- helm delete
Closes #1100
8 years ago
Matt Butcher
926d7931d8
Merge pull request #1067 from ebraminio/deletepurge
...
Add purge option for completely remove a release from tiller
8 years ago
Michelle Noorali
197e466b9a
ref(*): return resource update errors
...
Resolves #1058
8 years ago
Adam Reese
76defc62ee
Merge pull request #1096 from adamreese/fix/spelings
...
fix(cmd): s/accomodate/accommodate/
8 years ago
Adam Reese
9bb471d2a8
fix(cmd): s/accomodate/accommodate/
...
Matt's second offence.
8 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.
8 years ago
Matt Butcher
d80df93414
feat(helm): add signature support to 'helm package'
8 years ago
Matt Butcher
13ee1af495
Merge pull request #1082 from devth/feat/add-set-to-helm-upgrade
...
Add --set flag to `helm upgrade`
8 years ago
Matt Butcher
77171c0136
Merge pull request #1080 from technosophos/feat/1071-limit-rel-name-len
...
feat(tiller): limit the max len of Release.Name
8 years ago
Trevor Hartman
9f0914f7cb
Add --set flag to `helm upgrade`
...
Fix #1070
8 years ago
Matt Butcher
cafec1202b
feat(tiller): limit the max len of Release.Name
...
This limits the number of characters in a release name to 14. This
preserves 10 characters for customizing the `name:` field in charts.
Relates to #1071
8 years ago
Michelle Noorali
cf5e158f0d
chore(helm): fix golint errors
8 years ago
Michelle Noorali
a124b4f56f
feat(helm): add rollback cmd
8 years ago
Ebrahim Byagowi
1c9b8d7257
Add purge option for completely remove a release from tiller
8 years ago
Matt Butcher
3181f70790
Merge pull request #1063 from devth/feat/value-merging
...
Include values from both --set and --values when specified on install
8 years ago
Trevor Hartman
edd6fd7465
Test overriding a property in TestValues
8 years ago
Adam Reese
6e4344ba17
Merge pull request #1064 from adamreese/fix/port-doc
...
fix(cmd): remove default port in cmd doc
8 years ago
Adam Reese
7bc56e74f9
fix(cmd): s/supress/suppress/
...
Suppress is spelled wrong.
Matt did it.
8 years ago
Adam Reese
6cc01e3a91
fix(cmd): remove default port in cmd doc
...
Default is unset.
8 years ago
Trevor Hartman
dacc4013c1
Include values from both --set and --values when specified on install
8 years ago
Matt Butcher
120256ecb3
Merge pull request #1057 from technosophos/feat/configmaps-default
...
feat(tiller): make configmaps the default storage
8 years ago
Matt Butcher
80761b6274
fix(helm): document KUBECONFIG env var
...
Closes #1047
8 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.
8 years ago
Matt Butcher
8cc146841e
Merge pull request #1044 from technosophos/fix/1041-downgrade-already-exists-to-warning
...
fix(helm): warn on init when Tiller already exists
8 years ago
Matt Butcher
3128562149
fix(helm): warn on init when Tiller already exists
...
Previously, if 'helm init' was run on a cluster that had Tiller
installed, the init would fail. However, this condition indicates that
both the client and the server are in a condition to work, so this
should not be an error. This PR downgrades that error to a warning.
Closes #1041
8 years ago
Adam Reese
db74f74b55
Merge pull request #1040 from adamreese/fix/spelling
...
fix(cmd): s/specifiy/specify/
8 years ago
Ville Aikas
c2cdb97ba2
Merge pull request #1039 from vaikas-google/master
...
First cut of adding dynamic cluster support to status command
8 years ago
vaikas-google
bdbe457c3c
forgot to change the return to string
8 years ago
Adam Reese
2cfb11fe44
fix(cmd): s/specifiy/specify/
8 years ago
vaikas-google
d2841f92f3
formatting changes, add comments, make tests pass
8 years ago
fibonacci1729
ae2d6c5050
Merge branch 'master' into feat/storage-memory
8 years ago
vaikas-google
d8e185267d
First cut of adding dynamic cluster support to status command
8 years ago
Michelle Noorali
ae4ff5cd81
Merge pull request #1030 from michelleN/feat/690-helm-upgrade
...
feat(*): implement helm upgrade + upgrade hooks
8 years ago
fibonacci1729
ce909a39d6
fix: return only deployed releases
8 years ago
fibonacci1729
559e9081fb
style fixes and cleanup
8 years ago
Michelle Noorali
f99228778d
feat(*): integrate support for upgrade hooks
8 years ago
fibonacci1729
3a6a9f2436
gofmt on cmd/tiller
8 years ago
fibonacci1729
1d04646c85
update failing tests to use new storage / driver apis
8 years ago
fibonacci1729
b28c3793a0
add feature flag to use storage driver configmaps
8 years ago
Matt Butcher
24e891ee6d
Merge pull request #1029 from ammeon/serve-repo-path
...
Serve charts from specified local repository path
8 years ago
Michelle Noorali
70b9f11a03
feat(*): add disable hooks flag to `helm upgrade`
8 years ago
Michelle Noorali
8be3a34ac6
feat(tiller): add update logic to release server
8 years ago
Matt Butcher
cc2c1d9393
Merge pull request #1025 from technosophos/fix/1024-missing-values
...
fix(helm): fix inspect command to not panic
8 years ago
joe2far
1e7c814e8a
Serve charts from specified local repository path
8 years ago
fibonacci1729
74deac940b
update tiller environment & release server to use new storage
8 years ago
Michelle Noorali
f600b30c7a
feat(kube): add update logic to kube client
...
This commit adds an Update function to the client.
The Update function takes in the modified manifests and
the original manifests. It then iterates through the modified
objects, creates objects not found in kubernetes, and updates
objects that exists but have been modified. Finally, it
iterates through the original resources and checks to see if
they have been deleted in the modified configuration and then
proceeds to delete them. #690
8 years ago
Matt Butcher
b009bf7dc4
fix(helm): fix inspect command to not panic
...
Helm can now inspect a chart if the values.yaml file is not present or
is empty.
8 years ago
Miguel Ángel Martínez Triviño
2521ce7bc2
Merge pull request #1019 from ebraminio/strictflag
...
Add a strict flag to helm lint
8 years ago
Ville Aikas
1d718d7939
Merge pull request #1015 from vaikas-google/master
...
Add name-template flag for installation that allows the user to speci…
8 years ago
Ebrahim Byagowi
107821f9ec
Add a strict flag to helm lint
8 years ago
vaikas-google
d42dbd3538
address code review comments. use text/template instead of html/template
8 years ago
Matt Butcher
603bb20ed4
Merge pull request #1014 from technosophos/fix/1010-reuse-name-replace
...
fix(helm): rename --reuse-name to --replace
8 years ago
vaikas-google
01a598f531
Add name-template flag for installation that allows the user to specify a template used for release name generation
8 years ago
Adam Reese
39ba728b6f
ref(cmd): refactor init command
8 years ago
Matt Butcher
4593111892
fix(helm): rename --reuse-name to --replace
...
Closes #1010
8 years ago
Matt Butcher
9fe7f41364
feat(972): add --reuse-name flag to helm install
...
This will allow helm install to re-use names for releases that were
already deleted.
8 years ago
Matt Butcher
95dbefe06d
fix(tiller): remove partials and empty manifests
...
This removes partials and empty manifests during the sortHooks
operation. Doing so makes sortHooks the defacto place for sorting
manifests, hooks, and partials.
Closes #991
8 years ago
Michelle Noorali
6006fc7b21
Merge pull request #963 from michelleN/feat/690-helm-upgrade
...
feat(*): add upgrade command and validations
8 years ago
Matt Butcher
b5354180f6
Merge pull request #984 from GrantSeltzer/inspect-chart-or-values-options
...
Add subcommands to inspect only chart or values
8 years ago
Adam Reese
fa67287ac4
Merge pull request #986 from adamreese/fix/validate-running-tiller
...
fix(cmd): ensure tiller is running for connection
8 years ago
Matt Butcher
82797ae28c
Merge pull request #974 from technosophos/fix/971-inherit-passed-values
...
fix(tiller): merge -f values correctly
8 years ago
Michelle Noorali
62667e9f12
ref(tiller): fix chart version comparison
8 years ago
Michelle Noorali
f74720613b
chore(helm): add client test for upgrade cmd
...
I edited releaseMock as part of this PR
8 years ago
Michelle Noorali
36699cc22d
ref(helm): refactor cmd/upgrade for unit testing
8 years ago
Michelle Noorali
0fcd7fccea
feat(tiller): add upgrade validations to tiller
8 years ago
Michelle Noorali
5e654c0380
feat(*): get helm & tiller chatting about upgrades
8 years ago
Michelle Noorali
35bf1c66b4
feat(helm): add helm upgrade command
8 years ago
Grantseltzer
23421f9133
Add subcommands to specify only chart or values inspected
...
Signed-off-by: Grantseltzer <grantseltzer@gmail.com>
8 years ago
Adam Reese
49491a8a0a
fix(cmd): ensure tiller is running for connection
...
Fixes: https://github.com/kubernetes/helm/issues/981
8 years ago
Matt Butcher
37fd3e412b
Merge pull request #982 from technosophos/feat/944-command-line-values
...
feat(helm): support command-line values for install
8 years ago
Matt Butcher
76d8004abd
Merge pull request #979 from technosophos/fix/improved-delete-errors
...
fix(tiller): improve deletion error messages
8 years ago
Adam Reese
fcaa426491
chore(*): add missing license blocks to source code
8 years ago
Matt Butcher
4b6fbbb67f
feat(helm): support command-line values for install
...
Add support for specifying key/value pairs on the command line, instead
of only in a YAML file.
This currently accepts either command line pairs or a YAML file, but
does not support combining the two.
Closes #944
8 years ago
Matt Butcher
8119513cdd
fix(tiller): improve deletion error messages
...
This stops a repeat deletion from sending requests all the way to
Kubernetes, and gives a clear error message when a deletion is requested
on an already deleted resource.
Relates to #972
8 years ago
Matt Butcher
1c598c2d13
Merge pull request #964 from technosophos/fix/957-template-name-on-failure
...
fix(tiller): provide filename when YAML is bad
8 years ago
Matt Butcher
9d5fdbdaaa
Merge pull request #970 from technosophos/feat/967-helm-inspect
...
feat(helm): add 'helm inspect'
8 years ago
Matt Butcher
57fecb2735
fix(tiller): provide filename when YAML is bad
...
This makes the template system less tolerant in the name of detecting
YAML parse errors before things are sent to Kubernetes. It returns a
more detailed error message when a template creates a manifest which is
not valid YAML.
Closes #957
8 years ago
Matt Butcher
c5cc02a611
feat(helm): add 'helm inspect'
...
This basic version of helm inspect displays the Chart.yaml and
values.yaml files on STDOUT.
Closes #967
8 years ago
Matt Butcher
95eeba3805
fix(tiller): merge -f values correctly
...
This fixes a bug in which passed-in values files were not correctly
merged into the chart's default values YAML data. I believe it also
fixes some other prioritization bugs in values merging.
The existing unit test was wrong (see TestCoalesceValues). It is
fixed now. Also added more tests to simulate issue #971 .
In the course of writing this, I removed some vestigial code as
mentioned in #920 .
Closes #971
Closes #920
8 years ago
Adam Reese
57bd8b2c28
feat(*): install releases into namespace
8 years ago
Matt Butcher
a0bc510662
Merge pull request #955 from technosophos/feat/932-disable-hooks
...
feat(helm): add --no-hook to helm install and delete
8 years ago
Matt Butcher
1ff5499be7
feat(helm): add --no-hooks to 'helm delete'
...
This also adds several tests, cleanups to the API, and removal of dead
code.
Relates to #932
8 years ago
Michelle Noorali
80a7339e2f
Merge pull request #947 from ngtuna/master
...
Fix #872 : index function should handle deleted charts correctly
8 years ago
Matt Butcher
a42b43a9fa
feat(helm): add --no-hook to helm install
...
This includes a substantial bit of unit test improvements. Also, in
order to allow us to tests command line args (which translate to
helm.Option objects), I had to add a new interface to pkg/helm.
8 years ago
Adam Reese
0ceeb19ded
ref(cmd): refactor status cmd
8 years ago
Adam Reese
b6b9a4e04d
Merge pull request #952 from adamreese/ref/create-command
...
ref(cmd): refactor create cmd
8 years ago
Adam Reese
736009982e
ref(helm): fix naming issues from golint
8 years ago
Adam Reese
4dd95addd2
ref(cmd): refactor create cmd
8 years ago
Adam Reese
0d7cb4ac83
Merge pull request #945 from adamreese/ref/remove-dup-test
...
ref(cmd): remove duplicate test cases
8 years ago
ngtuna
90192b4b2e
fix(helm): helm search should only display only those charts with a remove boolean that is set to false
8 years ago
Adam Reese
a14e76a65c
chore(*): add canonical import path annotation
...
https://golang.org/doc/go1.4#canonicalimports
8 years ago
Adam Reese
71fa7ecb9b
ref(cmd): remove duplicate test cases
8 years ago
Matt Butcher
1cd9f5d541
feat(helm): add 'helm get hooks'.
...
This adds 'helm get hooks' and updates 'helm get' to return
hook information.
8 years ago
Matt Butcher
73a2890277
fix(engine): change template naming
...
Template paths were relative to the chart that contained them, which
meant that all templates were named 'template/SOMETHING'. This made it
trivially easy to hit namespace collisions as in #933 .
Template path names are essentially opaque strings so this patch simply
changes them to be qualified by parent chart.
8 years ago
Michelle Noorali
15b428d450
feat(*): add version to release
...
laying ground work for #690
8 years ago
Matt Butcher
e91bbceff2
Merge pull request #916 from technosophos/feat/901-hooks
...
feat(tiller): support hooks for install
8 years ago
Matt Butcher
ff32062ae8
feat(tiller): support hooks for install
8 years ago
Adnan Abdulhussein
631ca63040
Merge pull request #922 from prydonius/feat/836-lint-multiple-charts
...
feat(lint): support linting multiple charts
8 years ago
Adnan Abdulhussein
a4458085ab
fix(lint): fix tests
8 years ago
Adnan Abdulhussein
dda61f6074
fix(lint): only return count of actually linted charts
8 years ago
Adnan Abdulhussein
f3e754794e
fix(lint): print relative path of packaged chart instead of temp dir
8 years ago
Adnan Abdulhussein
f273510c97
fix(lint): fix golint errors
8 years ago
Adam Reese
37cf2b9e7d
ref(tests): simplify creating fake client
8 years ago
Adam Reese
4db6cd93bb
fix(test): match output using regexp
8 years ago
Adnan Abdulhussein
03ca4e892f
feat(lint): support linting multiple charts
8 years ago
Adam Reese
2fb8b60765
fix(cmd): load client inside subcommand
8 years ago
Adam Reese
1ba822c7a4
docs(cmd): add missing license headers
8 years ago
Adam Reese
7c01a28c5c
test(cmd): add unit tests for get command
8 years ago
Adam Reese
5e3044a65f
ref(cmd): refactor get command
8 years ago
Adam Reese
e339cc7e0c
fix(cmd): fix lazy load client
8 years ago
Adam Reese
6453c99241
fix(cmd): rename list cmd context
8 years ago
Adam Reese
4d92bd086f
fix(cmd): lazy load client
8 years ago
Adam Reese
73f1bef3c9
test(cmd): add helm client mocking
8 years ago
Adam Reese
b990428111
test(cmd): add pattern for testing cmd package
8 years ago
Adam Reese
8cb39ce5cc
ref(cmd): refactor out globals and init()
8 years ago
Adam Reese
d32c20fd5c
ref(cmd): move flags out of init()
8 years ago
Miguel Ángel Martínez Triviño
81fd9edf4d
Merge pull request #899 from migmartri/897-values-refactorign
...
Support Linter for Values namespace
8 years ago
Adnan Abdulhussein
77820c7482
fix(lint): Return non-zero exit status when lint errors present
8 years ago
Michelle Noorali
849afc29bc
Merge pull request #908 from michelleN/feat/836-lint-archived-chart
...
feat(lint): lint an archived chart
8 years ago
Adam Reese
7869d8ba75
Merge pull request #910 from adamreese/fix/get-out-flag
...
fix(cmd): remove --file flag for helm get
8 years ago
Matt Butcher
80d70c601a
Merge pull request #905 from technosophos/fix/847-fix-style
...
fix(*): fix various style issues from make test-style
8 years ago
Adam Reese
63f23d0234
docs(cmd): remove --file flag from help text
8 years ago
Adam Reese
5c53f86803
fix(cmd): remove --file flag for helm get
...
Users can redirect stdout to a file
8 years ago
Michelle Noorali
a64303d0bf
feat(lint): lint an archived chart
...
* part of #836
8 years ago
Miguel Martinez
12aa72f121
Replacing options interface argument
8 years ago
Matt Butcher
62eb4f3ae2
Merge pull request #904 from technosophos/fix/895-show-nonexistent-filename
...
fix(helm): show correct filename on error
8 years ago
Matt Butcher
2c07a32a6b
fix(*): fix various style issues from make test-style
...
Closes #847 .
8 years ago
Matt Butcher
64d90aa567
fix(helm): show correct filename on error
...
Closes #895
8 years ago
Adam Reese
26de8ecb76
feat(cmd): silence usage on error
...
Closes https://github.com/kubernetes/helm/issues/864
8 years ago
Miguel Martinez
7bb4893cad
Support Linter for Values
8 years ago
Matt Butcher
225d3a8adc
test(engine): add test case for deep release passing
8 years ago
Matt Butcher
22ac61469f
feat(*): add Values namespace to templates
...
This adds the .Values namespace qualifier to all values
8 years ago
Matt Butcher
5b6fad043a
Merge pull request #871 from technosophos/feat/helm-install-from-repo
...
feat(helm): install directly from repo
8 years ago
Matt Butcher
ca6151f860
Merge pull request #867 from technosophos/fix/866-LICENSE
...
fix(LICENSE): add copyright year and authors
8 years ago
Matt Butcher
9e45ac117d
feat(helm): install directly from repo
...
A helm install command will try to load a chart from a local file first.
But if a local file is not found, it will try to fetch a file from a
matching repo request. The file will be downloaded to the client,
and then sent to Tiller for installation.
8 years ago
Adam Reese
907936c2ce
fix(tunnel): handle blank namespace
8 years ago
Matt Butcher
e757b24aed
fix(*): add license header
9 years ago
Adam Reese
c5c8e82246
feat(tiller): record release status deployed
9 years ago
Matt Butcher
0acbcdd5cc
Merge pull request #855 from technosophos/fix/851-create-release-fail
...
fix(tiller): save failed releases
9 years ago
Brian
a6f89d7ac4
Merge pull request #833 from migmartri/689-linter-errors
...
Linter structure changes + extra chartfile rules
9 years ago
Matt Butcher
da14da360b
fix(tiller): save failed releases
...
When a release failed, the release record was not saved. That led to the
case where Kubernetes resources were deployed, but the release that
deployed them was not tracked.
To fix, we now save the release on failure. The 'helm delete' operation
can delete failed resources.
Closes #851
9 years ago
Adam Reese
573e5aa7fc
feat(kube): create namespace if it does not exist
9 years ago
Adam Reese
894cdb03bd
fix(cli): resolve flag name conflict
9 years ago
Adam Reese
47398de71c
fix(tunnel): allow tunneling to non-default namespace
9 years ago
Miguel Martinez
c2459c06bf
New Chart linter structure
...
Fixed tests
Adding chart name linter
Add lint error
Moving to blocks
Moving to method
Moved lint rules to functions
Semantic version validation
Linting engine
Adding sources and home validations
Sharing file loading
Sharing file loading
Rolling back readme
Rewriting other linters
Fixing tests
Typo
Using chart.Metadata
Fixing format
Adding UNKNOWN in Engine
Adding tabs
Fixing tabs
9 years ago
fibonacci1729
245b5e080a
fix(issue/841): capitalization and punctuation consistency.
9 years ago
Matt Butcher
f30ff915f2
feat(helm): add 'helm get values --all' for all values
...
Add support for displaying computed configuration values. This is
useful for debugging.
9 years ago
Matt Butcher
e36647d1c3
Merge pull request #811 from mouserage/master
...
Templates partials
9 years ago
Matt Butcher
57a32f1df8
Merge pull request #832 from technosophos/feat/helmignore
...
feat(pkg/ignore): add helmignore library
9 years ago
Matt Butcher
713020359b
feat(pkg/ignore): add helmignore library
...
This adds support for .helmignore files. These files roughly follow
the conventions established for .gitignore files:
https://git-scm.com/docs/gitignore
Closes #748
9 years ago
Matt Butcher
85f1e96851
Merge pull request #820 from technosophos/fix/778-search-panic
...
fix(helm): fix two panics in 'helm search'
9 years ago
Matt Butcher
bb84f9c253
Merge pull request #830 from technosophos/fix/non-default-engine
...
fix(tiller): allow different template engine
9 years ago
Matt Butcher
8d410365a0
fix(helm): add 'helm repo rm' alias
9 years ago
Matt Butcher
76f4ee1eab
fix(tiller): allow different template engine
...
This is a minor fix to the Tiller internals to allow an alternate
template engine. This will still require future work to make it possible
to bootstrap in a different template renderer.
9 years ago
Matt Butcher
dde1524cab
fix(helm): fix two panics in 'helm search'
9 years ago
Matt Butcher
83d936cf46
Merge pull request #808 from technosophos/fix/values-chartutils
...
fix(chartutil): move values coalescing into chartutil
9 years ago
Matt Butcher
2971313296
Merge pull request #817 from technosophos/fix/812-fix-tgz-helm-fetch
...
fix(helm): add .tgz to package names on fetch
9 years ago
Matt Butcher
411cf6e54a
fix(helm): produce error if package name is inconsistent
...
'helm package' now produces an error if the directory name and the name
in Chart.yaml are not the same.
9 years ago
Matt Butcher
f0f2bbf894
fix(helm): add .tgz to package names on fetch
...
Closes #812
9 years ago
Matt Butcher
490cef784c
fix(tiller): refactor template render to use chartutil.
9 years ago
MouseRage
66d04cbb6e
Templates partials
9 years ago
Matt Butcher
c570363e5b
Merge pull request #793 from technosophos/feat/values-yaml
...
feat(chartutil): Update to use YAML instead of TOML for values files.
9 years ago
fibonacci1729
3420096fc9
fix(*): start probes server on ':44135' (currently ':44134')
9 years ago
Matt Butcher
72be00c6fc
fix(chartutil): update 'fetch' and 'package' to use chartutil.
9 years ago
Matt Butcher
ebd81152dd
fix(helm): update 'helm create' to use YAML.
9 years ago
Matt Butcher
9ca8c27e16
fix(*): change TOML to YAML
9 years ago
Adam Reese
818c878700
chore(*): use k8s.io as the import path
9 years ago
Matt Butcher
336c650407
Merge pull request #777 from arschles/probes
...
Add HTTP server for liveness and readiness probes
9 years ago
Adam Reese
0f5c2951a2
feat(kube): use env variable to control kube logging
...
Removes command line flags and adds the environment variable
`KUBE_LOG_LEVEL`
9 years ago
vaikas-google
8405504953
do not return errors and do not print any messages about no matches found to be more like unix commands
9 years ago
Aaron Schlesinger
56069ae474
Fix tests
9 years ago
Aaron Schlesinger
fe3afa8012
Added test for probes ServeMux
9 years ago
Aaron Schlesinger
ada108126c
Add HTTP server for liveness and readiness probes
9 years ago
Adam Reese
5670d2db53
feat(version): statically link version at build time
9 years ago
Adam Reese
b26bd2e939
fix(cmd): rename verbose flag to debug
...
Remove a naming conflict with glog which allows for debugging kubernetes
requests.
9 years ago
Michelle Noorali
1d4d5ec872
ref(helm): refactor helm unit tests
...
... so we don't rely on external services
in unit tests :)
9 years ago
Michelle Noorali
4b5eef90a1
ref(helm): add default repository on init step
...
See #718
9 years ago
Adam Reese
94432ffb39
fix(deadcode): remove unused global variables
9 years ago
Adam Reese
a19875adcc
fix(style): cleanup coding style on error returns
9 years ago
Adam Reese
f0a15743d4
feat(tunnel): wire in the tunnel setup and teardown
9 years ago
Adam Reese
4df22392fc
feat(tunnel): add logic for detecting tiller pod
9 years ago
Michelle Noorali
7c2682112f
Merge pull request #745 from michelleN/repo-index
...
feat(helm): generate index file in given directory with given url
9 years ago
Matt Butcher
475544fb43
Merge pull request #744 from technosophos/fix/741-search
...
fix(helm): fix search bugs
9 years ago
Matt Butcher
53432c2cef
Merge pull request #736 from technosophos/fix/672-package-output
...
fix(helm): fix output of helm package command
9 years ago
Michelle Noorali
0783fee7b7
ref(helm): refactor test index files for search
9 years ago
Michelle Noorali
7e2964c549
feat(helm): add chart url to index file entries
9 years ago
Michelle Noorali
4bb36c89ab
feat(helm): generate index file for repository
9 years ago
Matt Butcher
146ac61286
fix(tiller): fix startup output
...
A two-character pull request.
9 years ago
Matt Butcher
f2b63805c2
fix(helm): fix search bugs
...
This fixes three things:
- #741 output is wrong
- #743 nil pointer error because of unchecked error
- Printing "Chart:" string in output
9 years ago
Matt Butcher
97cff39408
fix(helm): allow repo names in helm install
...
Now you can do 'helm install local/foo.0.1.0.tgz' and have the chart
installed from the repo, instead of just a local path.
9 years ago
Matt Butcher
93b01edd4f
fix(helm): change TILLER_HOST to HELM_HOST
...
This makes the naming of client-side environment variables consistent.
9 years ago
Matt Butcher
206e7266de
Merge pull request #732 from technosophos/feat/install-release-name
...
feat(helm): allow user to specify release name
9 years ago
Matt Butcher
9d96b789f1
Merge pull request #734 from technosophos/fix/687-delete-dry-run
...
fix(helm): improve --dry-run for helm delete
9 years ago
Matt Butcher
f483264ea1
fix(helm): fix output of helm package command
9 years ago
Matt Butcher
1a3b563fb9
fix(helm): improve --dry-run for helm delete
9 years ago
Matt Butcher
7c9e799fe7
fix(helm): print status in helm list output
...
This prints the status in the long output of helm list,
9 years ago
Matt Butcher
b1fb7cea7d
feat(helm): allow user to specify release name
...
This makes it possible for the user to specify their own release name
instead of accepting the generated one.
9 years ago
Matt Butcher
5c942226a3
feat(helm): allow overriding values
...
This supports the `-f` flag for overriding values with a specified
TOML file.
9 years ago
Matt Butcher
0cbb6c6e86
Merge pull request #725 from technosophos/fix/724-tiller-host
...
fix(helm): allow TILLER_HOME to be used everywhere
9 years ago
Matt Butcher
98a309a893
Merge pull request #726 from technosophos/fix/lint-style
...
fix(style): fixed minor style issues
9 years ago
Ville Aikas
499d2457fd
Merge pull request #716 from vaikas-google/master
...
Offset where the directories and files go from $HELM_HOME to $HELM_HOME/repository
9 years ago
Matt Butcher
cca4705350
fix(style): fixed minor style issues
9 years ago
Matt Butcher
e2bd651615
fix(helm): allow TILLER_HOME to be used everywhere
...
This refactors handling of the TILLER_HOME and HELM_HOME env vars so
that they can be set once and used everywhere. Individual commands no
longer need to handle setting.
9 years ago
Michelle Noorali
dde6bb37dd
Merge pull request #721 from michelleN/update-fix
...
ref(helm): fix helm update
9 years ago
Michelle Noorali
b2f7a8745d
ref(helm): fix helm update
9 years ago
Michelle Noorali
91effb79db
Merge pull request #717 from michelleN/fix-flag-description
...
chore(helm): fix flag description
9 years ago
Michelle Noorali
6c06531ea5
chore(helm): fix flag description
9 years ago
vaikas-google
d636fb1e72
add the tests
9 years ago
vaikas-google
a27e23990e
offset all the directories and files to $HELM_HOME/repository from $HELM_HOME
9 years ago
Matt Butcher
e944028787
fix(helm): allow user to skip namespace creation
...
This addresses two issues: #699 and #713 . It is now possible to skip
creating namespaces. In additional, a trivial bug was fixed that allows
you to create a custom namespace.
9 years ago
Matt Butcher
df4dc3e1ee
Merge pull request #710 from technosophos/fix/helm-repo-list-error
...
fix(helm): change helm repo list to return error when empty
9 years ago
Matt Butcher
37981e9cf2
Merge pull request #711 from technosophos/fix/helm-update-error
...
fix(helm): print err if no repositories to update
9 years ago
Matt Butcher
3b9bad13fd
Merge pull request #712 from technosophos/fix/helm-helptext
...
fix(helm): update main help text
9 years ago
Matt Butcher
1242211f60
Merge pull request #709 from technosophos/fix/lint-err-missing-chart
...
fix(helm): stop processing if lint can't find a chart
9 years ago
Matt Butcher
228060a1bf
fix(helm): update main help text
9 years ago
Matt Butcher
aa432dfc38
fix(helm): print err if no repositories to update
...
This prints an error if 'helm update' finds no repositories to update.
9 years ago
Matt Butcher
6f9aa1b888
fix(helm): change helm repo list to return error when empty
...
Following other commands, an empty list should return an error.
9 years ago
Matt Butcher
1fc04f7f20
fix(helm): stop processing if lint can't find a chart
...
This exits with an error code if the path resolution fails to find a
chart.
9 years ago
Matt Butcher
6235bf5085
fix(helm): print msg and exit when list has no results
9 years ago
Ville Aikas
5e1ef0ce86
Merge pull request #706 from vaikas-google/master
...
Print no matches found if none are found
9 years ago
vaikas-google
5a7e55ac62
When no matches found, return error instead of printing no matches found
9 years ago
vaikas-google
726312c915
Print no matches found if none are found
9 years ago
Adam Reese
f2e6a02004
fix(cmd): remove unused global var
9 years ago
Adam Reese
127a27682e
fix(cmd): fix init command description
9 years ago
Matt Butcher
a8642c81fc
fix(helm,tiller): change list offset to next result
...
Previously, paging used the last release name of the current set to ask
for more results. Now switched to using the first name of the next set.
Not sure I like this method. It makes the user experience more
complicated.
9 years ago
Matt Butcher
6844d3b493
feat(helm,tiller): add list reverse, string offset
9 years ago
Matt Butcher
dfc9693afe
feat(helm,tiller): add support for list filters
...
This adds support for filtering list results. Filter strings are
passed from Helm to Tiller, where they are compiled as regular
expressions and executed against the list of releases. Only matching
releases are returned.
Filters are applied before limits and sorts.
9 years ago
Matt Butcher
ea6b82a43c
feat(tiller): sort list in tiller, not helm
9 years ago
Brian
62cb6ce45d
Merge pull request #701 from fibonacci1729/fix/helm-install
...
fix(helm): fix for issue #680r
9 years ago
fibonacci1729
9e0408fc57
fix(helm): fix for issue #680r
...
details: the host flag for install overrides the
TILLER_HOST env var. If neither are set,
host defaults to ":44134".
9 years ago
Matt Butcher
f51170ed35
Merge pull request #693 from technosophos/feat/storage-history
...
feat(tiller): stub in release history
9 years ago
Matt Butcher
938dbf095a
feat(tiller): stub in release history
...
This provides the basics for the release history feature that
ReleaseStorage needs to support. The implementation for Memory storage
is only partial.
9 years ago
Michelle Noorali
0590ca1a71
Merge pull request #685 from michelleN/cache-rename
...
ref(helm): rename cache file to index file
9 years ago
Matt Butcher
0f89b08e52
Merge pull request #683 from technosophos/fix/668-client-error-fmt
...
fix(helm): fix error formatting
9 years ago
Ville Aikas
9fecf74800
Merge pull request #684 from vaikas-google/master
...
add alias for helm up for helm update
9 years ago
Matt Butcher
463c7e25aa
fix(helm): fix error formatting
...
This fixes a number of issues with error formatting and handling in the
client.
Closes #668
9 years ago
Matt Butcher
9546b27d23
Merge pull request #677 from technosophos/fix/style-pkg
...
fix(*): correct numerous golint errors
9 years ago
Michelle Noorali
9b732da719
ref(helm): rename cache file to index file
...
* also change additional references to cache to index
* see issue #665
9 years ago
vaikas-google
85d9613cf3
add alias for helm up for helm update
9 years ago
vaikas-google
e35edc7475
rename remove to delete
9 years ago
Matt Butcher
75a1aa648e
fix(*): correct numerous golint errors
9 years ago
Matt Butcher
422700363e
feat(pkg): add a timeconv.String function
...
Rather than do the same formatting repeatedly, we can just call a
convenience function to format to a specific format.
9 years ago
Matt Butcher
86647034e6
Merge pull request #671 from technosophos/fix/install-verbose
...
fix(helm): make install ouput similar to others
9 years ago
Michelle Noorali
361fd36ffc
Merge pull request #658 from michelleN/helm-update
...
feat(helm): add helm update command
9 years ago
Matt Butcher
e959915fe4
fix(helm): improve 'helm get' output
...
This makes the output of 'helm get' more like the output of other
Helm commands.
9 years ago
Matt Butcher
e24be19e9c
fix(helm): make install ouput similar to others
...
This now uses the global verbose flag (instead of a local one) and
formats the output in roughly the same style that 'helm list' and
'helm repo *' use.
9 years ago
Matt Butcher
37cf3eab92
feat(helm): allow user to specify namespace
9 years ago
Matt Butcher
9d78c33b69
feat(tiller): allow specifying namespace on cli
9 years ago
vaikas-google
f81ac9f5b7
Add missing newline to HELM_HOME info output string
9 years ago
vaikas-google
1c529d46c9
Add client-only flag to init command, which will skip installTiller()
9 years ago
vaikas-google
91c3d31451
fix the arguments in the call to searchCacheForPattern
9 years ago
vaikas-google
d50e22c707
Add search support
9 years ago
Michelle Noorali
bf4b15c01d
feat(helm): validate cache file before updating
9 years ago
Michelle Noorali
c7e571918d
feat(helm): download cache file when adding repo
9 years ago
Matt Butcher
5a284ae32e
Merge pull request #649 from technosophos/feat/helm-delete-k8s
...
feat(tiller): delete operation runs against Kubernetes
9 years ago
vaikas-google
92039222b5
remove the todo based on PR comments
9 years ago
vaikas-google
9b4d2616c2
Add ability to untar charts after downloading them
9 years ago
Matt Butcher
6b68e7891f
feat(tiller): delete operation runs against Kubernetes
...
Also fixed a minor formatting issue with Alpine chart in docs.
9 years ago
Matt Butcher
d644c22059
Merge pull request #643 from technosophos/feat/install-k8s
...
feat(helm, tiller): implement k8s portion of install
9 years ago
vaikas-google
d5bf6efebc
fix typo and return error
9 years ago
vaikas-google
a1acee52cc
cleanup
9 years ago
vaikas-google
95d953b8c3
add scheme to default local repo
9 years ago
vaikas-google
84bf7b41cf
cleanups, add todos
9 years ago
vaikas-google
b39a084834
first cut of fetch
9 years ago
Michelle Noorali
459338264e
feat(helm): add helm update command
...
This resolves issue #640 .
9 years ago
Matt Butcher
6db7c39b84
feat(helm, tiller): implement k8s portion of install
...
This commit finally ties `helm install` together with the Kubernetes
client library to make an end-to-end trip.
There were several small fixes to go on both client and server side,
along with some changes to proto to support better error reporting.
The alpine chart has been updated to exhibit how the new Helm works.
9 years ago
Matt Butcher
eba4c59a84
Merge pull request #632 from technosophos/feat/helm-list
...
feat(helm, tiller): add release listings
9 years ago
Matt Butcher
e869c36cd2
feat(helm, tiller): implement list
9 years ago
Michelle Noorali
45932547ec
Merge pull request #631 from michelleN/helm-repo
...
feat(helm): add helm repo remove cmd
9 years ago
Matt Butcher
6950fe42dd
feat(helm, tiller): add release listings
...
This adds client and server support for 'helm list'.
9 years ago
Michelle Noorali
6dd87645c7
ref(helm): add remove repo command
...
+ some clean up of repo add & init
9 years ago
Brian
2c71fb9f9b
Merge pull request #627 from fibonacci1729/feat/chart2proto
...
feat(chart2proto): chart to proto transformations for helm grpc client
9 years ago
Matt Butcher
7530a84b8c
Merge pull request #620 from technosophos/feat/helm-get-values
...
feat(helm): add 'get values', 'get manifest'
9 years ago
Brian
c349bfbffd
feat(chart2proto): chart to proto transformations for helm grpc client
9 years ago
Michelle Noorali
66477e0598
ref(helm): add helper to check len of cmd args
9 years ago
Michelle Noorali
ef4da35607
Merge pull request #629 from michelleN/tiller-img
...
chore(*): update tiller image
9 years ago
Michelle Noorali
25aef96c3c
chore(*): update tiller image
9 years ago
Adam Reese
aca9f0f8f2
fix(vet): fix weird go vet issue
9 years ago
Matt Butcher
bdedb38dfb
feat(helm): add 'get values', 'get manifest'
9 years ago
Matt Butcher
fa0982ac00
Merge pull request #617 from technosophos/feat/tiller-flags
...
fix(tiller): pass address and port via flag
9 years ago
Matt Butcher
67bd026840
fix(tiller): pass address and port via flag
9 years ago
Adam Reese
03fe44f3da
ref(init): refactor init command to use kube client
9 years ago
Matt Butcher
f098cb6fb6
fix(*): rewrite import paths
9 years ago
Michelle Noorali
b6411be797
feat(helm): add helm repo list command
9 years ago
Michelle Noorali
e250328e22
feat(helm): add helm repo add command
9 years ago
Michelle Noorali
5251344318
feat(helm): add structure.go to hold paths
9 years ago
Matt Butcher
7e317e82db
Merge pull request #63 from technosophos/feat/helm-lint
...
feat(helm): add a very basic lint command
9 years ago
Matt Butcher
7142189c35
Merge pull request #59 from technosophos/feat/helm-get-status
...
feat(tiller): implement get and status
9 years ago
Michelle Noorali
a6dd3cb0b9
Merge pull request #64 from michelleN/helm-serve
...
ref(init): save helm paths to variables
9 years ago
Michelle Noorali
8404d743a0
ref(init): save helm paths to variables
9 years ago
Matt Butcher
cf9c8ebe3c
feat(helm): add a very basic lint command
...
This adds a lint command that just checks to see if the chart is
parseable and if the templates are paresable.
9 years ago
Matt Butcher
dd2ff4f916
feat(tiller): implement get and status
9 years ago
Matt Butcher
c9b3c36243
feat(helm): implement 'helm remove'
9 years ago
Matt Butcher
67e482c9e3
Merge pull request #57 from technosophos/feat/dry-run-install
...
feat(tiller): add support for dry run install
9 years ago
Matt Butcher
58fdaf1e52
feat(tiller): add support for dry run install
...
This adds support for dry run on install, as well as providing
enough info for an install to display (verbose) manifests. While
doing this, I ended up just storing the rendered manifests for
simplicity.
9 years ago
Brian
104126d2d2
Merge pull request #53 from fibonacci1729/feat/tiller-client
...
feat(tiller): add initial tiller client for basic helm installs.
9 years ago
Michelle Noorali
ae720981d3
ref(repo): fix style errors in cmd/helm & pkg/repo
9 years ago
Michelle Noorali
39a9eab114
ref(helm): comment + err cleanup on helm
9 years ago
Michelle Noorali
9e05956efa
feat(fetch): stub out fetch command
9 years ago
Michelle Noorali
2e1701be11
helm(search): add search command
9 years ago
Michelle Noorali
7842d2457b
feat(helm): reindex cache file
9 years ago
Michelle Noorali
f9c06b1da2
feat(init): add cache.txt to $HELM_HOME/local
9 years ago
Michelle Noorali
a5a1ef9546
feat(package): save package to $HELM_HOME/local
9 years ago
Michelle Noorali
fbd6ffa4b9
feat(helm): add local dir in home to store charts
9 years ago
Michelle Noorali
00b9356a95
feat(helm): add serve command to start local repo
9 years ago
Brian
7bc50a5d79
feat(tiller): add initial tiller client for basic helm installs.
...
1. install command loads chart archive.
2. invokes helm api to transform the pkg/chart.Chart type
to it's proto model.
3. the client then establishes a connection to tiller.
4. sends InstallReleaseRequest, receives InstallReleaseResponse.
todo (for complete install):
- walk pkg/chart.{Values,Deps,Templates} types and populate proto
definitions for various apis/messages.
9 years ago
Matt Butcher
b708bde729
fix(*): remove unusted packages
9 years ago
Matt Butcher
c4b2926ce6
fix(*): fix misc style issues
9 years ago
Matt Butcher
33a543c920
fix(tiller): replace codegangsta with cobra
9 years ago
Matt Butcher
00966bb4d1
fix(helmet): remove helmet
9 years ago
Michelle Noorali
09a3b7ed1e
Merge pull request #34 from michelleN/helm-package
...
ref(package): add error handling on args
9 years ago
Michelle Noorali
e5b84e3a3e
Merge pull request #35 from michelleN/helm-home
...
feat(helm): implement home command
9 years ago
Matt Butcher
77322a5f06
Merge pull request #32 from technosophos/feat/helm-install
...
feat(tiller): add template and release to install
9 years ago
Matt Butcher
00aaf653da
fix(tiller): add tests
9 years ago
Matt Butcher
dcfd1a4284
fix(storage): use new HAPI for storage
9 years ago
Michelle Noorali
8b8000ecc4
feat(helm): implement home command
9 years ago
Michelle Noorali
f741fe6953
ref(package): add error handling on args
9 years ago
Michelle Noorali
d54c351afb
Merge pull request #28 from michelleN/helm-init
...
feat(init): add local config step to init
9 years ago
Matt Butcher
50f4349512
feat(tiller): add template and release to install
9 years ago
Michelle Noorali
7d207d9a71
feat(init): add local config step to init
...
This is the second half of issue #3 .
9 years ago
Matt Butcher
d3cff27bf9
Merge pull request #26 from technosophos/feat/helm-install
...
feat(tiller): add release server stub
9 years ago
Matt Butcher
0b9683e193
feat(tiller): add release server stub
9 years ago
Matt Butcher
8b36967a7e
fix(client): remove auto-generating maintainer
9 years ago
Matt Butcher
1dd6c01f5d
fix(helm): improve create help
9 years ago
Matt Butcher
a97bf8b7c0
feat(helm): implement 'helm create'
9 years ago
Matt Butcher
84ac5cd3f0
Merge pull request #21 from technosophos/feat/helm-package
...
feat(helm): add 'helm package' command
9 years ago
Matt Butcher
0ad4803aa3
fix(storage): Use a CRUD interface
...
Fixes #23
9 years ago
Michelle Noorali
2e11f26946
feat(home): add helm home command
9 years ago
Michelle Noorali
8afc295608
feat(helm): add global usage description to helm
9 years ago
Matt Butcher
68e3cc1cc9
feat(helm): add 'helm package' command
9 years ago
Matt Butcher
ffa38d168d
Merge pull request #14 from technosophos/feat/release-storage
...
feat(storage): add basic implementation of storage
9 years ago
Michelle Noorali
40cbc9007c
ref(init): add desc, rm cmd/tiller/Dockerfile
9 years ago
Michelle Noorali
306aca6aec
feat(init): add init logic
...
+ -i flag to override tiller image
9 years ago
Matt Butcher
44dc0de71f
fix(server): add tests for in-memory storage
...
This adds a higher level set of tests for storage.
9 years ago
Michelle Noorali
338dc6d4fe
feat(init): add Dockerfile for tiller
9 years ago
Michelle Noorali
9281012d3c
feat(helm): add init cmd and test
9 years ago
Matt Butcher
fa6a33c349
feat(storage): add basic implementation of storage
...
This is an in-memory storage layer for storing releases. This will be
superseded by the Kubernetes ConfigMap implementtion.
9 years ago
Matt Butcher
a4a0c79fc4
Merge pull request #13 from technosophos/fix/kubeclient-iface
...
fix(environment): make KubeClient take multiple files
9 years ago
Matt Butcher
b8bf4db347
fix(environment): make KubeClient take multiple files
...
Rather than just taking a []byte for Install, take a map of
filenames->contents.
9 years ago
Matt Butcher
b647e9a94d
fix(tiller): add server test
9 years ago
Matt Butcher
b04a1cc7d4
fix(tiller): set up Tiller environment correctly
...
And structure the tests better.
9 years ago
Matt Butcher
913905a54f
fix(tiller): change environment.Engine signature
9 years ago
Matt Butcher
b86a1cb94e
ifeat(tiller): add environment to server struct
9 years ago
Matt Butcher
610c6ced09
fix(environment): add tests for Environment
9 years ago
Matt Butcher
ce1185faa8
feat(helm): add initial helm client
9 years ago
Matt Butcher
7a0413344e
feat(tiller): stub out environment
9 years ago
Matt Butcher
0868355d3e
feat(cmd): add grpc client and server
...
So far, they just have basic readiness checks.
9 years ago