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