Repository navigation
ref: remove pkg/helm, pkg/hapi, pkg/tiller - #5365
Merged
Merged
Conversation
This was referenced Feb 26, 2019
Signed-off-by: Matthew Fisher <[email protected]>
adamreese
requested changes
Mar 12, 2019
adamreese
left a comment
Member
There was a problem hiding this comment.
- Add back release_testing_test.go unit tests
- Clean up old golden files
rm ./cmd/helm/testdata/output/* && go test ./cmd/helm -update
adamreese
requested changes
Mar 12, 2019
| { | ||
| name: "check set name", | ||
| cmd: fmt.Sprintf("template '%s' -x '%s' --set service.name=apache", chartPath, filepath.Join("templates", "service.yaml")), | ||
| cmd: fmt.Sprintf("template '%s' --set service.name=apache", chartPath), |
Member
Author
There was a problem hiding this comment.
According to @technosophos this was intentional in preparation for the Lua engine. He wasn't sure if we wanted to allow partial template execution as it may mess up how the Lua engine depends on certain templates. However, we currently don't have Lua engine support so this could be premature. I'm happy to add this back and we can revisit that conversation when we add Lua support in here though. What do you think about that?
Signed-off-by: Matthew Fisher <[email protected]>
Member
Author
|
Also adding to the TODO list:
|
Signed-off-by: Matthew Fisher <[email protected]>
Signed-off-by: Matthew Fisher <[email protected]>
Signed-off-by: Matthew Fisher <[email protected]>
test.go is a duplicate of release_testing.go Signed-off-by: Matthew Fisher <[email protected]>
Member
Author
done |
unused code Signed-off-by: Matthew Fisher <[email protected]>
Signed-off-by: Matthew Fisher <[email protected]>
adamreese
reviewed
Mar 13, 2019
Signed-off-by: Matthew Fisher <[email protected]>
adamreese
approved these changes
Mar 13, 2019
This was referenced Mar 13, 2019
This was referenced Jun 11, 2019
This was referenced Sep 2, 2019
|
I believe this refactoring removed the CLI flag Originally added in #2836. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a massive internal refactoring of pkg/, removing the helm, hapi and tiller packages, refactoring the code into pkg/action, and refactoring
cmd/helmto rely on the action package.TODO:
- [ ] move functions likedeferrednewInstallCmdintopkg/clito accommodate Proposal: make cobra.Command functions public #5311Signed-off-by: Matthew Fisher [email protected]