Commit graph

4798 commits

Author SHA1 Message Date
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
Rimas Mocevicius
648fa876ad Remove Tiller reference from --install (#6604)
Signed-off-by: rimas <rmocius@gmail.com>
2019-10-08 13:52:57 +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
5e2071caef
Merge pull request #6597 from thomastaylor312/feat/ingress_wait
feat(wait): Ports ingress wait to v3
2019-10-07 15:39:15 -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
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
Efrat Levitan
98a33fb683 helm repo subcommands aliases (#6589)
* helm repo subcommands aliases

Signed-off-by: Efrat19 <efrat890089@gmail.com>

* lint

Signed-off-by: Efrat19 <efrat890089@gmail.com>
2019-10-07 09:57:20 +01:00
Matthew Fisher
f35881d299
Merge pull request #6588 from Efrat19/feature/6558
helm plugin subcommands aliases - helm3
2019-10-06 14:23:37 -07:00
Efrat19
f9175ea5d5 run golint
Signed-off-by: Efrat19 <efrat890089@gmail.com>
2019-10-06 21:58:31 +03:00
Efrat19
2cbbc018e7 remove trailing whitespace
Signed-off-by: Efrat19 <efrat890089@gmail.com>
2019-10-06 21:56:27 +03:00
Efrat19
58043d8657 helm plugin subcommands aliases
Signed-off-by: Efrat19 <efrat890089@gmail.com>
2019-10-06 21:51:12 +03:00
Matthew Fisher
9de0bd6994
Merge pull request #6584 from bacongobbler/fixup-package-import
fix(action): fix import statement
2019-10-05 13:37:53 -07: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
f8ab189515
Merge pull request #6582 from jonasrutishauser/fix/hooks_output
Use same output format for hooks as for manifest
2019-10-04 17:13:34 -06:00
Jonas Rutishauser
9ea75a9f59
Use same output format for hooks as for manifest
Signed-off-by: Jonas Rutishauser <jonas.rutishauser@alumni.ethz.ch>
2019-10-04 19:25:26 +02:00
Martin Hickey
2d5faff6a1
Create file locking directory if it does not exist (#6555)
* Create file locking directory if it does not exist

As Helm v3 uses lazy creation for configuration then
directories and files are not created until required.
File locking when doing repo add was introduced in
v2 and ported to v3 in #6492. It locks on the config
directory where the repo file resides and therefore
needs the directory to be created if it doesn't exist.
This fix adds the directory if need be,

Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>

* Add unit test

Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2019-10-04 17:28:02 +01: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
Matt Farina
410ec5319f
Merge pull request #6579 from cagataygurturk/fix-makefile
Fixed Makefile with the new package name
2019-10-03 18:51:32 -04:00
Cagatay Gurturk
5fa57aa905 Add v3 to missing line
Signed-off-by: Cagatay Gurturk <info@cagataygurturk.com>
2019-10-04 00:28:24 +02:00
Cagatay Gurturk
7066ac2f58 Fixed Makefile with the new package name
Signed-off-by: Cagatay Gurturk <info@cagataygurturk.com>
2019-10-04 00:25:04 +02:00
Matthew Fisher
223c859867
fix(create): convert tabs to spaces on help output
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-10-03 12:36:13 -07: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
ea0f59d69f
Merge pull request #6576 from mattfarina/fix-go-modules
Fixing the ability to build v3
2019-10-03 15:25:50 -04:00
Matt Farina
0c551a02c0
Merge pull request #6574 from mattfarina/cruft-cleanup
Removing some duplicate go module stuff not needed
2019-10-03 15:08:51 -04:00
Matt Farina
cc51efda47
Fixing the ability to build v3
Signed-off-by: Matt Farina <matt@mattfarina.com>
2019-10-03 15:00:42 -04:00
Matt Farina
a1a8825cdc
Removing some duplicate go module stuff not needed
Signed-off-by: Matt Farina <matt@mattfarina.com>
2019-10-03 14:51:37 -04:00
Matt Farina
6f0235f659
Merge pull request #5498 from mattfarina/go-mod
Migrating dependency management to go modules
2019-10-03 14:44:32 -04: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
Matt Farina
f18c078618
Reducing the circleci footprint
* Removed the parallelism as it was running the same tests 3 times
* Removed caching as the time to cache/restore is about the same
  as without caching

Signed-off-by: Matt Farina <matt@mattfarina.com>
2019-10-03 13:48:51 -04:00
Taylor Thomas
e247d30503
Merge pull request #6563 from VilledeMontreal/fix/historyOutputFlag
v3: fix(cmd) have history use global output flag
2019-10-03 10:45:02 -06:00
Matt Farina
e3137d106a
Migrating dependency management to go modules
Signed-off-by: Matt Farina <matt@mattfarina.com>
2019-10-03 12:04:14 -04:00
Marc Khouzam
cb86db7ff5 fix(cmd) have history use global output flag
Also, it seems that for helm v3, the description of flags all start
with a lowercase, so this commit also does that for the output flag.

Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
2019-10-02 21:55:13 -04:00
Matthew Fisher
5c592dcca6
Merge pull request #6541 from BhaveshSethi/feature/add-version-to-helm-list
Feature/add version to helm list
2019-10-02 14:13:28 -07:00