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