From 1aee50f5dbc38dcd444b2dfd0f2d46df862892ee Mon Sep 17 00:00:00 2001
From: Matthew Fisher <mfisher@deis.com>
Date: Thu, 9 Mar 2017 10:47:55 -0800
Subject: [PATCH] move pkg cmd/helm/strvals to pkg/strvals

This is another useful package outside of cmd/helm.
---
 cmd/helm/install.go                      | 2 +-
 cmd/helm/upgrade.go                      | 2 +-
 {cmd/helm => pkg}/strvals/doc.go         | 0
 {cmd/helm => pkg}/strvals/parser.go      | 0
 {cmd/helm => pkg}/strvals/parser_test.go | 0
 5 files changed, 2 insertions(+), 2 deletions(-)
 rename {cmd/helm => pkg}/strvals/doc.go (100%)
 rename {cmd/helm => pkg}/strvals/parser.go (100%)
 rename {cmd/helm => pkg}/strvals/parser_test.go (100%)

diff --git a/cmd/helm/install.go b/cmd/helm/install.go
index b475c7963..d838f0b7f 100644
--- a/cmd/helm/install.go
+++ b/cmd/helm/install.go
@@ -32,7 +32,6 @@ import (
 	"github.com/ghodss/yaml"
 	"github.com/spf13/cobra"
 
-	"k8s.io/helm/cmd/helm/strvals"
 	"k8s.io/helm/pkg/chartutil"
 	"k8s.io/helm/pkg/downloader"
 	"k8s.io/helm/pkg/helm"
@@ -40,6 +39,7 @@ import (
 	"k8s.io/helm/pkg/kube"
 	"k8s.io/helm/pkg/proto/hapi/chart"
 	"k8s.io/helm/pkg/proto/hapi/release"
+	"k8s.io/helm/pkg/strvals"
 )
 
 const installDesc = `
diff --git a/cmd/helm/upgrade.go b/cmd/helm/upgrade.go
index 0c302cc32..a05891e5d 100644
--- a/cmd/helm/upgrade.go
+++ b/cmd/helm/upgrade.go
@@ -25,10 +25,10 @@ import (
 	"github.com/ghodss/yaml"
 	"github.com/spf13/cobra"
 
-	"k8s.io/helm/cmd/helm/strvals"
 	"k8s.io/helm/pkg/chartutil"
 	"k8s.io/helm/pkg/helm"
 	"k8s.io/helm/pkg/storage/driver"
+	"k8s.io/helm/pkg/strvals"
 )
 
 const upgradeDesc = `
diff --git a/cmd/helm/strvals/doc.go b/pkg/strvals/doc.go
similarity index 100%
rename from cmd/helm/strvals/doc.go
rename to pkg/strvals/doc.go
diff --git a/cmd/helm/strvals/parser.go b/pkg/strvals/parser.go
similarity index 100%
rename from cmd/helm/strvals/parser.go
rename to pkg/strvals/parser.go
diff --git a/cmd/helm/strvals/parser_test.go b/pkg/strvals/parser_test.go
similarity index 100%
rename from cmd/helm/strvals/parser_test.go
rename to pkg/strvals/parser_test.go
-- 
GitLab