Use github.com/ghodss/yaml to parse k8s config (#5643)
This commit is contained in:
parent
782280345d
commit
3b80d8a7fd
|
@ -403,6 +403,14 @@
|
|||
revision = "d1bbc0cffaf9849ddcae7b9efffae33e2dd52e9a"
|
||||
version = "v1.2.0"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
digest = "1:ec95c1c49fbec27ab5383b9c47fae5c2fe1d97ac5b41d36d78e17588a44e9f3f"
|
||||
name = "github.com/ghodss/yaml"
|
||||
packages = ["."]
|
||||
pruneopts = ""
|
||||
revision = "25d852aebe32c875e9c044af3eef9c7dc6bc777f"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:858b7fe7b0f4bc7ef9953926828f2816ea52d01a88d72d1c45bc8c108f23c356"
|
||||
name = "github.com/go-ini/ini"
|
||||
|
@ -1547,6 +1555,7 @@
|
|||
"github.com/ericchiang/k8s/apis/meta/v1",
|
||||
"github.com/ericchiang/k8s/apis/resource",
|
||||
"github.com/ericchiang/k8s/util/intstr",
|
||||
"github.com/ghodss/yaml",
|
||||
"github.com/go-logfmt/logfmt",
|
||||
"github.com/go-redis/redis",
|
||||
"github.com/go-sql-driver/mysql",
|
||||
|
|
|
@ -269,6 +269,10 @@
|
|||
name = "github.com/go-logfmt/logfmt"
|
||||
version = "0.4.0"
|
||||
|
||||
[[constraint]]
|
||||
branch = "master"
|
||||
name = "github.com/ghodss/yaml"
|
||||
|
||||
[[override]]
|
||||
name = "golang.org/x/crypto"
|
||||
source = "https://github.com/golang/crypto.git"
|
||||
|
|
|
@ -14,7 +14,7 @@ import (
|
|||
|
||||
"github.com/ericchiang/k8s"
|
||||
corev1 "github.com/ericchiang/k8s/apis/core/v1"
|
||||
"gopkg.in/yaml.v2"
|
||||
"github.com/ghodss/yaml"
|
||||
)
|
||||
|
||||
type payload struct {
|
||||
|
|
Loading…
Reference in New Issue