// Resource exists in the current cluster state, but not in the current helm configuration
// The resource already exists in the cluster, but it wasn't defined in the previous release.
// See: https://github.com/helm/helm/issues/1193 for more info
// In this case, we consider it to be a resource that was previously un-managed by the release and error out,
// asking for the user to intervene.
//
// See https://github.com/helm/helm/issues/1193 for more info.
iforiginalInfo==nil{
iforiginalInfo==nil{
returnfmt.Errorf(
returnfmt.Errorf(
"%s %q is not managed by Helm; delete the resource from the current cluster state to let Helm manage it",
"kind %s with the name %q already exists in the cluster and wasn't defined in the previous release. Before upgrading, please either delete the resource from the cluster or remove it from the chart",
iferr.Error()!="Pod \"starfish\" is not managed by Helm; delete the resource from the current cluster state to let Helm manage it"{
iferr.Error()!="kind Pod with the name \"starfish\" already exists in the cluster and wasn't defined in the previous release. Before upgrading, please either delete the resource from the cluster or remove it from the chart"{