Yagnesh Mistry
7786caa6b0
Move fs to third_party/dep and include full bsd license text
...
Signed-off-by: Yagnesh Mistry <ysh@live.in>
5 years ago
Brice Rising
394ba588b9
Fix url for bsd license
...
Signed-off-by: Brice Rising <brice.rising@slalom.com>
5 years ago
Brice Rising
16852f04d9
Fix linting issues
...
Signed-off-by: Brice Rising <brice.rising@slalom.com>
5 years ago
Brice Rising
45d723359e
Switch BSD license in fsutil package to dep project license
...
Signed-off-by: Brice Rising <brice.rising@slalom.com>
5 years ago
Brice Rising
5ab89c9794
Copy approach done in another project for using bsd license
...
I found another package that took code from a BSD licensed open source project. I copied their approach for reusing that license.
Signed-off-by: Brice Rising <brice.rising@slalom.com>
5 years ago
Brice Rising
55ea698784
Add Apache License line to fsutil
...
This is probably not the correct apporach to using bsd licensed code under an apache license.
Signed-off-by: Brice Rising <brice.rising@slalom.com>
5 years ago
Brice Rising
3d78e6a1b2
Run gofmt -s -w using official golang docker image
...
For some reason, gofmt -s -w produced a different result than running gofmt on my host os
Signed-off-by: Brice Rising <brice.rising@slalom.com>
5 years ago
Brice Rising
c292ba5c8f
Run gofmt -s on fs_test
...
Neeted to run formatting on fs_test.go
Signed-off-by: Brice Rising <brice.rising@slalom.com>
5 years ago
Brice Rising
aacffe5fb2
Remove dead code
...
Unused var was in fs.go. Removed it.
Signed-off-by: Brice Rising <brice.rising@slalom.com>
5 years ago
Brice Rising
3d15ec7125
Fix style issues
...
Our style settings don't like underscores in variable names, so I switched to camel case. Also, err was unused in some places, so I made an error a fail condition for some test.
Signed-off-by: Brice Rising <brice.rising@slalom.com>
5 years ago
Brice Rising
3469c9a17c
Skip inaccessible file tests for root
...
Root can access all files, so the tests for inaccessible files were failing. Now we will skip these tests when running as root.
Signed-off-by: Brice Rising <brice.rising@slalom.com>
5 years ago
Brice Rising
60bd2a56fd
Remove dep/internal/test dependency
...
Recreated the features of the test package in dep that were necessary to run the tests in the fs package.
Signed-off-by: Brice Rising <brice.rising@slalom.com>
5 years ago
Brice Rising
51dbd7c1a6
Removed unused methods from fs package
...
The fs package tests are going to be a lot of work to get working without the internal test package used by golang/dep, so I removed all of the unused ones by this project to make the work easier.
Signed-off-by: Brice Rising <brice.rising@slalom.com>
5 years ago
Brice Rising
94d87ef95d
Fix rename for helm dep upgrade
...
helm dependency upgrade wasn't working on certain file system because it assumes that os.rename is available. Since rename isn't available for subfolders in docker containers, I ripped a fallback rename strategy from dep (5b1fe9e6d8/internal/fs/fs.go (L103-L118)
) that works in docker.
Signed-off-by: Brice Rising <brice.rising@slalom.com>
5 years ago
Matthew Fisher
33bb88851d
fix(kube): fix race condition
...
.Get() calls perform() on a list of infos, populating two shared maps. perform() now concurrently calls the ResourceActorFunc concurrently based on GVK, causing a data race condition in .Get()
This fixes that condition by locking the function to ensure these functions run serially for Helm 2 to fix the data race condition. This has since been optimized in Helm 3 so it's no longer an issue.
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
7afbddfba2
bump version to v2.15
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
14841258e0
Merge pull request #6590 from hickeyma/refactor-chart-create
...
Update Ingress API group in scaffold chart
5 years ago
Matthew Fisher
024f168bdf
Merge pull request #6612 from bacongobbler/rebase-6167
...
feat(test): add `--logs` to `helm test`
5 years ago
Matthew Fisher
9b9dcebea8
fix(kube): watch events from a matching pod
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Guangming Wang
ecf9afbe06
fix file mode,it should be octal expressed
...
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
5 years ago
Martin Hickey
146f4315d3
Update Ingress API group in scaffold chart
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
5 years ago
Karuppiah Natarajan
519ccac294
fix repo url being decoded while downloading repo index ( #6060 )
...
Signed-off-by: Karuppiah Natarajan <karuppiah7890@gmail.com>
5 years ago
Matthew Fisher
ca7a719c96
rebase from master, regenerate proto files
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Jeff Knurek
ef5d4e652c
change GetPodLogs to return io.Reader instead of string
...
well, more specifically returns an io.ReadCloser (giving the consumer more capabilities)
Signed-off-by: Jeff Knurek <j.knurek@travelaudience.com>
5 years ago
Jeff Knurek
7f2e0c535c
return error is client not set
...
Signed-off-by: Jeff Knurek <j.knurek@travelaudience.com>
5 years ago
Jeff Knurek
a2e8b188c2
TEST: add some rudimentary test code for helm test logs
...
Signed-off-by: Jeff Knurek <j.knurek@travelaudience.com>
5 years ago
Jeff Knurek
6529abe85f
TEST: cleanup code
...
Signed-off-by: Jeff Knurek <j.knurek@travelaudience.com>
5 years ago
Jeff Knurek
b94608388e
TEST: add option to dump logs during helm test
...
Signed-off-by: Jeff Knurek <j.knurek@travelaudience.com>
5 years ago
Matthew Fisher
fb2cbb0019
Merge pull request #6578 from bacongobbler/fix-3442
...
fix(helm): Accept dependency in requirements.yaml from charts directory
5 years ago
Matthew Fisher
74653d3794
fix: return more information to the user
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
a31d4ad43e
fix: use nonexistent rather than inexistent
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Taylor Thomas
4e8063b103
Merge pull request #5177 from adshmh/5150-lint-development-version-flag
...
Allow lint command to parse pre-release charts
5 years ago
Taylor Thomas
730e8f3e27
Merge pull request #5392 from bnookala/add-template-api-versioning
...
Allow customization of API Versions when using Helm Template
5 years ago
Matthew Fisher
b6afc6bf46
Merge pull request #4985 from bkeroackdsc/client-accept-contexts
...
Helm client: add methods that accept contexts
5 years ago
Benjamen Keroack
545e2213be
helm client: add methods that accept contexts so callers can cancel long-running operations
...
Signed-off-by: Benjamen Keroack <benjamen@dollarshaveclub.com>
5 years ago
Bhargav Nookala
300aa76d8d
Allow customization of API Versions when using Helm Template with --api-versions or -a
...
Signed-off-by: Bhargav Nookala <nooknb@gmail.com>
5 years ago
Taylor Thomas
5437dd4d05
Merge pull request #5611 from cgetzen/cg/kube_create_goroutine
...
Performance: Batch kube API operations
5 years ago
Ting-Wai
ed8f17a889
Parameterize maximum number of tests pods to run in parallel ( #6078 )
...
Signed-off-by: Ting-Wai To <tingwai@bitgo.com>
5 years ago
Charlie Getzen
6b2f408f8e
Merge branch 'master' of https://github.com/kubernetes/helm into cg/kube_create_goroutine
5 years ago
Sebastien Plisson
99b8a0d0d7
Removed test requiring repository field to allow local chart dependency
...
Signed-off-by: Sebastien Plisson <sebastien.plisson@gmail.com>
5 years ago
Sebastien Plisson
e8ab69ccc6
missing test file
...
Signed-off-by: Sebastien Plisson <sebastien.plisson@gmail.com>
5 years ago
Sebastien Plisson
8537bb5c42
Added test cases for chart present under charts folder
...
Signed-off-by: Sebastien Plisson <sebastien.plisson@gmail.com>
5 years ago
Sebastien Plisson
21edd808b6
#3321 Accept dependency in requirements.yaml from charts directory.
...
Signed-off-by: Sebastien Plisson <sebastien.plisson@gmail.com>
5 years ago
Matthew Fisher
cf30db50f5
Merge pull request #5298 from jordansissel/issue/5296/error-hinting
...
Extra hint in the error when failing to open a chart file.
5 years ago
Matthew Fisher
51f5ae9873
Merge pull request #6577 from bacongobbler/fixup-6334
...
upgrade Go to 1.13.1
5 years ago
Matthew Fisher
caff38ffa1
fix(generator): fixup package comment linting error
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
d8d56fe111
Merge pull request #5610 from adshmh/feat-5552-fix-root-folder-files-error
...
improve error message for content outside base dir
5 years ago
Charlie Getzen
02ccb33bdc
use WaitGroup instead of channels and counters
...
Signed-off-by: Charlie Getzen <charlie.getzen@procore.com>
5 years ago
Matthew Fisher
7fd770ca1b
Merge pull request #6274 from kensipe/env-test-fix
...
fixes resetting os env after test run
5 years ago
Matthew Fisher
59ea688813
Merge pull request #5428 from walkafwalka/fix/plugin-tar-extract-perms
...
Preserve file permissions from tarball during plugin install
5 years ago