Skip to content

Support of helm 3 - #150

Closed
jonasrutishauser wants to merge 1 commit into
databus23:masterfrom
jonasrutishauser:master
Closed

jonasrutishauser wants to merge 1 commit into
databus23:masterfrom
jonasrutishauser:master

Conversation

@jonasrutishauser

Copy link
Copy Markdown
Contributor

Full support of helm v3.0.0-beta.3 and helm 2.

I implemented this independent of #149 but it will be solution for #147 which supports all commands.

Comment thread cmd/upgrade.go
releaseResponse, err := d.deployedRelease(d.release)
var notDeployed string
if isHelm3() {
notDeployed = fmt.Sprintf("%q has no deployed releases", d.release)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Ah good catch! I missed this in my PR #149

@mumoshu

mumoshu commented Sep 8, 2019

Copy link
Copy Markdown
Collaborator

@jonasrutishauser Thanks for your contribution! This looks so nice 💯

I'm now trying to build and test this myself, but had no luck so far.

glide install && HELM_HOME=$HOME/Library/helm make install emits a bunch of compilation errors perhaps due to inconsistent dependencies https://gist.github.com/mumoshu/1dfda422fce533493128fa93f07ef9ac

Do you have any clue on this?

@jonasrutishauser

jonasrutishauser commented Sep 8, 2019 •

Copy link
Copy Markdown
Contributor Author

I had many difficulties with glide too and after a glide up the build did not work, but after a make bootstrap which calls glide install --strip-vendor the build worked.
I even used more time with glide than with the implementation.

I tested the build with the go.mod file of #149 and it worked like a charm.

@databus23

Copy link
Copy Markdown
Owner

@jonasrutishauser Thanks for the PR. I think we need to make a general decision how this plugin should handle the rendering part for helm3 as there are some potential compatibility issues across versions of helm that I'm worried about. I'm glad to here your thought on this comment: #149 (comment)

@databus23

Copy link
Copy Markdown
Owner

Closed in favour of #151

@databus23 databus23 closed this Oct 22, 2019
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.

3 participants