Martin Hickey
1cc2ad0061
Port #5298 to Helm v3 ( #6613 )
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
6 years ago
Matthew Fisher
9e9f317cbf
Merge pull request #6608 from bacongobbler/refactor-switch-statement
...
ref(wait): consolidate switch cases
6 years ago
Martin Hickey
dd1a440026
Add support to scaffold chart for ingress prior to k8s 1.14 ( #6651 )
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
6 years ago
John Howard
7a22cb88d9
Drop dependency on k8s.io/kubernetes ( #6609 )
...
* Drop dependency on k8s.io/kubernetes
https://github.com/helm/helm/issues/6606
Depending on k8s.io/kubernetes is not recommended by Kubernetes, and
forces dependencies of Helm to also depend on them. We are only using
this dependency in one relatively isolated occurance, which can be
easily copied over rather than depending on the entire Kubernetes.
Copying this code is not very desirable, so if we don't want to have
this duplication we can at least use this PR as a PoC and see if we can
get Kubernetes to publish the controller package as a separate Go module
(see
https://github.com/kubernetes/kubernetes/issues/79384#issuecomment-538740756 )
Signed-off-by: John Howard <howardjohn@google.com>
* Move to internal
Signed-off-by: John Howard <howardjohn@google.com>
* Exclude third_party from validate-license.sh
Signed-off-by: John Howard <howardjohn@google.com>
6 years ago
Martin Hickey
f12be4c4b6
Port #4078 to Helm v3 ( #6619 )
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
6 years ago
Matthew Fisher
0227ade173
Merge pull request #6363 from jlegrone/refactor-test-command
...
Remove run test subcommand and --cleanup flag, print test status
6 years ago
Matthew Fisher
d618e327ae
Merge pull request #6341 from aaronmell/Action_Init
...
Moving initActionConfig to pkg
6 years ago
Aaron Mell
8b8ffcdb21
Moved config and configOnce to struct
...
Signed-off-by: Aaron Mell <amell@lumindigital.com>
6 years ago
Jacob LeGrone
0645b92c1b
Print test status
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
6 years ago
Jacob LeGrone
6f18519957
Remove test --cleanup flag
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
6 years ago
Jacob LeGrone
a6f4bc1bc0
Remove "run" test subcommand
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
6 years ago
Aaron Mell
00249a3235
Moved namespace and kubeconfig variable back to original place.
...
Signed-off-by: Aaron Mell <amell@lumindigital.com>
6 years ago
Aaron Mell
1d66a676c8
Moved the GetNamespace and KubeConfig function from action to cli
...
Signed-off-by: Aaron Mell <amell@lumindigital.com>
6 years ago
Aaron Mell
3264b75378
Refactoring after rebasing with latest
...
Signed-off-by: Aaron Mell <amell@lumindigital.com>
6 years ago
Aaron Mell
01d7657c1e
Another Code review change
...
Signed-off-by: Aaron Mell <amell@lumindigital.com>
6 years ago
Aaron Mell
851e016e90
Reverted previous commit, changes based on code review feedback.
...
Signed-off-by: Aaron Mell <amell@lumindigital.com>
6 years ago
Aaron Mell
1ca2ab1d8d
Moving actionInit from cmd/helm/helm to pgk/action/action to make it easier to instantiate the configuration
...
Signed-off-by: Aaron Mell <amell@lumindigital.com>
6 years ago
Matthew Fisher
0141f9c806
Merge pull request #6628 from VilledeMontreal/fix/impossibleCond
...
Remove impossible condition reported by linter
6 years ago
Adam Reese
2cc58560c1
Merge pull request #6627 from adamreese/fix/go-mod-tidy
...
fix(go.mod): run go mod tidy
6 years ago
KUOKA Yusuke
4c351c7248
fix(v3): fix type error while merging map loaded with `fromYaml` template func ( #6630 )
...
Fixes #6626
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
6 years ago
Dmitry Tokarev
1da0d011f9
Added NetworkPolicy, PodDisruptionBudget, and PodSecurityPolicy to InstallOrder. ( #6624 )
...
Port #6266 #4769 #3899 to Helm 3.
Signed-off-by: Dmitry Tokarev <dm.tokarev@yahoo.com>
6 years ago
Marc Khouzam
e2d5ec8397
feat(comp): Dynamic completion for --output flag ( #6580 )
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
6 years ago
Marc Khouzam
adbc39beb5
Remove impossible condition reported by linter
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
6 years ago
Adam Reese
ec870d0a3d
fix(go.mod): run go mod tidy
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Taylor Thomas
6cfd47784b
Merge pull request #6625 from Dean-Coakley/get-output-cmd
...
fix(cmd): Add --output option to get values
6 years ago
Dean Coakley
c7a3974d3b
Add get values yaml output test case
...
Signed-off-by: Dean Coakley <dean.s.coakley@gmail.com>
6 years ago
Dean Coakley
a831747dde
Refactor get values table header writer
...
Signed-off-by: Dean Coakley <dean.s.coakley@gmail.com>
6 years ago
Dean Coakley
df64ad1e10
Add get values --all test case
...
Signed-off-by: Dean Coakley <dean.s.coakley@gmail.com>
6 years ago
Dean Coakley
3c899d0bde
Add get values table output headers
...
Signed-off-by: Dean Coakley <dean.s.coakley@gmail.com>
6 years ago
Dean Coakley
66268d9eee
fix(cmd): Add --output option to get values
...
Signed-off-by: Dean Coakley <dean.s.coakley@gmail.com>
6 years ago
Adam Reese
c3ac13a1f2
Merge pull request #6622 from adamreese/fix/validate
...
fix(pkg/kube): validate with OpenAPI on install
6 years ago
Adam Reese
1e20ebae35
fix(pkg/kube): validate with OpenAPI on install
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
442c3588e4
Merge pull request #6599 from adamreese/feat/validation
...
feat(pkg/kube): add openapi validation for k8s objects
6 years ago
Martin Hickey
f2aa97e313
fix(helm): Port accept dependency in requirements.yaml from charts directory ( #6611 )
...
* Port #6578 to Helm 3
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
* Update after reviw
Review comments:
- https://github.com/helm/helm/pull/6611#discussion_r332745703
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
6 years ago
Adam Reese
572b92dc8a
feat(pkg/kube): add openapi validation for k8s objects
...
Add back OpenAPI validation for kubernetes objects.
Fixes : #6382
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Matthew Fisher
f55a64240f
ref(wait): remove versioned type, use unversioned instead
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
fengxsong
a4dd603f78
Refactor switch statement in pkg/kube/wait.go
...
Signed-off-by: fengxusong <fengxsong@outlook.com>
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
fengxsong
cf728f4076
fix wait.go
...
use *resource.Info.Namespace/Name because runtime.Object is a Interface
Signed-off-by: fengxusong <fengxsong@outlook.com>
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
fengxusong
3b280ab038
Refactor switch statement in pkg/kube/wait.go
...
Signed-off-by: fengxusong <fengxsong@outlook.com>
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Matthew Fisher
7ffc879f13
Merge pull request #6607 from thomastaylor312/fix/missing_path_validation
...
fix(chart): Ports security fix for invalid paths in tarballs
6 years ago
Taylor Thomas
62ed7b3764
Merge pull request #6594 from thomastaylor312/feat/template_api_versions
...
feat(template): Ports api-versions flag to v3
6 years ago
Taylor Thomas
3637996dcd
fix(chart): Ports security fix for invalid paths in tarballs
...
This is a port of #5165 and the small refactor in #5610 . This is the issue
where carefully crafted paths can reach outside of the intended chart directory
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
6 years ago
Taylor Thomas
b9d504dd67
Merge pull request #6596 from thomastaylor312/feat/get_repo_file
...
feat(repo): Ports repo file `Get` method from v2
6 years ago
wxdao
c00890cae1
Fix Save misbehavior on nonexistent directory ( #6360 )
...
Signed-off-by: wxdao <waxiadao@gmail.com>
6 years ago
Rimas Mocevicius
648fa876ad
Remove Tiller reference from --install ( #6604 )
...
Signed-off-by: rimas <rmocius@gmail.com>
6 years ago
Taylor Thomas
cc45056383
Merge pull request #6598 from thomastaylor312/feat/tarball_perms
...
feat(plugin): Ports file mode preservation for tarballs from v3
6 years ago
Taylor Thomas
5e2071caef
Merge pull request #6597 from thomastaylor312/feat/ingress_wait
...
feat(wait): Ports ingress wait to v3
6 years ago
Taylor Thomas
fca14bcb76
feat(plugin): Ports file mode preservation for tarballs from v3
...
This is a port of #5428 and readds a unit test for the `Extract` method
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
6 years ago
Taylor Thomas
63c994343b
feat(wait): Ports ingress wait to v3
...
This is a port of #5264 with extra support for the networking/v1beta1 API
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
6 years ago
Taylor Thomas
854919fae8
feat(repo): Ports repo file `Get` method from v2
...
This is a port of #3478 with some slight refactors to make it a bit more friendly.
It is technically a breaking change as it is changing the method signature from v2
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
6 years ago