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