@anguslees this has now been updated to use the ReleaseHistory GRPC method. I have not used the driver.ErrReleaseNotFound method that upgrade does as this pulls in unwanted kubernetes/kubernetes dependencies - so we're still stuck with checking for the "not found" substring.
~~This is a quick fix for now, a better fix would be to use the ReleaseHistory GRPC method to check if the release exists or not, similar to how
helm upgrade
does this (https://github.com/kubernetes/helm/blob/master/cmd/helm/upgrade.go#L154)~~@anguslees this has now been updated to use the ReleaseHistory GRPC method. I have not used the
driver.ErrReleaseNotFound
method that upgrade does as this pulls in unwanted kubernetes/kubernetes dependencies - so we're still stuck with checking for the"not found"
substring.