diff options
author | 2021-04-20 16:59:11 +0000 | |
---|---|---|
committer | 2021-04-20 16:59:11 +0000 | |
commit | 4ff7900c3c74fa6b497af6d1e36f81e08a193d83 (patch) | |
tree | d6ce5f3dffe6130fd8c20b853ba6dc2fce48c349 /src/k8splugin/internal/rb | |
parent | c7f90394d625a8e323e8095e711338ccc44c472b (diff) | |
parent | 1f60346da61383f18b7277037439711aef38a0fe (diff) |
Merge "Migrate to use Helm v3 libraries"
Diffstat (limited to 'src/k8splugin/internal/rb')
-rw-r--r-- | src/k8splugin/internal/rb/profile.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/k8splugin/internal/rb/profile.go b/src/k8splugin/internal/rb/profile.go index df4d2e5c..3db6c40f 100644 --- a/src/k8splugin/internal/rb/profile.go +++ b/src/k8splugin/internal/rb/profile.go @@ -24,8 +24,6 @@ import ( "log" "path/filepath" - protorelease "k8s.io/helm/pkg/proto/hapi/release" - "github.com/onap/multicloud-k8s/src/k8splugin/internal/db" "github.com/onap/multicloud-k8s/src/k8splugin/internal/helm" @@ -273,10 +271,10 @@ func (v *ProfileClient) Download(rbName, rbVersion, prName string) ([]byte, erro //Resolve returns the path where the helm chart merged with //configuration overrides resides and final ReleaseName picked for instantiation func (v *ProfileClient) Resolve(rbName string, rbVersion string, - profileName string, values []string, overrideReleaseName string) ([]helm.KubernetesResourceTemplate, []*protorelease.Hook, string, error) { + profileName string, values []string, overrideReleaseName string) ([]helm.KubernetesResourceTemplate, []*helm.Hook, string, error) { var sortedTemplates []helm.KubernetesResourceTemplate - var hookList []*protorelease.Hook + var hookList []*helm.Hook var finalReleaseName string //Download and process the profile first |