-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Improve helm deployer #2772
Improve helm deployer #2772
Conversation
dgageot
commented
Aug 30, 2019
- Cleanup/Simplify code
- Simplify samples
- Add sync to one of the samples
- Fix all issues related to improper tags/digests (to be verified)
- Streamline logs
Codecov Report
|
pkg/skaffold/deploy/helm.go
Outdated
@@ -302,71 +299,64 @@ func (h *HelmDeployer) deployRelease(ctx context.Context, out io.Writer, r lates | |||
if len(r.SetValueTemplates) != 0 { | |||
envMap := map[string]string{} | |||
for idx, b := range builds { | |||
m := createEnvVarMap(b.ImageName, b.Tag) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we even need this variable? We could just inline it, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm, one nit
Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>