Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding helm 3 support and refactoring a bit #2

Merged
merged 13 commits into from
Mar 26, 2020

Conversation

lucasreed
Copy link
Contributor

  • put all common use into the api package
  • added parseOutput function
  • helm 3 support (no tests yet)
  • helm 2 is not supported yet and will be a challenge

- put all common use into the api package
- added parseOutput function
- helm 3 support (no tests yet)
- helm 2 is not supported yet and will be a challenge
@lucasreed lucasreed requested a review from sudermanjr as a code owner March 26, 2020 16:46
cmd/root.go Outdated Show resolved Hide resolved
Copy link
Member

@sudermanjr sudermanjr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

lots of nit-picky stuff from me since that's all I could find :-D

There's some golangci-lint stuff too. We should probably add that to the CI at some point

cmd/root.go:135:6: ineffectual assignment to `err` (ineffassign)
                _, err = fmt.Fprintln(w, "KIND\t VERSION\t DEPRECATED\t RESOURCE NAME")
                   ^
cmd/root.go:149:7: ineffectual assignment to `err` (ineffassign)
                        _, err = fmt.Fprintf(w, "%s\t %s\t %s\t %s\t\n", kind, version, deprecated, fileName)

cmd/root.go Outdated Show resolved Hide resolved
cmd/root.go Outdated Show resolved Hide resolved
cmd/root.go Show resolved Hide resolved
pkg/api/versions.go Show resolved Hide resolved
pkg/api/versions.go Show resolved Hide resolved
pkg/helm/kube.go Outdated Show resolved Hide resolved
Luke Reed and others added 4 commits March 26, 2020 14:52
Co-Authored-By: Andrew Suderman <andrew@sudermanjr.com>
Co-Authored-By: Andrew Suderman <andrew@sudermanjr.com>
Copy link
Member

@sudermanjr sudermanjr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome. Thanks!

@lucasreed lucasreed merged commit af44a8f into master Mar 26, 2020
@lucasreed lucasreed deleted the lucasreed/helm_support branch March 26, 2020 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants