Remove dependency on ghodss/yaml

This commit is contained in:
rohitsardesai83
2019-04-25 23:47:01 +05:30
parent 0ac48f60a5
commit b67d713bc0
10 changed files with 12 additions and 9 deletions

View File

@@ -22,7 +22,6 @@ import (
"path/filepath"
"strings"
"github.com/ghodss/yaml"
"github.com/pkg/errors"
"github.com/spf13/cobra"
"sigs.k8s.io/kustomize/pkg/fs"
@@ -32,6 +31,7 @@ import (
"sigs.k8s.io/kustomize/pkg/plugins"
"sigs.k8s.io/kustomize/pkg/resmap"
"sigs.k8s.io/kustomize/pkg/target"
"sigs.k8s.io/yaml"
)
// Options contain the options for running a build

View File

@@ -26,10 +26,10 @@ import (
"regexp"
"strings"
"github.com/ghodss/yaml"
"sigs.k8s.io/kustomize/pkg/fs"
"sigs.k8s.io/kustomize/pkg/pgmconfig"
"sigs.k8s.io/kustomize/pkg/types"
"sigs.k8s.io/yaml"
)
var fieldMarshallingOrder = determineFieldOrder()