Skip to content

Refactor helm deployer to prepare for helm3 support#3729

Merged
nkubala merged 3 commits intoGoogleContainerTools:masterfrom
tstromberg:helm-simplify
Feb 26, 2020
Merged

Refactor helm deployer to prepare for helm3 support#3729
nkubala merged 3 commits intoGoogleContainerTools:masterfrom
tstromberg:helm-simplify

Conversation

@tstromberg
Copy link
Copy Markdown

@tstromberg tstromberg commented Feb 25, 2020

With any luck, there are no behavioral changes.

  • deployRelease was split into installArgs to reduce complexity. This is important because I am about to add complexity to how installArgs is calculated.
  • Many private functions were inlined. Tests which asserted private behaviors on inlined functions were removed, as they are being moved to public tests.
  • golangci-lint issues addressed.

To prepare for #2142

@tstromberg tstromberg changed the title WIP: Refactor helm deployer to prepare for helm3 support Refactor helm deployer to prepare for helm3 support Feb 25, 2020
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 25, 2020

Codecov Report

Merging #3729 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted Files Coverage Δ
pkg/skaffold/deploy/helm.go 77.48% <100%> (-0.48%) ⬇️

Copy link
Copy Markdown
Contributor

@nkubala nkubala left a comment

Choose a reason for hiding this comment

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

a few nits but at first glance I love this

@nkubala nkubala merged commit 1fbcb1e into GoogleContainerTools:master Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants