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
8 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
Miguel Ángel Martínez Triviño
81fd9edf4d
Merge pull request #899 from migmartri/897-values-refactorign
...
Support Linter for Values namespace
9 years ago
Adnan Abdulhussein
9b257077d5
Merge pull request #915 from prydonius/fix/912-nil-map-readvalues
...
fix(chartutil): Ensure ReadValues doesn't return a nil map
9 years ago
Adnan Abdulhussein
4ef61a7136
fix(chartutil): Ensure ReadValues doesn't return a nil map
9 years ago
Adnan Abdulhussein
bcd1889083
Merge pull request #907 from prydonius/906-linter-exit-status
...
fix(lint): Return non-zero exit status when lint errors present
9 years ago
Matt Butcher
cd75b6a781
Merge pull request #902 from technosophos/feat/894-template-info-in-templates
...
feat(tiller): add .Template object in templates
9 years ago
Adnan Abdulhussein
09f56459c7
Improve tests to ensure highest severity is retained
9 years ago
Adnan Abdulhussein
77820c7482
fix(lint): Return non-zero exit status when lint errors present
9 years ago
Michelle Noorali
849afc29bc
Merge pull request #908 from michelleN/feat/836-lint-archived-chart
...
feat(lint): lint an archived chart
9 years ago
Michelle Noorali
a64303d0bf
feat(lint): lint an archived chart
...
* part of #836
9 years ago
Miguel Martinez
12aa72f121
Replacing options interface argument
9 years ago
Matt Butcher
532f03ec78
feat(tiller): add .Template object in templates
...
This allows templates to access information about the template file.
Right now, the template can only access the .Template.Name, which is the
chart-relative path to the current template.
Closes #894
9 years ago
Matt Butcher
2c07a32a6b
fix(*): fix various style issues from make test-style
...
Closes #847 .
9 years ago
Miguel Martinez
7bb4893cad
Support Linter for Values
9 years ago
Michelle Noorali
bb875b5657
Merge pull request #896 from michelleN/fix/892-fetch-untar
...
fix(chartutil): fix chartutil.Expand function
9 years ago
Matt Butcher
ab4e20c278
Merge pull request #888 from technosophos/fix/887-no-value-fix
...
fix(tiller): stop printing <no value> when var is missing
9 years ago
Michelle Noorali
bcffe8a3f2
fix(chartutil): fix Expand function
...
This ensures that all necessary directories
get created when expanding a chart in the
chartutil.Expand function. fixes #892
9 years ago
Matt Butcher
2084af2e04
Merge pull request #885 from migmartri/882-linter-improvements
...
Adding squote test case and generic message
9 years ago
Matt Butcher
96ac6ebc6c
fix(tiller): stop printing <no value> when var is missing
...
Instead of printing "no value", this prints an empty string by
default, but adds a Strict flag on the engine, which (if true)
will cause a template render to error out if a value is not supplied.
Strict is set to false so that developers can instead use `default` to
set default values.
9 years ago
Miguel Martinez
d1fe406478
Adding squote test case and generic message
9 years ago
Miguel Martinez
2eff17cb6d
Removing debugging line
9 years ago
Matt Butcher
225d3a8adc
test(engine): add test case for deep release passing
9 years ago
Matt Butcher
e00f774a5d
fix(engine): remove debugging output
9 years ago
Matt Butcher
90c46e896d
fix(chartutil): fix Table() method to test Values
...
This makes the Table() method more flexible than the original version.
It allows either a map[string]interface{} or a chartutil.Values to be
treated as a table.
9 years ago
Matt Butcher
22ac61469f
feat(*): add Values namespace to templates
...
This adds the .Values namespace qualifier to all values
9 years ago
Miguel Martinez
81ac98ad9a
Adding support for associated templates
...
Fixing unit test
9 years ago
Miguel Martinez
03d27779d3
Templates Lint rules
...
Template rules
Adding chart errors
Added function that checks the existence of all the values in the templates
Adding chartfile unit tests
Testing runLinterRule
Fixing out of range
Fixing out of range
Improving quote detector
9 years ago
Adam Reese
69f66629c4
chore(*): bump version to v2.0.0-alpha.2
9 years ago
Matt Butcher
e757b24aed
fix(*): add license header
9 years ago
Adam Reese
68e0032fbd
Merge pull request #863 from adamreese/fix/686-tunnel-error
...
fix(tunnel): display friendly error on connect issues
9 years ago
Adam Reese
d300a08915
fix(tunnel): display friendly error on connect issues
...
Fixes : #686
9 years ago
Matt Butcher
23ce6142f9
fix(chartutil): remove a wayward println
9 years ago
Brian
a6f89d7ac4
Merge pull request #833 from migmartri/689-linter-errors
...
Linter structure changes + extra chartfile rules
9 years ago
Adam Reese
573e5aa7fc
feat(kube): create namespace if it does not exist
9 years ago
Miguel Martinez
c2459c06bf
New Chart linter structure
...
Fixed tests
Adding chart name linter
Add lint error
Moving to blocks
Moving to method
Moved lint rules to functions
Semantic version validation
Linting engine
Adding sources and home validations
Sharing file loading
Sharing file loading
Rolling back readme
Rewriting other linters
Fixing tests
Typo
Using chart.Metadata
Fixing format
Adding UNKNOWN in Engine
Adding tabs
Fixing tabs
9 years ago
Matt Butcher
f30ff915f2
feat(helm): add 'helm get values --all' for all values
...
Add support for displaying computed configuration values. This is
useful for debugging.
9 years ago
Matt Butcher
4a6c1e308b
fix(pkg/chart): remove pkg/chart
...
This is the final step in replacing pkg/chart with pkg/chartutil.
This also removes the last of the TOML code.
9 years ago
Matt Butcher
57a32f1df8
Merge pull request #832 from technosophos/feat/helmignore
...
feat(pkg/ignore): add helmignore library
9 years ago
fibonacci1729
5a1c54298f
ref(pkg/helm): remove pkg/helmx
9 years ago
fibonacci1729
56f519ab38
ref(pkg/helm): move pkg/helmx to pkg/helm & remove feature toggle
9 years ago
fibonacci1729
91c3521b18
ref(pkg/helm): package helm refactor
...
includes:
- (#826 ) removal old pkg/helm
9 years ago
Brian
1b59967d2f
Merge pull request #834 from fibonacci1729/ref/pkg-helm
...
ref(pkg/helm): package helm refactor
9 years ago
fibonacci1729
4cd0059db2
ref(pkg/helm): package helm refactor
...
includes:
- (#828 ) helm client grpc support ported from old pkg/helm
- comment consistencey & style fix
- gofmt pkg/helmx
9 years ago
Matt Butcher
713020359b
feat(pkg/ignore): add helmignore library
...
This adds support for .helmignore files. These files roughly follow
the conventions established for .gitignore files:
https://git-scm.com/docs/gitignore
Closes #748
9 years ago
Matt Butcher
2b2a5788f3
Merge pull request #824 from technosophos/feat/global-vars
...
feat(chartutil): support global variables
9 years ago
Brian
fda8029682
Merge pull request #829 from fibonacci1729/ref/pkg-helm
...
ref(pkg/helm): package helm refactor
9 years ago
fibonacci1729
ea2e8e80fc
ref(pkg/helm): package helm refactor
...
includes:
- (#825 ) comptability interface between
old/pkg/helm and new/pkg/helm
- (#827 ) helm client scaffolding and
rpc / release options
9 years ago
Matt Butcher
768d1fbdeb
Merge pull request #823 from technosophos/fix/822-values.yaml
...
fix(helm): read values.yaml instead of values.toml
9 years ago
Matt Butcher
88622a20da
fix(helm): read values.yaml instead of values.toml
...
Closes #822
9 years ago
Matt Butcher
60f5341b91
feat(chartutil): support global variables
...
This provides support for "global" variables. It does this by
declaring "global" to be a special namespace. It then copies this
namespace into every subchart, coalescing it into any "global"
namespace found there.
The net result is that if "global.foo" is set in the YAML file, it
will be available to every chart/subchart as ".global.foo" regardless of
where that chart is in the subchart tree.
9 years ago
Adam Reese
54f0ffe0cb
Merge pull request #821 from adamreese/fix/speling
...
fix(helm): s/arbitary/arbitrary/
9 years ago
Adam Reese
d013a3df36
fix(helm): s/arbitary/arbitrary/
9 years ago
Matt Butcher
490cef784c
fix(tiller): refactor template render to use chartutil.
9 years ago
Matt Butcher
e8109048a9
fix(chartutil): move values coalescing into chartutil
9 years ago
Adam Reese
d95a144563
fix(chartutil): fix nil error on values
...
Fixes: https://github.com/kubernetes/helm/issues/803
9 years ago
Matt Butcher
5a2174231b
fix(helm): fix repo package to use chartutil
9 years ago
Matt Butcher
377a43385e
fix(*): fixed import paths
9 years ago
Matt Butcher
72be00c6fc
fix(chartutil): update 'fetch' and 'package' to use chartutil.
9 years ago
Matt Butcher
cded50e34f
fix(chartutil): update lint to use chartutil
9 years ago
Matt Butcher
ebd81152dd
fix(helm): update 'helm create' to use YAML.
9 years ago
Matt Butcher
9ca8c27e16
fix(*): change TOML to YAML
9 years ago
Matt Butcher
7aa4ffa4d4
feat(chartutil): switch TOML to YAML
9 years ago
Adam Reese
818c878700
chore(*): use k8s.io as the import path
9 years ago
Matt Butcher
336c650407
Merge pull request #777 from arschles/probes
...
Add HTTP server for liveness and readiness probes
9 years ago
Michelle Noorali
1b060b1f5c
Merge pull request #785 from migmartri/784-malformed
...
Fixed URL parse
9 years ago
Miguel Martinez
a0c1125a39
fix(repo) Malformed URL
9 years ago
Aaron Schlesinger
9e1df63e77
using spaces in the tiller manifest yaml
9 years ago
Matt Butcher
759f754f1b
Merge pull request #790 from technosophos/feat/chartutil-save
...
feat(chartutil): add Save function
9 years ago
Matt Butcher
15a1cb4816
feat(chartutil): add Save function
...
This replicates the previous Save function, which can save an
in-memory Chart proto to a tgz.
9 years ago
Adam Reese
0f5c2951a2
feat(kube): use env variable to control kube logging
...
Removes command line flags and adds the environment variable
`KUBE_LOG_LEVEL`
9 years ago
Matt Butcher
2802fcbd87
feat(chartutil): optimize for re-use
...
This is a refactor of the loader to use in-memory buffers instead of
trying to optimize for memory usage by delaying reads until the last
possible moment. Since charts tend to stay well below 1M in size, this
makes more sense, and is easier to work with.
9 years ago
Matt Butcher
5d040ec181
Merge branch 'master' into feat/chartutil
9 years ago
Aaron Schlesinger
9940222d34
Add probes to the the embedded Tiller manifest
9 years ago
Adam Reese
9295cb5438
Merge pull request #776 from adamreese/feat/version
...
feat(version): statically link version at build time
9 years ago
Matt Butcher
f1b6373f76
Merge pull request #772 from Ladicle/fix-init-command
...
fix(tiller): fix install function
9 years ago
Adam Reese
5670d2db53
feat(version): statically link version at build time
9 years ago
Ladicle
97a9586a1b
fix(tiller): fix install function
...
Because, occur the following error when `createNS` flag is true.
`panic: template: redefinition of template "manifest"`
9 years ago
Matt Butcher
2704e47154
fix(helm): stop requiring a values.toml in a chart
...
Charts should not require a values.toml file -- some charts will just be
manifests with nothing configurable.
9 years ago
Matt Butcher
25053e6ada
feat(pkg/chartutil): add chartutil package
9 years ago
Michelle Noorali
1d4d5ec872
ref(helm): refactor helm unit tests
...
... so we don't rely on external services
in unit tests :)
9 years ago
Matt Butcher
57c9861116
Merge pull request #715 from technosophos/docs/updated-charts
...
docs(chart): updated chart documentation
9 years ago
Adam Reese
a19875adcc
fix(style): cleanup coding style on error returns
9 years ago
Adam Reese
4df22392fc
feat(tunnel): add logic for detecting tiller pod
9 years ago
Adam Reese
792aa1a1aa
feat(kube): create tunnel for client
9 years ago
Matt Butcher
87429c66e9
Merge pull request #755 from technosophos/fix/chart-any
...
fix(proto): let chart take multiple Files.
9 years ago
Matt Butcher
7d2ae9378a
fix(proto): let chart take multiple Files.
9 years ago
Michelle Noorali
b4844383aa
ref(helm): digest -> checksum in index file
9 years ago
Michelle Noorali
447ce5a2dd
ref(helm): fix chart url in index file
9 years ago
Michelle Noorali
7c2682112f
Merge pull request #745 from michelleN/repo-index
...
feat(helm): generate index file in given directory with given url
9 years ago
Matt Butcher
53432c2cef
Merge pull request #736 from technosophos/fix/672-package-output
...
fix(helm): fix output of helm package command
9 years ago
Matt Butcher
423d44d597
Merge pull request #751 from technosophos/fix/helm-list-deleted
...
fix(tiller): stop returning deleted releases for list
9 years ago
Michelle Noorali
0783fee7b7
ref(helm): refactor test index files for search
9 years ago
Michelle Noorali
2234dc8927
feat(helm): handle update case on index function
9 years ago
Michelle Noorali
7bd739c27e
feat(helm): populate Digest & Created in index func
9 years ago
Michelle Noorali
7e2964c549
feat(helm): add chart url to index file entries
9 years ago
Michelle Noorali
4bb36c89ab
feat(helm): generate index file for repository
9 years ago
Matt Butcher
ec9b086ac8
fix(chart): change source to sources in chart file
...
As a carryover from the days when we only allowed one source, the source
field was still labeled 'source' instead of 'sources'. Fixed and updated
all of the tests.
9 years ago
Matt Butcher
1412a88cda
fix(tiller): stop returning deleted releases for list
9 years ago
fibonacci1729
97170b0732
fix(hapi): field for miscellaneous files in a chart archive, e.g. 'README', 'LICENSE'
9 years ago
Matt Butcher
206e7266de
Merge pull request #732 from technosophos/feat/install-release-name
...
feat(helm): allow user to specify release name
9 years ago
Matt Butcher
f483264ea1
fix(helm): fix output of helm package command
9 years ago
Matt Butcher
1a3b563fb9
fix(helm): improve --dry-run for helm delete
9 years ago
Matt Butcher
b1fb7cea7d
feat(helm): allow user to specify release name
...
This makes it possible for the user to specify their own release name
instead of accepting the generated one.
9 years ago
Matt Butcher
b199d8f58b
fix(pkg/helm): skip test that can't run in Circle
...
Right now, some tests need a Tiller instance, and the WIP for that isn't
done yet. So for now, skip this test.
9 years ago
Matt Butcher
5c942226a3
feat(helm): allow overriding values
...
This supports the `-f` flag for overriding values with a specified
TOML file.
9 years ago
Matt Butcher
cca4705350
fix(style): fixed minor style issues
9 years ago
Michelle Noorali
dde6bb37dd
Merge pull request #721 from michelleN/update-fix
...
ref(helm): fix helm update
9 years ago
Michelle Noorali
b2f7a8745d
ref(helm): fix helm update
9 years ago
Matt Butcher
26e003b931
docs(chart): updated chart documentation
...
Also noticed a field was omitted from metadata.proto and the docs.
Added it back, though functionally it is a no-op.
9 years ago
Matt Butcher
e944028787
fix(helm): allow user to skip namespace creation
...
This addresses two issues: #699 and #713 . It is now possible to skip
creating namespaces. In additional, a trivial bug was fixed that allows
you to create a custom namespace.
9 years ago
Matt Butcher
b243a86f1c
Merge pull request #669 from technosophos/feat/better-list
...
feat(helm,tiller): improve list output, support filters
9 years ago
Matt Butcher
a8642c81fc
fix(helm,tiller): change list offset to next result
...
Previously, paging used the last release name of the current set to ask
for more results. Now switched to using the first name of the next set.
Not sure I like this method. It makes the user experience more
complicated.
9 years ago
Matt Butcher
6844d3b493
feat(helm,tiller): add list reverse, string offset
9 years ago
Matt Butcher
dfc9693afe
feat(helm,tiller): add support for list filters
...
This adds support for filtering list results. Filter strings are
passed from Helm to Tiller, where they are compiled as regular
expressions and executed against the list of releases. Only matching
releases are returned.
Filters are applied before limits and sorts.
9 years ago
Matt Butcher
ea6b82a43c
feat(tiller): sort list in tiller, not helm
9 years ago
vaikas-google
932663bd5f
add test for malformed values.toml file
9 years ago
vaikas-google
012b0f7c3e
update the lint_test for correct errors
9 years ago
vaikas-google
7edce9b82b
Validate Chart.yaml version for semver, validate that values.toml parses if present
9 years ago
Matt Butcher
f51170ed35
Merge pull request #693 from technosophos/feat/storage-history
...
feat(tiller): stub in release history
9 years ago
Adam Reese
b9708b2e3b
fix(tiller): use correct port in rc spec
9 years ago
Matt Butcher
938dbf095a
feat(tiller): stub in release history
...
This provides the basics for the release history feature that
ReleaseStorage needs to support. The implementation for Memory storage
is only partial.
9 years ago
Michelle Noorali
0590ca1a71
Merge pull request #685 from michelleN/cache-rename
...
ref(helm): rename cache file to index file
9 years ago
Matt Butcher
3ddacb6b4b
fix(proto): fix style issues and documentation
...
This fixes indentation, documentation, and removes unused protobuf
files.
9 years ago
Matt Butcher
9546b27d23
Merge pull request #677 from technosophos/fix/style-pkg
...
fix(*): correct numerous golint errors
9 years ago
Michelle Noorali
9b732da719
ref(helm): rename cache file to index file
...
* also change additional references to cache to index
* see issue #665
9 years ago
Matt Butcher
75a1aa648e
fix(*): correct numerous golint errors
9 years ago
Matt Butcher
422700363e
feat(pkg): add a timeconv.String function
...
Rather than do the same formatting repeatedly, we can just call a
convenience function to format to a specific format.
9 years ago
Matt Butcher
37cf3eab92
feat(helm): allow user to specify namespace
9 years ago
Matt Butcher
9d78c33b69
feat(tiller): allow specifying namespace on cli
9 years ago
vaikas-google
d50e22c707
Add search support
9 years ago
vaikas-google
9b4d2616c2
Add ability to untar charts after downloading them
9 years ago
Adam Reese
fb8dd39268
Merge pull request #645 from adamreese/feat/kube-delete
...
feat(kube): add delete method
9 years ago
Adam Reese
00ff8acfdc
feat(kube): delete test example
9 years ago
Adam Reese
4a82e7ab4c
feat(kube): add delete method
9 years ago
Matt Butcher
6db7c39b84
feat(helm, tiller): implement k8s portion of install
...
This commit finally ties `helm install` together with the Kubernetes
client library to make an end-to-end trip.
There were several small fixes to go on both client and server side,
along with some changes to proto to support better error reporting.
The alpine chart has been updated to exhibit how the new Helm works.
9 years ago
Matt Butcher
eba4c59a84
Merge pull request #632 from technosophos/feat/helm-list
...
feat(helm, tiller): add release listings
9 years ago
Matt Butcher
e869c36cd2
feat(helm, tiller): implement list
9 years ago
Adam Reese
0b6309be02
ref(kube): refactor kubeclient to a struct
9 years ago
Adam Reese
c44f0b0b01
test(kube): improve kubernetes client test coverage
9 years ago
Matt Butcher
6950fe42dd
feat(helm, tiller): add release listings
...
This adds client and server support for 'helm list'.
9 years ago
Brian
2c71fb9f9b
Merge pull request #627 from fibonacci1729/feat/chart2proto
...
feat(chart2proto): chart to proto transformations for helm grpc client
9 years ago
Brian
c349bfbffd
feat(chart2proto): chart to proto transformations for helm grpc client
9 years ago
Michelle Noorali
ef4da35607
Merge pull request #629 from michelleN/tiller-img
...
chore(*): update tiller image
9 years ago
Michelle Noorali
25aef96c3c
chore(*): update tiller image
9 years ago
Matt Butcher
661e516a61
fix(lint): fix style issues
9 years ago
Adam Reese
03fe44f3da
ref(init): refactor init command to use kube client
9 years ago
Matt Butcher
f098cb6fb6
fix(*): rewrite import paths
9 years ago
Michelle Noorali
0ebeecbdd8
Merge pull request #68 from michelleN/helm-repo
...
feat(helm): add helm repo add command
9 years ago
Adam Reese
08d9b85f99
fix(kube): use a fake client in unit tests
9 years ago
Michelle Noorali
e250328e22
feat(helm): add helm repo add command
9 years ago
Adam Reese
0fbc9229cd
feat(kube): add kubernetes client
9 years ago
Matt Butcher
7e317e82db
Merge pull request #63 from technosophos/feat/helm-lint
...
feat(helm): add a very basic lint command
9 years ago
Matt Butcher
cf9c8ebe3c
feat(helm): add a very basic lint command
...
This adds a lint command that just checks to see if the chart is
parseable and if the templates are paresable.
9 years ago
Matt Butcher
dd2ff4f916
feat(tiller): implement get and status
9 years ago
Matt Butcher
c9b3c36243
feat(helm): implement 'helm remove'
9 years ago
Matt Butcher
a0aac1ad73
Merge pull request #56 from technosophos/fix/memory-storage-mutex
...
fix(storage): add mutex to in-memory
9 years ago
Matt Butcher
67e482c9e3
Merge pull request #57 from technosophos/feat/dry-run-install
...
feat(tiller): add support for dry run install
9 years ago
Matt Butcher
627a0e24e8
fix(storage): add mutex to in-memory
...
This adds a RW Mutex on the in-memory storage.
9 years ago
Matt Butcher
58fdaf1e52
feat(tiller): add support for dry run install
...
This adds support for dry run on install, as well as providing
enough info for an install to display (verbose) manifests. While
doing this, I ended up just storing the rendered manifests for
simplicity.
9 years ago
Matt Butcher
ab906a4f27
Merge pull request #55 from technosophos/feat/recursive-chart
...
feat(engine): add recursive template resolution
9 years ago
Brian
104126d2d2
Merge pull request #53 from fibonacci1729/feat/tiller-client
...
feat(tiller): add initial tiller client for basic helm installs.
9 years ago
Matt Butcher
ba22a18fad
fix(engine): coalesce values in templates
9 years ago
Michelle Noorali
ae720981d3
ref(repo): fix style errors in cmd/helm & pkg/repo
9 years ago
Michelle Noorali
39a9eab114
ref(helm): comment + err cleanup on helm
9 years ago
Michelle Noorali
2e1701be11
helm(search): add search command
9 years ago
Michelle Noorali
7842d2457b
feat(helm): reindex cache file
9 years ago
Michelle Noorali
fbd6ffa4b9
feat(helm): add local dir in home to store charts
9 years ago
Michelle Noorali
00b9356a95
feat(helm): add serve command to start local repo
9 years ago
Brian
7bc50a5d79
feat(tiller): add initial tiller client for basic helm installs.
...
1. install command loads chart archive.
2. invokes helm api to transform the pkg/chart.Chart type
to it's proto model.
3. the client then establishes a connection to tiller.
4. sends InstallReleaseRequest, receives InstallReleaseResponse.
todo (for complete install):
- walk pkg/chart.{Values,Deps,Templates} types and populate proto
definitions for various apis/messages.
9 years ago
Matt Butcher
07312c68e9
fix(engine): support chart template recursion
9 years ago
Matt Butcher
6077968341
feat(engine): add recursive template resolution
9 years ago
Matt Butcher
b708bde729
fix(*): remove unusted packages
9 years ago
Matt Butcher
c4b2926ce6
fix(*): fix misc style issues
9 years ago
Matt Butcher
dcfd1a4284
fix(storage): use new HAPI for storage
9 years ago
Matt Butcher
50f4349512
feat(tiller): add template and release to install
9 years ago
Matt Butcher
d3cff27bf9
Merge pull request #26 from technosophos/feat/helm-install
...
feat(tiller): add release server stub
9 years ago
Matt Butcher
d3830753b4
Merge pull request #25 from technosophos/feat/toml-parser
...
feat(chart): add values parser
9 years ago
Matt Butcher
0b9683e193
feat(tiller): add release server stub
9 years ago
Matt Butcher
1dd6c01f5d
fix(helm): improve create help
9 years ago
Matt Butcher
a97bf8b7c0
feat(helm): implement 'helm create'
9 years ago
Brian Hardock
a3066bb0c0
feat(hapi-pb):
...
1. remove preliminary hapi protocol buffer definitions
2. modify hapi Makefile
3. update hapi protobuf model in _proto/hapi/{chart,release,services}
4. generate protobuf src to pkg/proto/hapi/{chart,release,services}
9 years ago
Matt Butcher
619e1e2a0a
feat(chart): add values parser
...
This adds code to parse TOML files into Values maps. These can then
easily be passed into the template engine.
Included in this is support for TOML "tables", subsections of TOML
files. We will be using those to pass config data to dependent charts.
9 years ago
Matt Butcher
0ad4803aa3
fix(storage): Use a CRUD interface
...
Fixes #23
9 years ago
Matt Butcher
5514252801
Merge pull request #11 from technosophos/feat/chart-pkg
...
feat(chart): add chart package
9 years ago
Matt Butcher
ffa38d168d
Merge pull request #14 from technosophos/feat/release-storage
...
feat(storage): add basic implementation of storage
9 years ago
Michelle Noorali
72acb82e50
feat(init): add tiller installer logic
9 years ago
Matt Butcher
47991c9c7c
fix(chart): update chart testdata for newer format
9 years ago
Matt Butcher
5b78c77f3f
feat(chart): add chart package
...
This is the chart package from k8s/helm, modified for usage here.
9 years ago
Matt Butcher
fa6a33c349
feat(storage): add basic implementation of storage
...
This is an in-memory storage layer for storing releases. This will be
superseded by the Kubernetes ConfigMap implementtion.
9 years ago
Matt Butcher
b04a1cc7d4
fix(tiller): set up Tiller environment correctly
...
And structure the tests better.
9 years ago
Matt Butcher
913905a54f
fix(tiller): change environment.Engine signature
9 years ago
Matt Butcher
fa387494fb
feat(engine): add template engine
9 years ago
Matt Butcher
7a0413344e
feat(tiller): stub out environment
9 years ago
Matt Butcher
0868355d3e
feat(cmd): add grpc client and server
...
So far, they just have basic readiness checks.
9 years ago