Michelle Noorali
488ca6fdd8
fix(*): return non-zero exit code on test failure
...
* resolves #2089
8 years ago
Adam Reese
35aabdb61a
Merge pull request #2423 from FengyunPan/add-check
...
Add check for getting kubeclient
8 years ago
Taylor Thomas
7d5f4e53db
Merge pull request #2430 from thomastaylor312/fix/deployment_wait
...
fix(tiller): Fixes bug with `--wait` and updated deployments
8 years ago
Matt Butcher
e8aa8d3678
Merge pull request #2405 from sushilkm/linting-fixes
...
Fixed issues reported by test-style
8 years ago
Taylor Thomas
d310612526
fix(tiller): Fixes bug with `--wait` and updated deployments
...
The current methodology generated its own RS slice instead of using
a helper method that uses a `clientset`. This caused some issues where
`FindNewReplicaSet` always returned `nil`. This switches the method and
removes some unneeded API calls and code.
Closes #2426
8 years ago
fengyun.pan
7887185984
Add check for getting kubeclient
8 years ago
Sushil Kumar
24157e4aed
Updated review comments :)
8 years ago
Sushil Kumar
c84fb11a68
Errors out in case requested plugin exists
...
Partially fixes issues/2385 - helm install silently updates the plugin, if it pre-existed
8 years ago
Sushil Kumar
6344f1d8e9
Errors out in case requested plugin version does not exists
...
Fixes issues/2384 - helm plugin install installs a default version in case requested version is not available
8 years ago
Sushil Kumar
61c3a44dc3
Fixed issues reported by test-style
8 years ago
Matt Butcher
5c227bffbb
Merge pull request #2361 from databus23/dont_render_partials
...
Skip rendering partials
8 years ago
Matt Butcher
982bb0cd2c
Merge pull request #2079 from nebril/new-backend
...
Experimental Rudder implementation
8 years ago
Sushil Kumar
d5fd75fe61
Updated StartLocalServerForTests to be private method
8 years ago
Maciej Kwiek
d9f72deb0d
Add comments to exported Rudder methods
...
Added make target
Lowered docker image sizes
Updated ruder.pb.go
8 years ago
Maciej Kwiek
1c9ae5577d
Basic Rudder Delete implementation
...
Extracted delete specific code from ReleaseServer to external function
which is called from both Local and Remote ReleaseModules.
Made getVersionSet function from tiller package exported.
8 years ago
Maciej Kwiek
5937e1a214
ReleaseServer.ReleaseModule has Status method
...
Both local and remote Release module implement release status check.
8 years ago
Maciej Kwiek
52c54b09c0
Move rudder proto to different package, add release status
8 years ago
Dmitry Shulyak
3cba189f53
Define both rudder port and rudder address for different needs
8 years ago
Dmitry Shulyak
bd47b8444f
Use rollback method on ReleaseModule interface
8 years ago
Dmitry Shulyak
59af46502d
Run make protoc to update hapi
8 years ago
Dmitry Shulyak
a883531f98
Implement upgrade for rudder
8 years ago
Maciej Kwiek
c1fcaf09ce
Experimental Rudder implementation
...
This change introduces the concept of Rudders - pluggable modules that
Tiller communicates with via grpc, which allow to decouple orchestration
logic from Tiller into separate service.
This commit consists of simple Rudder implementation which does exactly
the same thing as built in Tiller orchestrator - it creates all k8s
objects from provided manifest without orchestrating them.
--experimental-release flag is introduced to enable this behaviour.
This change allows to use the service and tiller outside of the cluster.
Following commits will add Rudder to helm deployment.
8 years ago
Sushil Kumar
dce9d88c25
Added tests for --repo flag for helm fetch command
...
- [ ] Added tests for --repo flag on `helm fetch` command
- [ ] Also added tests for (pkg/repo).FindChartInRepoURL
8 years ago
Taylor Thomas
b6586fdb50
Merge pull request #2300 from sushilkm/issues/2113
...
Implements --repo flag to commands fetch, install, inspect, upgrade
8 years ago
Sushil Kumar
2a5ab59895
Updated defer delete call
8 years ago
Adam Reese
1ec2c04be8
chore(*): bump to v2.4.0
8 years ago
Michelle Noorali
3cef2ed667
Merge pull request #2369 from michelleN/bug/2158-panic-on-new-line
...
fix(releaseutil): remove newline on SplitManifests
8 years ago
Michelle Noorali
dcfbb2bd35
fix(releaseutil): remove newline on SplitManifests
...
fixes #2158
8 years ago
Adnan Abdulhussein
f8b2c5eb57
fix(create): incorrect URL in default NOTES.txt
8 years ago
Sushil Kumar
d13b134ffb
Implements --repo flag to commands fetch, install, inspect, upgrade
8 years ago
Kiichiro Okano
46cad97950
Return as not ready if it new RS is nil
8 years ago
Adam Reese
0c91d41221
Merge pull request #2366 from adamreese/fix/2110-canary-versioning
...
fix(*): handle unreleased versioning
8 years ago
Matt Butcher
b1ade9c81a
Merge pull request #2314 from nebril/lock-release
...
Releases are locked to avoid parallel changes
8 years ago
Matt Butcher
6e63a547e2
Merge pull request #2354 from technosophos/fix/2271-alternate-toml-marshal
...
fix(tiller): fix TOML panic
8 years ago
Matt Butcher
e66cdcd1f3
Merge pull request #2352 from technosophos/ref/getter
...
ref(getter): flatten the getter package tree
8 years ago
Lukas Eichler
2521c526d9
- Changed error behaviour to returning an error instead of writing the error in the template
...
- Added tests for using a function inside a template that is evaluated using the "tpl" function
8 years ago
Lukas Eichler
d01f7978d2
Added implementation for a tpl function that evaluates a string as a template.
...
Implementation for #1978
8 years ago
Adam Reese
9ae84c730f
fix(tiller): make new version check backwards compatible
8 years ago
Matt Butcher
bd02f39384
ref(getter): flatten the getter package tree
...
This flattens the getter package tree, adds tests, and changes a little
bit of the terminology to follow Go idioms. This also makes much of the
getter API private to begin with. This will give us more flexibility in
the future.
8 years ago
Adam Reese
2e819e014d
fix(*): handle unreleased versioning
...
Adds an `unreleased` flag to the version if not building from HEAD of a
tag. The compatibility check is bypassed if the client or server are
unreleased.
fixes #2110
8 years ago
Matt Butcher
46035c35c4
fix(tiller): fix TOML panic
...
This fixes a TOML panic by replacing one parser library with another.
The older library did not gracefully handle reflection issues, and so
was prone to panic. The new one is not great, but it doesn't seem to
panic.
Closes #2271
8 years ago
Fabian Ruff
b94eb82d12
Skip rendering partials
...
The output of a rendered partial is not used and rendering it might fail if it expects different values
8 years ago
Fabian Ruff
124235ffed
Fail template execution if included template fails
8 years ago
Matt Butcher
3a943696b7
Merge pull request #2348 from technosophos/fix/environment-style-fixes
...
fix(helm): fix style errors in pkg/environment
8 years ago
Matt Butcher
3c55a0ee65
fix(helm): fix style issues
...
This just adds a few comments where the style linter was complaining.
8 years ago
Matt Butcher
7094651493
feat(*): update to latest gRPC and Protobuf
...
Effectively, this switches us to gRPC's internal version 4. This is
compatible with protoc 3.2 and grpc-go 1.2.1.
8 years ago
Maciej Kwiek
ec92b76054
Release are locked to avoid parallel changes
...
Environment is supplied with release lock map which allows to lock a
release by name to make sure that update, rollback or uninstall aren't
running on one release at the same time.
8 years ago
Adam Reese
b7f2c6f5fe
Merge pull request #2304 from adamreese/ref/debug
...
ref(helm): use new debug method to standardize debug output
8 years ago
Adam Reese
50eee83646
ref(helm): use new debug method to standardize debug output
8 years ago
Taylor Thomas
c463e1f185
ref(*): Regenerates protobuf files with protoc 3.2.0
...
Protoc was updated a little while ago and we are likely to get more
people using it. This should avoid weird merge conflicts and bump us
to the latest version
8 years ago
Brian
17c0de49d1
Merge pull request #2291 from fibonacci1729/master
...
test(*): add tests for new tls support
8 years ago
Matthias Thubauville
ce505f16e6
Fix indent for defaultDeployment
8 years ago
Matt Butcher
fe1104056c
Merge pull request #2279 from sstarcher/search_constraint
...
Search constraint and Install/Upgrade default constraint
8 years ago
Matt Butcher
d4e129d55c
Merge pull request #2283 from sushilkm/issues/2276
...
Validates chart-dir before running dependency list command
8 years ago
Shane Starcher
7150fc3d9e
bug(helm) - install/upgrade/search semver constraint support
8 years ago
fibonacci1729
73e6399294
test(*): add tests for new tls support
...
Adds a testdata directory to hold tls certs at the root
of the project. The tests cover pkg/tlsutil, cmd/helm,
and cmd/helm/installer.
Closes #2289
8 years ago
Sushil Kumar
99065aa331
Validates chart-dir before running dependency list command
...
Fixes issues/2276: helm dependency list hangs if run on large directory
8 years ago
Gergo Huszty
b4ca198cc6
Pluggable downloaders. Closes #2093 , #2094 .
...
It is now possible to create plugins with chart download capabilities for custom, non-http protocols.
Furthermore it is possible to reuse helm packages to implement alternative clients with these custom downloader functions.
8 years ago
Matt Butcher
0c11033fb7
Merge pull request #2171 from appscode/tiler-prom
...
Expose tiller server metrics to prometheus
8 years ago
Taylor Thomas
d03311b45a
Merge pull request #2188 from scottrigby/chartutil-ingress-example
...
chartutil create ingress example
8 years ago
sadlil
8c81e7336a
Add prometheus monitoring for tiler
8 years ago
Matt Butcher
573a8a190c
fix(tiller): ignore empty YAML documents during delete
...
Closes #2256
8 years ago
Matt Butcher
19b111b123
fix(helm): fix nil pointer in requirements.go
...
This fixes a segfault that was the result of assigning to a property of
a nil pointer.
Closes #2244
8 years ago
Serguei Bezverkhi
26343023a3
fix(tiller): increase maximum size of gRPC message
...
* tiller_fix_2261
* fix(tiller) 2261 Increase maxMsgSize to 20MB
8 years ago
Adam Reese
7a141a10b3
fix(helm): correct import for apps api
...
* cleanup named imports
8 years ago
Adam Reese
0ab38a998c
Merge pull request #2248 from adamreese/ref/kube-v1.6
...
ref(*): kubernetes v1.6
8 years ago
Matt Butcher
d97086cbdd
Merge pull request #2229 from technosophos/feat/chart-tiller-version
...
feat(tiller): support version constraint on chart
8 years ago
Adam Reese
85c41ef11a
ref(*): kubernetes v1.6
...
Rebase on kubernetes v1.6
8 years ago
Sushil Kumar
000bf9fd1a
Added release-name to helm delete error
...
Fixes https://github.com/kubernetes/helm/issues/2251
In case a user tries to delete a non-existent release,
the error message displayed was missing release-name.
8 years ago
Sushil Kumar
84fc5b776f
Fixes hard-coded linux based file-separator
...
Fixes https://github.com/kubernetes/helm/issues/2254
8 years ago
Scott Rigby
5bdcbee9af
Change secret name to something more standard
8 years ago
Scott Rigby
2be4547d13
Change to hosts array, and parameterize serviceName and servicePort
8 years ago
Adam Reese
e611936893
ref(plugin): cleanup unused functions
8 years ago
Matt Butcher
e4e0e32064
feat(tiller): support version constraint on chart
...
This provides the Chart.yaml field `tillerVersion`, which is a semver
range. It allows users to choose to constrain a chart to a specific
version.
The reason for this is that we keep introducing new template functions,
but we have no way of saying "this chart will only work with Tiller
newer than...".
The check on version is _only_ done on Tiller. The client does not check
at all, since it does not do any template expansion on its own.
8 years ago
Adam Reese
d83c245fc3
chore(*): bump to v2.3.0
8 years ago
Adam Reese
51b8d8a6ee
feat(helm): add plugin management commands
...
Add plugin management subcommands for installing and removing plugins
to `$HELM_HOST/plugins`.
Install accepts a vcs url or a local directory.
```
$ helm plugin install http://github.com/adamreese/helm-env
Installed plugin: env
$ helm plugin list
NAME VERSION DESCRIPTION
env 0.1.0 Print out the helm environment.
$ helm plugin remove env
Removed plugin: env
```
closes #1977
8 years ago
Matt Butcher
455dd97691
Merge pull request #2220 from jascott1/tags_fix
...
fix (pkg/chartutil): correctly parse input values for ProcessRequirem…
8 years ago
Brian
a8e0983362
Merge pull request #2108 from fibonacci1729/feat/tls
...
feat/tls: Support optional TLS for helm / tiller
8 years ago
kiich
85a91394aa
Merge branch 'master' into deploymentsReady-when-newRS-has-minimumReplicas
8 years ago
Matt Butcher
eb4a187df6
Merge pull request #2145 from technosophos/fix/2127-skip-refrsh-on-init
...
fix(helm): add 'skip-refresh' flag to 'helm init'
8 years ago
Justin Scott
8c720ee2c2
fix (pkg/chartutil): correctly parse input values for ProcessRequirementsEnabled
...
Fixes a bug where tags and conditions specified in values.yaml were not being respeceted, causing incorrect loading of subcharts.
Closes #2139
8 years ago
Matt Butcher
6d5b3bbb21
Merge pull request #2112 from jascott1/feat/1995-import_child_values
...
feat(helm): import child values to parent
8 years ago
fibonacci1729
735f4e3d4a
feat/tls: add TLS support for helm / tiller
8 years ago
Kiichiro Okano
e3655bb142
Trigger deployment as success when new replicaSet has reached minimum you need which is number of replicas minus maxUnavailable
8 years ago
Adam Reese
e4d39fd8c8
fix(*): add missing proto for weight hook
8 years ago
Taylor Thomas
f7f8552644
Merge pull request #2203 from seh/sort-more-kinds-for-installation
...
Add more object kinds to sorted installation order
8 years ago
Taylor Thomas
9cfdbd1f77
Merge pull request #2174 from qwangrepos/repo-alias
...
feat(helm): add support for repo alias
8 years ago
Matt Butcher
9665db7d16
Merge pull request #2157 from jchauncey/hook-weights
...
feat(hooks): Adds weighted hooks
8 years ago
Matt Butcher
daa39c2689
feat(helm): add --reuse-values flag to upgrade
...
This makes it possible to re-use the existing values on an upgrade,
merging in any new values set by `-f` or `--set`.
Closes #1876
8 years ago
Matt Butcher
ba6c55c987
fix(helm): add 'skip-refresh' flag to 'helm init'
...
This exposes the skip-refresh flag to helm init to make it possible to
initialize Helm without fetching the index.yaml of the stable repo.
This mirrors the behavior of 'helm dep up's skip-refresh flag.
Closes #2127
8 years ago
Taylor Thomas
c1540795b0
Merge pull request #2190 from anubhavmishra/whitespace-yaml-parsing
...
fix(helm): manifests string parsing works for newlines in the manifests
8 years ago
Jonathan Chauncey
b9ef8dbe56
fix(hooks): Change annotation from hookWeight to hook-weight
8 years ago
Qin Wang
c010da4d93
feat(helm): add support for repo alias
...
support repo alias in requirements.yaml
The syntax should be like: "alias:reponame" or "@reponame".
closes : #1985
8 years ago
Matt Butcher
55791e227e
Merge pull request #2148 from technosophos/fix/2118-broken-status
...
fix(tiller): fix helm status failure on missing resource
8 years ago
Anubhav Mishra
68d400cd38
Update comment.
8 years ago
Taylor Thomas
5a86aaf99a
Merge pull request #2206 from sushilkm/issues/2204
...
Fixes TestInstallRelease_VerifyOptions & TestUpdateRelease_VerifyOptions
8 years ago
Justin Scott
75ea566413
Correct indention of YAML field in subchartB
8 years ago
Justin Scott
31e57d8921
Remove commented code
8 years ago
Justin Scott
3bf143f052
Fix codefences and nits in charts.md. Correct whitespace in charts. Add clarity to description of ImportValues requirements field.
8 years ago
Justin Scott
7ea4d8c7c4
Refactor so parent's values win
8 years ago
Justin Scott
4a5721fb36
Fixup style and errors
8 years ago
Justin Scott
007bb9dbae
Implement 'exports' convetion for simple list items
8 years ago
Justin Scott
2bd4d1d003
Cleanup old todo, unused log and value for ImportValues feature
8 years ago
Justin Scott
d1424f6c08
Handle missed error and make error messages unique
8 years ago
Justin Scott
0e81899f5f
WIP feat(helm): import child values to parent
...
Implements a mechanism in requirements.yaml to allow the import
and re-parenting of value table from child chart.
Closes #1995
8 years ago
Sushil Kumar
a484d00e33
Fixes TestInstallRelease_VerifyOptions & TestUpdateRelease_VerifyOptions
...
Following tests were failing unnoticed
- [ ] TestUpdateRelease_VerifyOptions
- [ ] TestUpdateRelease_VerifyOptions
Fixed those tests for the reason of failure.
Also added error checking to rest of the tests in same test-file,
so that new failures do not un-noticed.
8 years ago
Steven E. Harris
4178ec08ac
Add more object kinds to sorted installation order
...
The following kinds are newly addressed:
CronJob
LimitRange
ReplicaSet
ResourceQuota
StatefulSet
Furthermore, adjust the installation and uninstallation order to
better respect likely dependencies. Bare pods remain a difficult one
to place properly in both sequences.
8 years ago
Taylor Thomas
890b6f5627
Merge pull request #2200 from seh/sort-rbac-roles-and-bindings
...
Sort dependent RBAC role and binding kinds during installation and uninstallation
8 years ago
Taylor Thomas
e03d605b88
Merge pull request #2194 from qwangrepos/bug-2103
...
fix(helm): local path in requirements.yaml relative to working dir
8 years ago
Steven E. Harris
7ccfc6d7d4
Sort dependent RBAC role and binding kinds
...
During installation and uninstallation, handle the RBAC-related
ClusterRole, ClusterRoleBinding, Role, and RoleBinding kinds in an
order that respects their potential referential integrity, namely that
ClusterRoleBindings can refer to ClusterRoles and ServiceAccounts, and
RoleBindings can refer to ClusterRoles, Roles, and ServiceAccounts.
Fixes #2199 .
8 years ago
Qin Wang
e6b79e138b
fix(helm): local path in requirements.yaml relative to working dir
...
closes bug: 2103
8 years ago
Taylor Thomas
b7af2e21e4
Merge pull request #2187 from johnw188/sortIndexOnDownload
...
fix(helm): Don't assume index.yaml is sorted
8 years ago
Anubhav Mishra
76ebf20aac
fix(helm): fix typo
8 years ago
Anubhav Mishra
b208258f53
fix(helm): more quotation fixes
8 years ago
Anubhav Mishra
6aeadb272d
fix tests
8 years ago
Anubhav Mishra
1cf197d69e
fix(helm): fix comments and removed unwanted split
8 years ago
Anubhav Mishra
73fd0e4557
fix(tiller): now better formatting
8 years ago
Anubhav Mishra
837da9360e
fix(helm): using regexp to match whitespaces instead
8 years ago
Anubhav Mishra
c17ce5f9c1
fix(tiller): adding kind to tiller client logs
...
Closes #2162
8 years ago
Anubhav Mishra
611bba0f51
fix(helm): manifests string parsing works for newlines in the manifests
...
Trying to fix #2158
8 years ago
Scott Rigby
22cec7cdc1
Fix spacing
8 years ago
Scott Rigby
37fd7df627
chartutil create ingress example
8 years ago
John Welsh
e42f39a114
Forgot gofmt
8 years ago
John Welsh
f4486d4858
fix(helm): Don't assume index.yaml is sorted
...
This change sorts the helm index file after downloading from a repo.
Closes #2186
8 years ago
Jonathan Chauncey
05d0fcb774
feat(hooks): Adds weighted hooks
...
closes #2136
* Adds new annotation `helm.sh/hookWeight`
* Sorts executing hooks of similar kind in ascending order
* There is no upper or lower bounds on the weights
8 years ago
Sushil Kumar
cfd041eed5
Added unit tests
...
Added tests for:
- [ ] pkg/version/versions.go
- [ ] pkg/repo/repo.go
8 years ago
Matt Butcher
27c3ff595a
fix(tiller): fix helm status failure on missing resource
...
This fixes a bug in which 'helm status' fails if any of the expected
resources are missing in Kubernetes. Now it prints a list of missing
resources at the end of the status report.
Closes #2118
8 years ago
Adam Reese
390217d416
ref(helmpath): simplify path building of helmpath
8 years ago
Adam Reese
d4061b5b60
fix(tiller): enforce release name length on uninstall
...
If a selector is created from invalid values it will return nil.
Which is EVERYTHING!!!
closes : #2115
8 years ago
Adnan Abdulhussein
8210dc7883
feat(proto): add deprecated field
8 years ago
Matt Butcher
785a1df52b
Merge pull request #2077 from technosophos/feat/2036-appVersion
...
feat(proto): add appVersion field
8 years ago
libesz
41f7c97a48
Fixing plugin test
...
In the TestLoadDir test case, currently reflect.DeepEqual is expected to fail by error. Expected metadata is different than in the fixture yaml. Also, the type of the struct is mismatching in DeepEqual call (struct vs pointer to struct).
8 years ago
Brian
6da348baef
Merge pull request #2088 from Ladicle/fix/helm
...
helm(version): set 5 seconds timeout
8 years ago
Taylor Thomas
185fb4f43c
fix(tiller): Fixes problem with `--wait` on headless Services
...
Headless services (with `clusterIP` set to `None`) were reporting
as not being ready because they didn't have an IP address. This adds
a logic check to ignore those services.
8 years ago
Ladicle
c359ddf43c
helm(version): set 5 seconds timeout
...
close #1972
8 years ago
Matthew Fisher
1aee50f5db
move pkg cmd/helm/strvals to pkg/strvals
...
This is another useful package outside of cmd/helm.
8 years ago
Matt Butcher
3be8dfd818
Merge pull request #2068 from nokia/move-to-pkg
...
Fixing pkg->cmd call by moving helmpath under /pkg
8 years ago
libesz
0537b08779
helmpath goes under /pkg/helm/
8 years ago
Steve Wilkerson
79a3db0a63
feat(helm): add support for required properties
...
Adds the `required` function in enginge.go to support required
properties in values.yml. When a chart developer wishes to specify
intent in requiring a value, they can use this function to declare
an error message that gets returned when chart rendering fails
when a required value is not present in values.yml.
Closes #1580
8 years ago
Matt Butcher
396f6cbcb2
feat(proto): add appVersion field
...
This provides a simple field to expose the version of the application
contained in a chart.
Closes #2036
8 years ago
Fabian Ruff
43a6bcff40
Add .Template.BasePath to template system
8 years ago
Matt Butcher
0861b5e3f4
Merge pull request #2051 from dmonakhov/to-pool-v1
...
install: Return more user-friendly response on eexists
8 years ago
Matt Butcher
df827ab738
Merge pull request #2050 from jackzampolin/jz-to-toml
...
Add toToml template function
8 years ago
libesz
024fc5c806
Fixing pkg->cmd call by moving helmpath under /pkg
...
When downloader package moved to under /pkg, helmpath functions got called still from it, while it is under /cmd. This commit fixes the issue by moving helmpath after the downloader to have only cmd->pkg and pkg->pkg calls.
8 years ago
Taylor Thomas
570930bec0
Merge pull request #2046 from thomastaylor312/fix/2043-wait-panic
...
fix(tiller): Fixes `--wait` panic on upgrade
8 years ago
Dmitry Monakhov
33ace505cc
install: Return more user-friendly response on eexists
...
Most newcomers hit helm's 'feature' there deleted instalations are not really deleted.
Use-case
# helm install --name gitlab-ce-1 ./stable/gitlab-ce
# helm delete gitlab-ce-1
# helm list
# helm install --name gitlab-ce-1 ./stable/gitlab-ce
Error: a release named "gitlab-ce-1" already exists
There is a lot duplicated bugs in bugzilla which simply explains that packages
should be deleted with --pure flag. But such bugs appeared again and again
because this behavior is not obvious.
Let's help user to figure out what happens ASAP.
8 years ago
Michelle Noorali
59bb5aa1b8
Merge pull request #2028 from qwangrepos/issue-2020
...
local path repo verbose - issue #2020
8 years ago
Taylor Thomas
9afa04b71b
fix(tiller): Fixes `--wait` panic on upgrade
...
When manifests do not change, they didn't get populated with the
latest label info from the API server and then panic'd. This resolves
that bug
Closes #2043
8 years ago
Jack Zampolin
fc60d51be9
Add toToml function
8 years ago
Adam Reese
ba66af8c3d
Merge pull request #2042 from bacongobbler/loadfiles
...
expose LoadFiles as a usable function
8 years ago
Matt Butcher
e74772f1ab
Merge pull request #2021 from technosophos/feat/2019-dep-up-skip-refresh
...
feat(helm): add --skip-refresh flag to 'helm dep up'
8 years ago
Matthew Fisher
de6fb23e7a
expose LoadFiles as a usable function
...
In third-party libraries, charts can be embedded in memory rather than in files, directories or
tarballs. Exposing LoadFiles allows a third-party library the ability to load static templates
in and spit out a *chart.Chart.
8 years ago
Qin Wang
0bef00078c
local path repo verbose - issue #2020
...
Enable --debug flag to print debugging information when use
helm dep update --debug
closes #2020
8 years ago
Adam Reese
01114341f8
Merge pull request #2016 from adamreese/fix/2006-wait
...
fix(kube): fix wait and recreate
8 years ago
Michelle Noorali
80b93846b6
Merge pull request #2011 from michelleN/ref-1973
...
ref(*): remove error if no tests found on test cmd
8 years ago
Adam Reese
12db1f945f
fix(kube): fix wait and recreate
...
fixes #2006
8 years ago
Matt Butcher
f7b010a140
feat(helm): add --skip-refresh flag to 'helm dep up'
...
This makes it possible to do a `dep up` without refetching all of
the repositories.While it's less safe, it's useful when doing many
updates in a short period of time (such as in a CI/CD setting)
Closes #2019
8 years ago
Maxim Ivanov
edd4e56112
fix(helm): resolve symlinks when loading chart
...
Possible fix for #1639
8 years ago
Michelle Noorali
e52746cbef
ref(*): remove error if no tests found on test cmd
...
* resolves #1973
8 years ago
YuviPanda
cd7275069e
Use backtick quotes to avoid excess escaping
8 years ago
YuviPanda
97a655d225
Add tests for ToJson
8 years ago
YuviPanda
5c52fe6ad6
Add ToJson and FromJson template functions
8 years ago
Matt Butcher
4829fad3a3
fix(helm): fix broken cache paths in repositories
...
A regression was committed during 2.2.0 that broke the repositories.yaml
file format, switching the cache path from relative to absolute. This
fixes the error.
Closes #1974
8 years ago
Adam Reese
fc315ab598
chore(*): bump to v2.2.0
8 years ago
Matt Butcher
44fbfc4263
fix(style): add missing comments
8 years ago
Matt Butcher
5d909d8c30
Merge pull request #1955 from michelleN/test-failure-hook
...
feat(*): add support for test-failure hook
8 years ago
Michelle Noorali
6a062e45b7
featt(*): add support for test-failure hook
...
resolves #1927
8 years ago
Adam Reese
790b90b95b
fix(kube): prevent recreating pods without a selector
8 years ago
Matt Butcher
889902c381
Merge pull request #1917 from jascott1/tags_conds
...
feat(helm): add conditions and tags
8 years ago
Taylor Thomas
8dfea91056
Merge pull request #1923 from qwangrepos/local-path
...
feat(helm): add local path support for deps in requirements.yaml
8 years ago
Vaughn Dice
4a57b01a47
feat(helm): add cleanup flag to test command
8 years ago
Qin Wang
4b6b847b69
fix test chart path change from rebase
...
nit: fix spelling of dependency
8 years ago
Qin Wang
0153d273ce
fix error checking from os.stat
8 years ago
Qin Wang
39a2d5ec29
feat(helm): add local path support for deps in requirements.yaml
...
fix change requests
8 years ago
Qin Wang
d72ff65325
feat(helm): add local path support for deps in requirements.yaml
...
The following commands:
helm dep update
helm dep build
are now able to take a requirements.yaml with dependency charts' repo defined as:
file://../local/path or file:///root/path
closes : #1884
8 years ago
Matt Butcher
5618afe3d4
Merge pull request #1922 from larryrensing/feat/list-namespaces
...
feat(*): add --namespace flag to 'helm list'
8 years ago
Justin Scott
17c6ae61da
feat(helm): re-enable log warnings for tags and conditions
8 years ago
Justin Scott
fe864ad699
feat(helm): remove logging of tags/condition warnings to pass ci
8 years ago
Justin Scott
58c8aca1cc
feat(helm): fixup if/ele,remove extra string casts, add comments
8 years ago
Justin Scott
004c5bcc88
feat(helm): fix condition when no requirements.yaml exists during tag/condition processing
8 years ago
Justin Scott
faae1f68b6
feat(helm): Check len of correct slice
8 years ago
Justin Scott
8ef733ca7d
feat(helm): add conditions and tags
...
This feature adds the ability to selectively control the loading of charts using entries in top chart's values.
When 'helm install --set tags.mytag=true', charts with that tag will be enabled unless disabled in parent by condition.
When 'helm install --set mychart.enabled=true', charts with that yaml path specified will be enabled.
Closes #1837
8 years ago
Adam Reese
67fc1a21aa
feat(kube): support upgrading ThirdPartyResources
8 years ago
Adam Reese
f55a43553c
Merge pull request #1942 from adamreese/ref/kube-cleanup
...
ref(kube): code style cleanup
8 years ago
Matt Butcher
5d6aeac613
Merge pull request #1938 from nokia/move-to-pkg
...
Fixes #1898 : Proposal: move downloader and resolver package to /pkg
8 years ago
Adam Reese
ae9691910d
ref(kube): code style cleanup
8 years ago
Adam Reese
0f461ba8b5
feat(kube): use jsonpatch to update ThirdPartyResources
8 years ago
Adam Reese
4cdb2ac538
feat(kube): support thirdpartyresources
8 years ago
Gergo Huszty
a32f71c735
Merge branch 'master' of https://github.com/kubernetes/helm into move-to-pkg
8 years ago
Gergo Huszty
17c9e220b0
Fixes #1898 : Proposal: move downloader and resolver package to /pkg
8 years ago
Taylor Thomas
7bdd36bbba
fix(*): Regenerates protobuf files for protobuf 3.2
...
Protobuf 3.2 was recently released and generates a slightly different
file from the protobuf definitions. These were all changes to the
autogenerated byte array.
8 years ago
Larry Rensing
294d18d567
Merge remote-tracking branch 'upstream/master' into feat/list-namespaces
8 years ago
Larry Rensing
8cb931925e
Merge remote-tracking branch 'upstream/master' into feat/list-namespaces
8 years ago
Matt Butcher
ed7bb41973
Merge pull request #1928 from vdice/add-last-test-suite-run-to-status
...
feat(cmd/helm/status): add last test suite run to status output
8 years ago
Taylor Thomas
977ceb9b5f
Merge pull request #1882 from bacongobbler/1712-portforwarder
...
move newTillerPortForwarder to pkg/helm/portforwarder
8 years ago
Vaughn Dice
140caa081b
feat(cmd/helm/status): add last test suite run to status output
8 years ago
Michelle Noorali
c7e2d186a5
Merge pull request #1777 from michelleN/feat/1163-chart-testing
...
feat(*): add helm test initial framework
8 years ago
Larry Rensing
3a380923f4
feat(*): add --namespace flag to 'helm list'
...
Users can now specify a namespace filter for 'helm list'. Only the
releases within the specified namespace will be shown. For example,
'helm list --namespace foo' will only show releases for the 'foo'
namespace. Also added a namespace field to the table view.
Closes #1563
8 years ago
Michelle Noorali
4896ea7cf5
chore(pkg/tiller): add logs on RunReleaseTesting
8 years ago
Michelle Noorali
538e8297ef
ref(*): add namespace info to failing test msg
...
* also cleanup comments
8 years ago
Adam Reese
fd210dfd30
ref(hapi): remove never used proto field
8 years ago
Matthew Fisher
704bc47225
move newTillerPortForwarder to pkg/helm/portforwarder
8 years ago
Michelle Noorali
bf9ae52e1c
ref(*): change test hook to be test-success
8 years ago
Michelle Noorali
e95a0570ad
chore(pkg/releasetesting): add test_suite tests
...
* and comments
8 years ago
Matthew Fisher
3f463783a5
add PersistentVolumeClaim to the kind sorter list
...
At the present time, PersistentVolumeClaims are not a recognized object so it is installed last.
PVCs should be installed shortly after PersistentVolumes have been bound.
8 years ago
Michelle Noorali
e132191275
ref(pkg/): refactor helm test logic
...
pulled logic out in pkg/releasetesting
8 years ago
Vaughn Dice
9bd12953a9
feat(*): add kube client test
...
* for WaitAndGetCompletedPodPhase
8 years ago
Michelle Noorali
58c05f87d7
feat(*): stream helm test messages to client
8 years ago
Michelle Noorali
d46d63a8f7
feat(*): add helm test command mvp
...
* This is a simple mvp which processes a test definition with the
hook annotation for test when you run `helm test [release]`
* helm client cmd, proto def, tiller logic
8 years ago
Matt Butcher
756cb970bd
feat(tiller): record a message for each lifecycle step
...
This adds a simple description for each lifecycle step on a release
object.
Closes #1661
8 years ago
Taylor Thomas
e440a36d95
Merge pull request #1820 from thomastaylor312/feat/add_wait
...
feat(*): Add --wait flag
8 years ago
Matthew Fisher
dad40fcbe0
add InstallReleaseFromChart and UpdateReleaseFromChart
...
When using pkg/helm as a third party client, I am using chartutil.LoadArchive()
to load a chart from an io.Reader. After that is loaded I wish to install/update that
chart, however InstallRelease and UpdateRelease only accepts a path rather than
something of type *chart.Chart. This adds a new function called InstallReleaseFromChart
which allows one to load a chart separate from the path, then install said chart.
8 years ago
Taylor Thomas
7ef9bb6f71
feat(*): Add --wait flag
...
Adds `--wait` flag to helm that waits for all pods to reach a ready
state, PVCs to be bound, and services to have IP addresses
Closes #1805
8 years ago
Adam Reese
de64da2bb1
ref(kube): misc code cleanup
8 years ago
Adam Reese
9dae8eca3d
Merge pull request #1825 from adamreese/fix/upgrade-reaper
...
fix(kube): reap deleted resources during upgrade
8 years ago
Matt Butcher
9652651ba9
Merge pull request #1814 from technosophos/feat/1569-reset-values
...
feat(helm): add --reset-values flag to 'helm upgrade'
8 years ago
z00358552
b0d4cacd54
fix(helm) change name length limit to 63 for `helm create`
...
since kubernetes 1.4, the upper limit for resource name is 63 characters,
so it is better to change the template when running `helm create` accordingly.
8 years ago
Adam Reese
9e37009467
fix(kube): reap deleted resources during upgrade
8 years ago
Adam Reese
5a33f462ef
Merge pull request #1823 from adamreese/ref/kube-manifest
...
ref(kube): add Result to abstract a collection of resources
8 years ago
Adam Reese
b22e6fcfaa
ref(kube): add Result to abstract a collection of resources
8 years ago
Ferran Rodenas
088c2bd233
Linter validations for Chart icon property
8 years ago
Lachlan Evenson
4d5cf66308
removed Version from create tests as output schema and values aren't tested
8 years ago
Lachlan Evenson
2e0f949d49
bugfix(tiller): replace + with - in Chart version to support Kubernetes constraint
8 years ago
José Armesto
0059d5a3df
Logging real name of the failing hook
8 years ago
Matt Butcher
c32b2ddcdf
feat(helm): add --reset-values flag to 'helm upgrade'
...
The --reset-values flag on upgrade instructs Tiller to reset the
upgraded release to the chart's built-in values.yaml, and ignore the
last install's overridden values.
Closes #1569
8 years ago
Matt Butcher
6d6e88a86e
Merge pull request #1766 from gravitational/http-client-tls
...
Http client with TLS
8 years ago
Adam Reese
3e44f87c59
Merge pull request #1808 from adamreese/fix/missing-name
...
fix(tiller): add missing name to status response
8 years ago
Adam Reese
881153cc39
Merge pull request #1812 from adamreese/fix/1807-purge-error
...
fix(tiller): don't update purged releases
8 years ago
Adam Reese
6600fcb0e6
fix(tiller): don't update purged releases
...
fixes #1807
8 years ago
Adam Reese
0e7781c443
fix(tiller): add missing name to status response
8 years ago
Matt Butcher
cb0a6c7e07
feat(tiller): add {{.Capabilities}} object
...
This adds the {{.Capabilities}} object to the template variables so that
chart authors can write charts that are aware of teh Kubernetes
capabilities of the current cluster.
Closes #1608
8 years ago
Anton Galitsyn
f8a261f277
use old naming
8 years ago
Anton Galitsyn
685e730ba8
create repo.Getter interface
8 years ago
Anton Galitsyn
e3f39f30bf
rename URLAreEqual func
8 years ago
Adam Reese
a2543f87aa
Merge pull request #1784 from adamreese/ref/code-cleanup
...
ref(*): remove dead code
8 years ago
Adam Reese
4418b1a20d
ref(*): remove dead code
...
RIP
8 years ago
Matt Butcher
1e3e430561
fix(helm): prevent .helmignore rules from applying to '.'
...
Closes #1776
8 years ago
Matt Butcher
410bf899ed
Merge pull request #1757 from mboersma/bump-to-213
...
chore(*): bump to v2.1.3
8 years ago
Anton Galitsyn
89ab7555db
Get http.Client from referenced repository
8 years ago
Anton Galitsyn
b0e7a43b5b
Construct http.Client for repositories from config, add TLS support
8 years ago
dongziming
34d7585f1e
Spelling errors and so on.
8 years ago
Matt Boersma
bd27acd02c
chore(*): bump to v2.1.3
8 years ago
Adam Reese
b928088a8a
Merge pull request #1752 from adamreese/ref/tiller-version-check
...
ref(tiller): dry up client/server version checks
8 years ago
Adam Reese
b82d519025
ref(tiller): dry up client/server version checks
8 years ago
Adam Reese
d10e9186dc
feat(tiller): validate objects against kube schema on dry-run
8 years ago
Matt Butcher
dbe1c970b3
ref(tiller): minor style refactor
8 years ago
Matt Butcher
b28b58ad8b
Merge pull request #1715 from mariusgrigoriu/master
...
Play nicely with roles that don't allow creating namespaces
8 years ago
Matt Butcher
b51ad7a0e5
Merge pull request #1693 from thomastaylor312/feat/hook-timeout
...
feat(*): Adds support for timeout flag
8 years ago
Matt Butcher
cc118fc745
Merge pull request #1743 from mboersma/bump-to-212
...
chore(*): bump to 2.1.2
8 years ago
Matt Butcher
bea54d1073
Merge pull request #1734 from kmala/release
...
fix(upgrade):Check the raw vals during an upgrade properly
8 years ago
Matt Boersma
152cf427ed
chore(*): bump to 2.1.2
8 years ago
Keerthan Reddy Mala (kmala)
ce79fa8732
fix(upgrade):Check the raw vals during an upgrade properly
8 years ago
Taylor Thomas
774789c79a
feat(*): Adds support for timeout flag
...
Installs, rollback, upgrade, and delete now accept a `--timeout` flag
that allows the user to specify the maximum number of seconds that
any kubernetes command can take.
Closes #1678
8 years ago
Michelle Noorali
06867b22d4
fix(linter): disable checking for empty values
...
resolves #1463
8 years ago
Taylor Thomas
b18f7f7523
fix(*): Fixes protobuf name
...
The generated version of the protobuf did not match the `.proto` file.
This caused issues when a new protobuf change was added
8 years ago
Matt Butcher
090e00ddf8
Merge pull request #1686 from kubernetes/feat/1604-fromyaml
...
feat(tiller): add fromYaml to template functions
8 years ago
Euan Kemp
25f74989a5
fix(chartutil): improve 'missing name' error
8 years ago
Marius Grigoriu
d87cd95112
Play nicely with roles that don't allow creating namespaces
...
It is unnecessary to create a namespace just to test that it exists.
Roles that don't have post namespace will error out even if the namespace exists
and it is possible to install the package anyway. This patch Gets a namespace and
only creates one if it doesn't exist.
8 years ago
Matt Butcher
b3d812b346
Merge pull request #1692 from technosophos/fix/allow-global-map-merges
...
fix(tller): allow deep merge of global maps
8 years ago
Matt Butcher
ff9651be75
Merge pull request #1648 from nmakhotkin/restarting_pods
...
Adding pod restart during release upgrade/rollback
8 years ago
Matt Butcher
9ae9586df0
Merge pull request #1687 from technosophos/feat/1654-pretty-version
...
feat(tiller): Add .Release.Revision and .IsUpgrade
8 years ago
Nikolay Mahotkin
1eaec045b2
Rename 'restart' to 'recreate'
8 years ago
Matt Butcher
6faf4675ac
fix(tller): allow deep merge of global maps
...
This reverts a previous decision to only do shallow merges of globals.
It allows globals to be nested maps.
8 years ago
Matt Butcher
b2d762af48
feat(tiller): add .Release.IsInstall
8 years ago
Adam Reese
84928e2751
feat(*): allow tiller to be installed in an alternate namespace
...
Adds `--tiller-namespace` flag and `TILLER_NAMESPACE` envvar
to use tiller in an alternate namespace.
closes #1418
8 years ago
Nikolay Mahotkin
44d9274df3
Fixing tests
8 years ago
Matt Butcher
de7c5e5a38
feat(tiller): Add .Release.Revision and .IsUpgrade
...
New properties are available to template developers.
Closes #1554
8 years ago
Matt Butcher
7f4ea91028
Merge pull request #1645 from rodcloutier/Windows_archive_backslash_support
...
fix(helm): added support for compressed charts containing \ in file paths
8 years ago
Matt Butcher
d8540d78f1
feat(tiller): add fromYaml to template functions
...
This adds a fromYaml template function.
Closes #1604
8 years ago
Nikolay Mahotkin
ec0d104fe1
Reformatting changes
...
* Run gofmt on all changed files
so they formatted properly now
8 years ago
Nikolay Mahotkin
fdac5e8a39
Introducing flag for restarting pods during release upgrade/rollback
...
* Added pod restart for ReplicaSet
* Added --restart flag for helm CLI for upgrade/rollback commands
* By default, restart is false
8 years ago
Nikolay Mahotkin
22b206cc69
Adding pod restarting while upgrading release
...
* Added pod restarting for
- ReplicationController
- DaemonSet
- PetSet
8 years ago
Adam Reese
b7b648456b
chore(*): bump to v2.1.0
8 years ago
Matt Butcher
b08434aa3a
Merge pull request #1640 from technosophos/fix/1511-undeleting
...
fix(*): add support for "DELETING" status
8 years ago
Matt Butcher
bae2dce33a
Merge pull request #1666 from andrewstuart/files-util-methods
...
feat(helm): Add Files.AsSecrets, Files.AsConfig, path functions
8 years ago
Matt Butcher
936028f29a
fix(*): add support for "DELETING" status
...
Closes #1511
8 years ago
Adam Reese
525df8f0d1
ref(kube): simplify encoding for creating patches
8 years ago
Adam Reese
fb9ef50bc8
test(kube): add test for upgrade
8 years ago
Adam Reese
7413320d2d
ref(kube): use a more specific interface for discovery client
8 years ago
Adam Reese
cac9f9c7cc
ref(kube): isolate ensureNamespace and add tests
8 years ago
Adam Reese
bceea66d27
ref(kube): remove unused fields on client
8 years ago
Adam Reese
84ae1268e1
fix(*): import grouping
8 years ago
Adam Reese
7f44c116a1
ref(tiller): refactor clientset out of environment
8 years ago
Adam Reese
ea3be9e3b2
feat(*): migrate to kubernetes 1.5
8 years ago
Andrew Stuart
1df13df88d
Include lines functions
8 years ago
Andrew Stuart
6760aa1588
Add Lines method, remove path utils (Sprig pr)
8 years ago
Michelle Noorali
f5778539b0
Merge pull request #1652 from michelleN/feat/1326-helm-keep
...
feat(tiller): add support for resource-policy keep
8 years ago
Andrew Stuart
5d58b7792c
Fix erroneous import
8 years ago
Andrew Stuart
0474bcbcf1
Document ToYaml function
8 years ago
Andrew Stuart
9771973888
Add AsSecrets, AsConfig methods for Files object. Move ToYaml to chartutil
8 years ago
Adam Reese
0c6b6d1c62
fix(*): correct file permissions on source files
8 years ago
Michelle Noorali
e3480c76e6
feat(tiller): add support for resource-policy keep
...
satisfies #1326
8 years ago
Rodrigue Cloutier
37920761a4
fix(helm): added support for compressed charts containing \ in file paths
8 years ago
Matt Butcher
02acaf125d
Merge pull request #1632 from technosophos/fix/1587-no-release-found
...
fix(tiller): fix spurious "no release found" errors.
8 years ago
Adam Reese
68ff4e7b2f
Merge pull request #1636 from adamreese/fix/grpc-max-size
...
fix(tiller): increase the max message size for grpc
8 years ago
Matt Butcher
69e50abc6c
Merge pull request #1628 from rodcloutier/Windows_chart_creation_support
...
test(*): fix Windows tests
8 years ago
Matt Butcher
329665882e
Merge pull request #1634 from technosophos/fix/private-key-error
...
fix(helm): give different error if key is not private
8 years ago
Adam Reese
1f01bf51e7
fix(tiller): increase the max message size for grpc
...
Increases the default message size from 4MB to 10MB.
8 years ago
Rodrigue Cloutier
f3b205c6ef
fix(*): fixed tests for Windows
8 years ago
John Hofman
c38fb120bf
fix(helm): add trimSuffix to helper functions
8 years ago
Matt Butcher
58dcef86c8
fix(helm): give different error if key is not private
...
Previously, a "not found" error was returned if a key exists, but is not
a private key. Updated the error to better indicate the case.
8 years ago
Matt Butcher
a5d96c2704
fix(tiller): fix spurious "no release found" errors.
...
There are some places where releases are only located if they are in the
state DEPLOYED. That particular logic was incorrectly used for upgrades.
That caused #1566 . While fixing that issue, I found that this was also
the root cause of #1587 (though because it was off by one). I added a
generic method to get the last release, regardless of its status.
This allows some behaviors that previously failed:
- 'helm upgrade' can now be performed on a DELETED release
- 'helm rollback' can now be performed on a DELETED release even if
there is only one revision of that release history.
Closes #1566
Closes #1587
8 years ago
Adam Reese
914dbe8bc0
Merge pull request #1614 from adamreese/fix/linter-issues
...
fix(*): misc linter issues
8 years ago
Matt Butcher
e26d9f9633
Merge pull request #1616 from rollulus/no-exec-yaml
...
fix(helm): write yaml without exec permission
8 years ago
Andrew Stuart
ec020a9e40
Improve formatting of godoc
8 years ago
Andrew Stuart
2de1728f05
feat(helm): Add Files.Glob method to permit file organization
8 years ago
Rollulus
e8eed3cc3e
fix(helm): write yaml with non-exec permission
8 years ago
Adam Reese
803475c824
fix(*): misc linter issues
8 years ago
Matt Butcher
e097e1b724
Merge pull request #1599 from technosophos/fix/1590-pass-no-hooks-to-server
...
fix(helm): pass the no-hooks flag during upgrade
8 years ago
Matt Butcher
d84deb5b3d
Merge pull request #1598 from technosophos/fix/1594-delete-too-much
...
fix(tiller): validate names before performing operations
8 years ago
Matt Butcher
5f3d255ecd
fix(helm): pass the no-hooks flag during upgrade
...
Helm upgrades were not passing the no-hooks value to the server.
Closes #1590
8 years ago
Matt Butcher
7a15ad381e
Merge pull request #1484 from technosophos/feat/documentation-generator
...
feat(helm): add command to generate documentation
8 years ago
Matt Butcher
aca9f86df6
feat(helm): add command to generate documentation
...
This adds a hidden 'helm doc' command that generates documentation out
of the Helm help text.
Currently it can create:
- man pages for HELM(1)
- Markdown documentation
- bash autocompletions
Those are the three built-ins for Cobra.
The command is hidden so that it doesn't show up to the regular user,
since this is really a specialized task. It has the advantage of making
it trivially easy to install man pages and bash completion at installation time.
8 years ago
Matt Butcher
02a1cf382c
fix(tiller): validate names before performing operations
...
There were several places where an invalid name could be interpreted
into a wild-card by Kubernetes. That allows Bad Things.
This fix requires names to match the Kubernetes pattern for naming.
Closes #1594
8 years ago
Matt Butcher
fad755e7ae
feat(helm): add plugin system backend
...
This adds a backend for a plugin system.
Closes #1572
8 years ago
Matt Butcher
5517d00a48
Merge pull request #1547 from technosophos/feat/packs
...
feat(helm): support 'helm create --starter=mypack'
8 years ago
Matt Butcher
784a339627
feat(helm): support 'helm create --pack=mypack'
...
This adds support for packs, pre-configured chart patterns that can be
used to quickly create a custom layout for your new chart.
8 years ago
Matt Butcher
f637e07928
Merge pull request #1578 from rollulus/fix_deleterelease
...
fix(helm): don't pass nil-opt to ReleaseContent
8 years ago
Rollulus
bfd64878b1
fix(helm): don't pass nil-opt to ReleaseContent
8 years ago
Adam Reese
2ae8821418
feat(kube): add schema validation
...
Adds validation against the swagger schema.
Example error:
Error: release telling-wildebeest failed: error validating "": error
validating data: expected type int, for field
spec.template.spec.containers[0].ports[0].containerPort, got string
Current error:
unable to decode "": [pos 177]: json: expect char '"' but got char 'n'"'
8 years ago
Adam Reese
51bdad4275
chore(*): bump to v2.0.0
8 years ago
Matt Butcher
a772697f4d
Merge pull request #1560 from technosophos/fix/1528-increase-release-name-limit
...
fix(tiller): allow release name to be up to 53 chars
8 years ago
Matt Butcher
9effe7a505
fix(tiller): allow release name to be up to 53 chars
...
This raises the limit from 14 to 53 chars based on the Kubernetes 1.4
name limit.
Closes #1528
8 years ago
Adam Reese
df123865c3
fix(kube): fix incomplete patches generated on update
8 years ago
Adam Reese
62df1ad358
Merge pull request #1549 from adamreese/fix/1519-bubbly-yaml-errors
...
fix(tiller): return yaml parsing errors
8 years ago
Matt Butcher
bae4508d8f
Merge pull request #1538 from technosophos/fix/1515-no-overwrite-for-helm-create
...
fix(helm): helm create will not overwrite existing files
8 years ago
Matt Butcher
48c1ba5355
Merge pull request #1545 from mattfarina/feat/1543-charts-domain-change
...
feat(charts): Move bucket to domain from path
8 years ago
Matt Butcher
985e975f53
Merge pull request #1546 from technosophos/fix/1499-show-broken-yaml
...
fix(tiller): show failed YAML
8 years ago
Rollulus
8a13be29ac
fix(helm): respect dryRun opt in DeleteRelease
8 years ago
Matt Farina
da73150ce9
fix(tls): download helm and charts over https
...
Downloading of charts and helm itself happened over http. This
change moves to use https as that is available with valid certs.
8 years ago
Adam Reese
e2ab407209
fix(tiller): return yaml parsing errors
...
closes : #1519
8 years ago
Matt Butcher
6eabe28334
fix(tiller): show failed YAML
...
When an install fails and --dry-run is set, return the broken YAML for
the user to debug.
Closes #1499
8 years ago
Matt Butcher
915769b311
Merge pull request #1529 from technosophos/fix/1522-replace-duplicate-entries
...
fix(helm): replace repo entry instead of duplicating
8 years ago
Matt Farina
7a79661f0e
feat(charts): Move bucket to domain from path
...
A bucket name in the path can be migrated to a custom k8s domain
name. This is in preperation for that.
8 years ago
Matt Butcher
0a163a2a3a
fix(helm): helm create will not overwrite existing files
...
It will ignore files if they exist, and create files if they were
missing.
Closes #1515
8 years ago
Matt Butcher
c616bb5a98
fix(helm): replace repo entry instead of duplicating
...
Closes #1522
8 years ago
Matt Butcher
8f9b9db547
docs(tiller): add docblocks to public methods
8 years ago
Adam Reese
d59f66fc9e
fix(*): fix new linter errors
8 years ago
Sebastian Mandrean
b3d45aef7a
fix(1516): use correct value reference in boilerplate NOTES.txt
8 years ago
Adam Reese
f8037c83c6
chore(*): bump to v2.0.0-rc.2
8 years ago
Matt Butcher
8a7e1ec29f
Merge pull request #1512 from technosophos/fix/1508-delete-error-message
...
fix(tiller): improve deletion failure handling
8 years ago
Matt Butcher
3830736001
fix(tiller): improve deletion failure handling
...
This does the following to improve deletion failure handling:
- In an UninstallRelease operation, the release is marked DELETED
as soon as the basic checks are passed. This resolves 1508. I filed a
followup issue for doing this even better when we can modify protos
again.
- If a YAML manifest fails to parse, the error messages now suggests
that the record is corrupt, and the resources must be manually
deleted.
- If a resource is missing during deletion, the error messages now make
it clear that an object was skipped, but that the deletion continued.
Closes #1508
8 years ago
Adam Reese
1920761c90
fix(kube): add default client config to the loading rules
...
fixes : #1505
8 years ago
Adam Reese
92be174acf
chore(*): bump to v2.0.0-rc.1
8 years ago
Adam Reese
7ce6001843
Merge pull request #1496 from adieu/master
...
Separate tiller into pkg and cmd so we can use tiller as a library.
8 years ago
adieu
c0850efeb5
Separate tiller into pkg and cmd so we can use tiller as a library.
8 years ago
Vic Iglesias
4179282760
Dont use privileged port in port-forward of default chart
8 years ago
Vic Iglesias
5af08fa5b5
Fix labels in NOTES.txt
8 years ago
Vic Iglesias
8527f2f96c
Use chart name for container name
8 years ago
Vic Iglesias
156d706dd1
Use internal port for health check
8 years ago
Matt Butcher
6b31664cd2
Merge pull request #1491 from technosophos/fix/1489-spurious-namespace-error
...
fix(linter): remove spurious namespace error
8 years ago
Matt Butcher
58164e0009
fix(linter): remove spurious namespace error
...
Long ago, Helm did not support cross-namespace installs. There was a
linter rule to catch this. When we changed the way Helm worked, we did
not remove the linter rule. This commit removes that linter rule.
Closes #1489
8 years ago
Adam Reese
13ec13aff5
Merge pull request #1487 from adamreese/ref/kube-builder-update
...
ref(kube): add info match helper functions
8 years ago
Adam Reese
ab12c46259
ref(kube): add info match helper functions
8 years ago
Jim
7a054e0e6b
fix(pkg/chartutil): add error if chart yaml not in directory
...
For archived files the Chart.yaml file should be contained in a base
directory. This commit adds an error when the Chart.yaml file is found
in the root directory.
Fixes #1171
8 years ago
Adam Reese
afb24d00d3
ref(kube): add newBuilder function to dry up builder calls
8 years ago
Matt Butcher
846011b02a
Merge pull request #1473 from technosophos/fix/1468-3rd-party-apis
...
fix(tiller): allow 3rd party APIs
8 years ago
Matt Butcher
f27791c35b
fix(tiller): allow 3rd party APIs
...
This feature has been disabled in the past because simply enabling the
feature causes the Kubernetes library to make requests to a server.
Thus, running any tests that use the 'pkg/kube' library has required
running a kube API server.
This patch makes it possible to selectively activate 3rdParty API
support, and then disables that support during testing.
Future versions of the Kubernetes library appear to make it easier to
configure and mock this behavior, so this is most likely a stop-gap
measure. (Famous last words.)
Closes #1472
8 years ago
Adam Reese
d2648ec479
fix(helm): add kubernetes defaults to context
...
fixes : #1467
8 years ago
Adnan Abdulhussein
5ea81b47b1
Merge pull request #1461 from viglesiasce/update-create-templates
...
Add deployment, service and NOTES to create
8 years ago
Matt Butcher
9ae97c341c
fix(helm): read passphrase from prompt
...
This prompts the user to enter a passphrase if the given PGP key is
encrypted.
Closes #1447
8 years ago
Vic Iglesias
665615f30f
Remove **** from default notes
8 years ago
Vic Iglesias
2b2e1d59c8
Simplify final logic block in create
8 years ago
Vic Iglesias
06d9ccd038
Fix formatting
8 years ago
Vic Iglesias
cd34492b5a
Add tests for new files in create
8 years ago
Vic Iglesias
8d867657bb
Add resources and probes
8 years ago
Vic Iglesias
4120e67240
Add deployment, service and NOTES to create
8 years ago
Adam Reese
8a5550d0c6
chore(*): bump to v2.0.0-beta.2
8 years ago
Adnan Abdulhussein
ebeaaf75e3
Merge pull request #1435 from prydonius/fix-notes
...
fix(tiller): correct path to NOTES.txt template
8 years ago
Adnan Abdulhussein
f97dbe33da
fix(tests): prefix template names with "templates/"
8 years ago
Matt Butcher
4b7e4b71bd
fix(helm): use 127.0.0.1 instead of localhost
...
This switches the local chart repo to use 127.0.0.1 instead of localhost
so that the net library does not negotiate localhost to an IPv6 address,
which is known to cause issues in some Docker containers.
Breaking Change: When testing on a system that does NOT have IPv4
configured, this will break 'helm serve'. We estimate this will impact
none of the current user base.
Closes #1410
8 years ago
Matt Butcher
2eed3f0464
Merge pull request #1420 from databus23/compression
...
Add compression to configmap storage driver
8 years ago
Matt Butcher
737d3c745f
Merge pull request #1406 from technosophos/fix/1397-fix-index
...
fix(helm): finish repo index.html
8 years ago
Fabian Ruff
eb4b78bbbe
Add compression to configmap storage driver
...
This commit changes the configmap storage driver to compress
the serialized release before storing it as a base64 encoded string.
This change is backward compatible as it handles existing releases
gracefully by skipping the decompression step when the gzip magic
header is not present.
8 years ago
Adam Reese
05c04bccae
chore(*): bump to v2.0.0-beta.1
8 years ago
Adnan Abdulhussein
ee7fe7c728
fix(repo): ensure index generates in the right order
8 years ago
Matt Butcher
abf1ddc324
fix(helm): finish repo index.html
...
Previous versions of Helm had placeholder text in the index.yaml file.
This generates an HTML index for 'helm serve'. It also has a
refactoring of the server so that the server can be tested.
Closes #1397
8 years ago
Matt Butcher
fcdb79da16
Merge pull request #1402 from technosophos/fix/1328-generate-index
...
fix(helm): make 'helm repo index' generate the right index
8 years ago
Matt Butcher
911d3224c5
fix(helm): make 'helm repo index' generate the right index
...
This prevents the index command from recursing through directories.
Behind the scenes, it swaps out the repository logic for the index file
logic.
Closes #1328
8 years ago
Matt Butcher
08a488f58c
Merge pull request #1142 from ammeon/add-update
...
feat(helm): `--no-update` flag for `helm repo add`
8 years ago
Matt Butcher
574ee4e6b0
Merge pull request #1391 from technosophos/fix/no-objects
...
fix(tiller): fix wording for a few errors
8 years ago
Matt Butcher
8d32bd2a60
fix(tiller): fix wording for a few errors
...
This changes the wording of a log and an error message to make it
clearer what is happening.
8 years ago
Matt Butcher
a1f5955a65
fix(tiller): fix nil pointers in error messages
...
There were a few places where error messages were accessing properties
of objects that were nil because of the error.
Closes #1374
8 years ago
Michelle Noorali
a8418dd75b
fix(kube): find current resource by name and kind
...
This resolves #1210 . Update will find current resource
by name and kind for comparison purposes.
8 years ago
Matt Butcher
36f7eb0b2a
fix(linter): add engine.FuncMap so linter can use real function list
...
This adds a function engine.FuncMap that returns a function mapping that
better represents the functions passed to a template. The linting logic
is reconfigured to use this function instead of the sprig.FuncMap
function.
Closes #1366
8 years ago
Matt Butcher
70b29a47d0
Merge pull request #1368 from prydonius/1367-fix-linter-tmpl-regex
...
fix(lint): validateNoMissingValues template regex
8 years ago
Matt Butcher
789e411d8d
Merge pull request #1370 from prydonius/1369-fix-yaml-validation
...
fix(lint): use correct hash key for rendered tmpl
8 years ago
Nic Roland
16436b565d
feat(helm): update repo by default, added `--no-update` flag
8 years ago
Adnan Abdulhussein
d81ac482ee
fix(lint): use correct hash key for rendered tmpl
...
The YAML validation was broken because the renderedContentMap has keys
with the path to the template including the chart directory, whereas the
linter was trying to access it relative from the chart directory.
For example, the hash key was `drupal/templates/deployment.yaml` but the
linter was trying to access `templates/deployment.yaml`. This commit
fixes the key used to access the rendered content.
8 years ago
Adnan Abdulhussein
aed4db02e8
fix(lint): validateNoMissingValues template regex
...
Fixes the regex for extracting templates to include templates that
suppress newlines and ignore any conditional flow statements.
8 years ago
Matt Butcher
ab6a73a0b5
Merge pull request #1361 from technosophos/fix/1334-merge-indices
...
fix(helm): allow entries to be merged into index
8 years ago
Matt Butcher
25c7e6dc21
fix(helm): allow entries to be merged into index
...
Between Alpha.4 and Alpha.5 there was a change in the indexing logic.
This prevent indices from being appended to (because those index files
were often broken). This change allows the user to explicitly merge an
existing index and a generated index.
Closes #1334
8 years ago
Adam Reese
0f5990f4cd
feat(helm): add kubeconfig context switching to init command
...
- decouple tunnel from kube client
- add context switching for init cmd
- add unit tests for installer and init command
- refactor installer and remove unused code
8 years ago
Brian
d6b0dc0626
Merge pull request #1339 from fibonacci1729/ref/rlsutil
...
ref(*): add pkg/releaseutil.
8 years ago
Matt Butcher
cbe7a2a993
Merge pull request #1345 from technosophos/fix/1342-ignore-charts-dotfiles
...
fix(helm): ignore dotfiles in charts/ directories
8 years ago
fibonacci1729
24fe8643de
ref(*): add sorter/filter utilties to releaseutil
8 years ago
Michal Rostecki
1b5c993853
fix(helm): remove unused consts from client
...
Const variables defined in client.go weren't used
anywhere.
Ref #953
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
f71230ccd3
fix(*): resolve go linter issues
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
Adam Reese
150fb33c2e
fix(*): prevent testing package from being imported
...
Prevent testing package from being imported into main application
8 years ago
Adam Reese
4de5c4aa57
chore(*): bump to v2.0.0-alpha.5
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
d4e7845e7a
Merge pull request #1287 from technosophos/fix/1192-remove-gopkg-yaml
...
fix(*): remove references to gopkg.in/yaml.v2
8 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>
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
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
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
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
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
Brian
837d0a8880
Merge pull request #1253 from fibonacci1729/chore/pkg-helm-tests
...
chore(helm): add test coverage to pkg/helm
8 years ago
fibonacci1729
41be5f5985
chore(helm): add test coverage to pkg/helm
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
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
Matt Butcher
95a358de35
Merge pull request #1236 from technosophos/ref/kube1.4
...
ref(*): update to Kubernetes 1.4
8 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.
8 years ago
Adam Reese
5a5a44ec17
feat(*): add rollback to a release version
...
closes #1244
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
e4c217768e
ref(*): update to Kubernetes 1.4
...
This starts with #1211 and does the other updates necessary for
bumping us to Kubernetes 1.4.
8 years ago
Adam Reese
c0d33afc81
Merge pull request #1235 from adamreese/chore/bump-grpc
...
chore(*): bump grpc to 1.0.1-GA
8 years ago
Matt Butcher
431cc46cad
feat(tiller): add toYaml template function
...
This adds the function toYaml to the Engine template functions.
Closes #1225
8 years ago
Adam Reese
a4a2f5c983
chore(*): bump grpc to 1.0.1-GA
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
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
fibonacci1729
f77435e686
fix(helm-list): only list configmaps owned by TILLER
8 years ago
Matt Butcher
b8f8efc601
Merge pull request #1202 from philips/use-digest-format
...
feat(repo): use OCI style digest identifiers
8 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
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
4a7352cdc0
adjust proto field numbers
8 years ago
vaikas-google
f8adf7f4d2
Address cr comments
8 years ago
vaikas-google
cbec79482a
address code review comments
8 years ago
vaikas-google
6d26024a27
first cut of version on client and server
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
Brian
cb93006c83
Merge pull request #1154 from fibonacci1729/feat/version-opt-flag
...
feat(helm): add optional version flag to helm{get,status}
8 years ago
fibonacci1729
83df6ebc4d
feat(rollback-storage): remove extraneous else block and fix type in records_test
8 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
```
8 years ago
Adam Reese
d8616dd2b3
fix(lint): allow .txt files
...
closes #1161
8 years ago
fibonacci1729
1d6c16175b
feat(rollback-storage): remove unreachable code from memory
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
e25732284b
feat(rollback-storage): gofmt, added missing license headers, and canconical import paths
8 years ago
fibonacci1729
383a9c186a
update pkg/storage to support rollback
8 years ago
Matt Butcher
36606cf152
Merge pull request #1150 from technosophos/feat/874-chart-deps
...
feat(charts): add 'dependencies:' to Chart.yaml
8 years ago
Michelle Noorali
ce4ae51ec1
Merge pull request #1146 from michelleN/bug/1133-fix-delete
...
fix(kube): delete should skip resources not found
8 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 .
8 years ago
Michelle Noorali
f062cff5a3
fix(kube): delete should skip resources not found
8 years ago
Adam Reese
60b4188867
chore(*): bump version to v2.0.0-alpha.4
8 years ago
fibonacci1729
f622672bf8
feat(rollback-support): add version field to protos to support querying by (release_name, version)
8 years ago
joe2far
72e7b22999
minor engine unit test fix
8 years ago
vaikas-google
492dbb3791
Add support for NOTES.txt file
8 years ago
Matt Butcher
d5170d2335
Merge pull request #1116 from ammeon/ignore-chart-dotfiles
...
feat(helm): package to ignore all dotfiles by default
8 years ago
joe2far
96de0e35aa
feat(helm): ignore by default all dotfiles in templates/
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
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
5650072999
Merge pull request #1103 from technosophos/feat/973-list-all
...
feat(*): add 'helm list --all' and related flags
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
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.
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
c7bec34454
chore(kube): make update logic more generic
8 years ago
Michelle Noorali
197e466b9a
ref(*): return resource update errors
...
Resolves #1058
8 years ago
Matt Butcher
01e2d367dd
Merge pull request #988 from technosophos/feat/sig-files
...
feat(pkg/provenance): add OpenPGP signatures
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
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
8 years ago
Matt Butcher
84761a559a
fix(helm): remove extra linter output
...
Closes #1076
8 years ago
Matt Butcher
a46a033de4
feat(chart): support 'image:URL' in charts.
...
Closes #1034
8 years ago
Miguel Martinez
cb12d9642b
Disable validateQuotes linter rule
8 years ago
Ebrahim Byagowi
1c9b8d7257
Add purge option for completely remove a release from tiller
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
Adam Reese
47c360da37
chore(*): bump version to v2.0.0-alpha.3
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
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
fibonacci1729
9d3a1ed2a7
basic cfgmaps driver tests
8 years ago
fibonacci1729
d5aca1666c
configmaps: style fix
8 years ago
fibonacci1729
94a154b745
more style fixes and cleanup
8 years ago
fibonacci1729
559e9081fb
style fixes and cleanup
8 years ago
fibonacci1729
3dca699410
fix: storage tests
8 years ago
Michelle Noorali
f99228778d
feat(*): integrate support for upgrade hooks
8 years ago
fibonacci1729
7c56882ed9
fix configmaps list, and labels mechanism for future tiller mgmt
8 years ago
fibonacci1729
cba0c6615f
gofmt
8 years ago
fibonacci1729
8c56533a47
configmap tests & some reduction in driver complexity
8 years ago
Michelle Noorali
70b9f11a03
feat(*): add disable hooks flag to `helm upgrade`
8 years ago
Michelle Noorali
9465ce979b
chore(helm): add options to update request
8 years ago
Matt Butcher
038d7102a9
Merge pull request #1028 from technosophos/fix/989-helm-ignore-defaults
...
fix(helm): fix helmignore evaluation of dirs
8 years ago
fibonacci1729
2d95906e1a
wip: cfgmaps storage driver
8 years ago
fibonacci1729
0e26f20268
gofmt, style, and added comments
8 years ago
Michelle Noorali
1b31382d9c
chore(glide): add kube pkgs to glide.yaml
...
* Thanks for the reminder adam :)
8 years ago
Matt Butcher
2e95230b30
fix(helm): fix helmignore evaluation of dirs
...
This adds a few extra settings to the default .helmignore file. In
doing this, I found a bug that some directory patterns are not
evaluated correctly. Fixed that and added tests.
Closes #989
Closes #1027
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
fibonacci1729
a83425d44b
style & doc comments
8 years ago
Michelle Noorali
584245eadf
Merge pull request #1023 from mumoshu/check-tgz-extension
...
Check for the tgz extension while collecting chart paths
8 years ago
Yusuke Kuoka
c0de9b4ada
Check for the tgz extension while collecting chart paths
8 years ago
fibonacci1729
241cc29883
gofmt
8 years ago
fibonacci1729
c7e3ec7c46
add license to filter.go
8 years ago
fibonacci1729
d458bb7fb9
Change Create to return ErrReleaseExists if release exists
8 years ago
fibonacci1729
fad498e8fd
added / documented common errors
8 years ago
Matt Butcher
b7945d05c4
ref(templates): change GetString to Get
...
This changes "pkg/chartutil".Files.Get to return a string, removes
"pkg/chartutil".Files.GetString, and adds
"pkg/chartutil".Files.GetBytes.
Closes #1020
8 years ago
Phillip Wittrock
4964467868
Swtich from rc to deployment for running tiller
8 years ago
fibonacci1729
967e438bfd
gofmt ...
8 years ago
fibonacci1729
a05b48f320
update driver Queryor interface to reflect list filtering mechanism
8 years ago
fibonacci1729
bfd6712c94
add filtering mechanism to storage and embed Driver directly into Storage
8 years ago
Matt Butcher
9718c9e7c8
feat(engine): add 'partial' function
...
This adds a context-aware template function called 'partial' that will
allow rendering other templates in a chart into a string value, which
can then be piped to other functions. Usage is something like
'{{partial 'path/to/template.yaml' | indent 2}}'
This might be a bad idea.
Closes #1005
8 years ago
fibonacci1729
061b534885
fix panic in memory_test when release status is nil
8 years ago
fibonacci1729
aff817a1fc
run gofmt
8 years ago
fibonacci1729
4210d60c5e
add storage type to interface with multiple drivers
8 years ago
fibonacci1729
6dd5c9783e
add driver package to encapsulate storage backends
8 years ago
fibonacci1729
943eadec38
move old memory impl. to driver/
8 years ago
Matt Butcher
be053f3c05
Merge pull request #994 from technosophos/feat/950-files-in-templates
...
feat(tiller): add Files map to templates
8 years ago
Matt Butcher
033dbfe75e
feat(tiller): add Files map to templates
...
Templates can now access the non-template files in a chart by using
the '{{.Files}}' map inside of a template.
Relates to #950
8 years ago
Matt Butcher
a1fffc6977
Merge pull request #997 from technosophos/feat/972-reuse-name
...
feat(helm,tiller): add --reuse-name flag to helm install
8 years ago
Adam Reese
ea4dcbab11
feat(kube): reap related resources on delete
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
Michelle Noorali
6006fc7b21
Merge pull request #963 from michelleN/feat/690-helm-upgrade
...
feat(*): add upgrade command and validations
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
5e654c0380
feat(*): get helm & tiller chatting about upgrades
8 years ago
Michelle Noorali
e633b4b75a
feat(pkg/helm): fill in proto for UpdateRelease
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
ngtuna
a2d6817b9b
go idiom typo
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
736009982e
ref(helm): fix naming issues from golint
8 years ago
ngtuna
03e59fd6c0
bypass gofmt
8 years ago
Adam Reese
a14e76a65c
chore(*): add canonical import path annotation
...
https://golang.org/doc/go1.4#canonicalimports
8 years ago
ngtuna
bfce033cc0
fix(helm): helm repo index should not delete entry, instead it should update removed=true
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
f273510c97
fix(lint): fix golint errors
8 years ago
Adam Reese
d5aa4852a7
Merge pull request #921 from adamreese/ref/command-tests
...
ref(cmd): refactor cmd for unit testing
8 years ago
Adnan Abdulhussein
03ca4e892f
feat(lint): support linting multiple charts
8 years ago
Miguel Martinez
3b2ea04348
fix(linter) Typos
9 years ago
Adam Reese
5013da3d25
fix(helm): add ReleaseContent to interface
9 years ago
Adam Reese
73f1bef3c9
test(cmd): add helm client mocking
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