Commit graph

428 commits

Author SHA1 Message Date
Matt Butcher
5517d00a48 Merge pull request #1547 from technosophos/feat/packs
feat(helm): support 'helm create --starter=mypack'
2016-11-22 17:44:48 -07:00
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.
2016-11-22 16:27:54 -07:00
Matt Butcher
f637e07928 Merge pull request #1578 from rollulus/fix_deleterelease
fix(helm): don't pass nil-opt to ReleaseContent
2016-11-22 13:17:17 -07:00
Rollulus
bfd64878b1 fix(helm): don't pass nil-opt to ReleaseContent 2016-11-22 13:31:00 +01:00
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'"'
2016-11-21 22:36:55 -08:00
Adam Reese
51bdad4275 chore(*): bump to v2.0.0 2016-11-16 15:31:44 -08:00
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
2016-11-16 16:06:26 -07:00
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
2016-11-16 15:47:49 -07:00
Adam Reese
df123865c3 fix(kube): fix incomplete patches generated on update 2016-11-16 14:04:38 -08:00
Adam Reese
62df1ad358 Merge pull request #1549 from adamreese/fix/1519-bubbly-yaml-errors
fix(tiller): return yaml parsing errors
2016-11-15 10:56:02 -08:00
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
2016-11-15 11:14:12 -07:00
Matt Butcher
48c1ba5355 Merge pull request #1545 from mattfarina/feat/1543-charts-domain-change
feat(charts): Move bucket to domain from path
2016-11-15 11:06:10 -07:00
Matt Butcher
985e975f53 Merge pull request #1546 from technosophos/fix/1499-show-broken-yaml
fix(tiller): show failed YAML
2016-11-15 10:59:48 -07:00
Rollulus
8a13be29ac fix(helm): respect dryRun opt in DeleteRelease 2016-11-15 08:25:04 +01:00
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.
2016-11-14 19:06:53 -05:00
Adam Reese
e2ab407209 fix(tiller): return yaml parsing errors
closes: #1519
2016-11-14 14:30:33 -08:00
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
2016-11-14 13:15:41 -07:00
Matt Butcher
915769b311 Merge pull request #1529 from technosophos/fix/1522-replace-duplicate-entries
fix(helm): replace repo entry instead of duplicating
2016-11-14 12:15:19 -08:00
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.
2016-11-14 13:55:33 -05:00
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
2016-11-14 11:49:19 -07:00
Matt Butcher
c616bb5a98
fix(helm): replace repo entry instead of duplicating
Closes #1522
2016-11-14 11:46:17 -07:00
Matt Butcher
8f9b9db547
docs(tiller): add docblocks to public methods 2016-11-14 11:44:27 -07:00
Adam Reese
d59f66fc9e fix(*): fix new linter errors 2016-11-11 19:24:11 -08:00
Sebastian Mandrean
b3d45aef7a fix(1516): use correct value reference in boilerplate NOTES.txt 2016-11-06 22:44:25 +01:00
Adam Reese
f8037c83c6 chore(*): bump to v2.0.0-rc.2 2016-11-04 15:47:55 -07:00
Matt Butcher
8a7e1ec29f Merge pull request #1512 from technosophos/fix/1508-delete-error-message
fix(tiller): improve deletion failure handling
2016-11-04 16:14:00 -06:00
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
2016-11-04 11:49:33 -06:00
Adam Reese
1920761c90 fix(kube): add default client config to the loading rules
fixes: #1505
2016-11-03 14:44:02 -07:00
Adam Reese
92be174acf chore(*): bump to v2.0.0-rc.1 2016-11-02 12:19:26 -07:00
Adam Reese
7ce6001843 Merge pull request #1496 from adieu/master
Separate tiller into pkg and cmd so we can use tiller as a library.
2016-11-02 12:16:57 -07:00
adieu
c0850efeb5 Separate tiller into pkg and cmd so we can use tiller as a library. 2016-11-02 22:53:07 +08:00
Vic Iglesias
4179282760 Dont use privileged port in port-forward of default chart 2016-11-01 16:14:45 -07:00
Vic Iglesias
5af08fa5b5 Fix labels in NOTES.txt 2016-11-01 16:10:58 -07:00
Vic Iglesias
8527f2f96c Use chart name for container name 2016-11-01 16:09:15 -07:00
Vic Iglesias
156d706dd1 Use internal port for health check 2016-11-01 16:08:20 -07:00
Matt Butcher
6b31664cd2 Merge pull request #1491 from technosophos/fix/1489-spurious-namespace-error
fix(linter): remove spurious namespace error
2016-11-01 14:25:02 -06:00
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
2016-11-01 13:41:29 -06:00
Adam Reese
13ec13aff5 Merge pull request #1487 from adamreese/ref/kube-builder-update
ref(kube): add info match helper functions
2016-11-01 10:14:08 -07:00
Adam Reese
ab12c46259 ref(kube): add info match helper functions 2016-10-31 20:04:04 -07:00
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
2016-10-31 22:25:38 -04:00
Adam Reese
afb24d00d3 ref(kube): add newBuilder function to dry up builder calls 2016-10-31 16:31:09 -07:00
Matt Butcher
846011b02a Merge pull request #1473 from technosophos/fix/1468-3rd-party-apis
fix(tiller): allow 3rd party APIs
2016-10-28 15:16:29 -06:00
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
2016-10-28 11:19:05 -06:00
Adam Reese
d2648ec479 fix(helm): add kubernetes defaults to context
fixes: #1467
2016-10-27 13:12:53 -07:00
Adnan Abdulhussein
5ea81b47b1 Merge pull request #1461 from viglesiasce/update-create-templates
Add deployment, service and NOTES to create
2016-10-26 13:08:17 -07:00
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
2016-10-26 11:13:24 -06:00
Vic Iglesias
665615f30f Remove **** from default notes 2016-10-26 09:34:11 -07:00
Vic Iglesias
2b2e1d59c8 Simplify final logic block in create 2016-10-26 09:32:40 -07:00
Vic Iglesias
06d9ccd038 Fix formatting 2016-10-25 17:52:16 -07:00
Vic Iglesias
cd34492b5a Add tests for new files in create 2016-10-25 17:48:49 -07:00