From 71aaec7c8357ed076c5b7ae143ac9fb12b0997dc Mon Sep 17 00:00:00 2001 From: sauman Date: Thu, 26 Jan 2017 19:26:05 +0600 Subject: [PATCH] added all --- pkg/helm/client.go | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/pkg/helm/client.go b/pkg/helm/client.go index 18d7ee0e3..401ff10be 100644 --- a/pkg/helm/client.go +++ b/pkg/helm/client.go @@ -17,10 +17,9 @@ limitations under the License. package helm // import "k8s.io/helm/pkg/helm" import ( + "fmt" "golang.org/x/net/context" "google.golang.org/grpc" - - "fmt" "gopkg.in/square/go-jose.v1/json" "k8s.io/helm/pkg/chartutil" hapi_chart "k8s.io/helm/pkg/proto/hapi/chart" @@ -36,21 +35,6 @@ import ( "strconv" ) -const ( - defaultAPIPath = "/apis" -) - -type extendedCodec struct { - pretty bool - yaml bool -} - -var ExtendedCodec = &extendedCodec{} - -type DirectCodecFactory struct { - *extendedCodec -} - // Client manages client side of the helm-tiller protocol type Client struct { opts options @@ -115,8 +99,7 @@ func (h *Client) InstallRelease(chstr, ns string, opts ...InstallOption) (*rls.I return nil, err } } - return h.install(ctx, req) /* "k8s.io/kubernetes/pkg/api" - "k8s.io/kubernetes/pkg/api/unversioned"*/ + return h.install(ctx, req) } // DeleteRelease uninstalls a named release and returns the response. @@ -471,7 +454,6 @@ func makeObjectSpec(req *rls.InstallReleaseRequest) hapi.ReleaseSpec { spec.Chart.Inline.Files = req.Chart.Files spec.Chart.Inline.Metadata = req.Chart.Metadata spec.Chart.Inline.Templates = req.Chart.Templates - fmt.Println(req.Chart.Values) spec.Chart.Inline.Values = req.Chart.Values return spec }