Matthew Fisher
0227ade173
Merge pull request #6363 from jlegrone/refactor-test-command
...
Remove run test subcommand and --cleanup flag, print test status
2019-10-10 15:24:14 -07:00
Aaron Mell
8b8ffcdb21
Moved config and configOnce to struct
...
Signed-off-by: Aaron Mell <amell@lumindigital.com>
2019-10-10 16:51:59 -05:00
Jacob LeGrone
0645b92c1b
Print test status
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
2019-10-10 17:50:26 -04:00
Jacob LeGrone
6f18519957
Remove test --cleanup flag
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
2019-10-10 15:11:53 -04:00
Aaron Mell
00249a3235
Moved namespace and kubeconfig variable back to original place.
...
Signed-off-by: Aaron Mell <amell@lumindigital.com>
2019-10-10 14:01:28 -05:00
Aaron Mell
1d66a676c8
Moved the GetNamespace and KubeConfig function from action to cli
...
Signed-off-by: Aaron Mell <amell@lumindigital.com>
2019-10-10 13:35:46 -05:00
Aaron Mell
3264b75378
Refactoring after rebasing with latest
...
Signed-off-by: Aaron Mell <amell@lumindigital.com>
2019-10-10 13:35:23 -05:00
Aaron Mell
01d7657c1e
Another Code review change
...
Signed-off-by: Aaron Mell <amell@lumindigital.com>
2019-10-10 13:34:25 -05:00
Aaron Mell
851e016e90
Reverted previous commit, changes based on code review feedback.
...
Signed-off-by: Aaron Mell <amell@lumindigital.com>
2019-10-10 13:34:25 -05:00
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>
2019-10-10 13:34:24 -05:00
Matthew Fisher
0141f9c806
Merge pull request #6628 from VilledeMontreal/fix/impossibleCond
...
Remove impossible condition reported by linter
2019-10-10 10:58:59 -07:00
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>
2019-10-10 16:37:54 +01:00
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>
2019-10-10 12:41:55 +01:00
Marc Khouzam
adbc39beb5
Remove impossible condition reported by linter
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
2019-10-09 23:18:03 -04:00
Taylor Thomas
6cfd47784b
Merge pull request #6625 from Dean-Coakley/get-output-cmd
...
fix(cmd): Add --output option to get values
2019-10-09 16:39:11 -06:00
Dean Coakley
3c899d0bde
Add get values table output headers
...
Signed-off-by: Dean Coakley <dean.s.coakley@gmail.com>
2019-10-09 23:08:22 +01:00
Dean Coakley
66268d9eee
fix(cmd): Add --output option to get values
...
Signed-off-by: Dean Coakley <dean.s.coakley@gmail.com>
2019-10-09 23:08:12 +01:00
Adam Reese
1e20ebae35
fix(pkg/kube): validate with OpenAPI on install
...
Signed-off-by: Adam Reese <adam@reese.io>
2019-10-09 14:25:47 -07:00
Adam Reese
442c3588e4
Merge pull request #6599 from adamreese/feat/validation
...
feat(pkg/kube): add openapi validation for k8s objects
2019-10-09 09:23:52 -07:00
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>
2019-10-09 16:35:55 +01:00
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>
2019-10-08 12:55:19 -07:00
Matthew Fisher
7ffc879f13
Merge pull request #6607 from thomastaylor312/fix/missing_path_validation
...
fix(chart): Ports security fix for invalid paths in tarballs
2019-10-08 10:04:32 -07:00
Taylor Thomas
62ed7b3764
Merge pull request #6594 from thomastaylor312/feat/template_api_versions
...
feat(template): Ports api-versions flag to v3
2019-10-08 10:18:07 -06:00
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>
2019-10-08 10:13:43 -06:00
Taylor Thomas
b9d504dd67
Merge pull request #6596 from thomastaylor312/feat/get_repo_file
...
feat(repo): Ports repo file `Get` method from v2
2019-10-08 10:03:33 -06:00
wxdao
c00890cae1
Fix Save misbehavior on nonexistent directory ( #6360 )
...
Signed-off-by: wxdao <waxiadao@gmail.com>
2019-10-08 14:23:14 +01:00
Taylor Thomas
cc45056383
Merge pull request #6598 from thomastaylor312/feat/tarball_perms
...
feat(plugin): Ports file mode preservation for tarballs from v3
2019-10-07 16:30:41 -06:00
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>
2019-10-07 15:36:41 -06:00
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>
2019-10-07 14:59:01 -06:00
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>
2019-10-07 14:18:33 -06:00
Taylor Thomas
0210d43a66
Merge pull request #6550 from thomastaylor312/fix/missing_debug
...
fix(cmd): Fix all the outputs
2019-10-07 14:03:11 -06:00
Taylor Thomas
59d3488d1c
feat(template): Ports api-versions flag to v3
...
This is a port of #5392 . It also takes care of the small chore to update the default k8s
version to 1.16, which is the latest supported version
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
2019-10-07 13:30:06 -06:00
Taylor Thomas
3d64c6bb54
ref(cmd): Implement flag parsing for output format
...
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
2019-10-07 12:58:36 -06:00
Taylor Thomas
768d27b387
ref(*): Refactors output into its own package
...
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
2019-10-07 10:09:28 -06:00
Martin Hickey
335d27a976
Fix ingress API group in scaffold chart ( #6591 )
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2019-10-07 15:46:02 +01:00
Matthew Fisher
0ae0f0742d
fix(action): fix import statement
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-10-05 11:51:10 -07:00
Matthew Fisher
02999565a4
Merge pull request #6556 from karuppiah7890/conditional-dependencies-not-working-v3
...
fix(pkg/action): fix conditional dependencies not working with reuse values
2019-10-05 11:00:28 -07:00
Matthew Fisher
c1e63a2a17
Merge pull request #6536 from karuppiah7890/fix-lint-for-no-package-found
...
fix silent lint ignore for non existing packaged charts
2019-10-05 10:57:26 -07:00
Matthew Fisher
29765f4afe
Merge pull request #6490 from bacongobbler/port-create-enhancements
...
fix(chartutil): port over enhancements to `helm create` from Helm 2
2019-10-05 10:23:01 -07:00
Taylor Thomas
07c950fc41
Merge pull request #6571 from cgetzen/cg/dev-v3/kube_create_goroutine
...
v3: Performance: Batch kube API operations
2019-10-04 10:10:07 -06:00
Karuppiah Natarajan
bb9426c4e2
fix(pkg/lint): fix lint silently ignoring non existing packaged charts
...
Closes #6428
Signed-off-by: Karuppiah Natarajan <karuppiah7890@gmail.com>
2019-10-04 21:28:16 +05:30
Charlie Getzen
d2cafdc063
modify resources to match helm3
...
Signed-off-by: Charlie Getzen <charlie.getzen@procore.com>
2019-10-04 00:28:51 -07:00
Charlie Getzen
ce4ca05d0a
use WaitGroup instead of channels and counters
...
Signed-off-by: Charlie Getzen <charlie.getzen@procore.com>
2019-10-04 00:22:51 -07:00
Taylor Thomas
3799d0024c
fix(cmd): Fix all the outputs
...
There were two different methods and varying ways to output the status of a release.
This standardizes all of the outputs, but requires a breaking change. Output will
not perfectly match previous v3 output, and we had to break the printing function
in the `action` package, but now things are much more standardized.
Fixes #6238
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
2019-10-03 17:03:19 -06:00
Matthew Fisher
9510713d21
fix(chartutil): port over enhancements to helm create from Helm 2
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-10-03 12:34:58 -07:00
Matt Farina
9bc7934f35
Updating the module for v3 as the major version
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
2019-10-03 14:27:05 -04:00
Matt Farina
967f4fed42
Update dependencies
...
* Kubernetes updated to 1.16.1
* SemVer and Sprig updated to latest releases that leverage go
modules
* Tests and checks updated. These already landed in v2 via PR 6457
Signed-off-by: Matt Farina <matt@mattfarina.com>
2019-10-03 13:49:07 -04:00
Charlie Getzen
25bbd88639
Add check on empty list
...
Signed-off-by: Charlie Getzen <charlie.getzen@procore.com>
2019-10-03 10:48:56 -07:00
Charlie Getzen
4c39d2b63f
batch perform function by resource kind (Deployment, Pod, etc)
...
Signed-off-by: Charlie Getzen <charlie.getzen@procore.com>
2019-10-03 10:48:56 -07:00
Charlie Getzen
f7a05ba018
Use a goroutine when interacting with kube api
...
Signed-off-by: Charlie Getzen <charlie.getzen@procore.com>
2019-10-03 10:48:56 -07:00