Commit 24c4809a authored by Christopher Harm's avatar Christopher Harm
Browse files

Adding swagger-ui ingress and setup of /etc/hosts file

parent 284cb9a5
Pipeline #90915 passed with stages
in 58 seconds
......@@ -28,6 +28,7 @@ import (
"git.psu.edu/k8s/devtool/environment"
"github.com/fatih/color"
"github.com/goodhosts/hostsfile"
"github.com/markbates/pkger"
"github.com/spf13/cobra"
"github.com/spf13/viper"
......@@ -247,6 +248,8 @@ func start() {
environment.RunRequired(true, "minikube", "addons", "enable", "ingress")
}
setupHostsFile()
}
func helmVersion2() bool {
......@@ -421,9 +424,16 @@ func checkIfSwaggerUiInstalled() {
}
if helmVersion2() {
environment.RunRequired(true, "helm", "install", "--name", "swagger-ui", "cm/swagger-ui")
environment.RunRequired(true, "helm", "install",
"--name", "swagger-ui",
"--set", "ingress.enabled=true",
"--set", "ingress.hosts={kubernetes.local}",
"--set", "ingress.path=/swagger-ui", "cm/swagger-ui")
} else {
environment.RunRequired(true, "helm", "install", "swagger-ui", "cm/swagger-ui")
environment.RunRequired(true, "helm", "install", "swagger-ui", "cm/swagger-ui",
"--set", "ingress.enabled=true",
"--set", "ingress.hosts={kubernetes.local,localhost}",
"--set", "ingress.path=/swagger-ui")
}
}
}
......@@ -463,8 +473,12 @@ func checkIfNginxIngressInstalled() {
}
func helmReleaseInstalled(releaseName string) bool {
helmReleases := environment.RunAndGetOutputRequired("helm", "ls", "--all", "--short")
var helmReleases []string
if helmVersion2() {
helmReleases = environment.RunAndGetOutputRequired("helm", "ls", "--all", "--short")
} else {
helmReleases = environment.RunAndGetOutputRequired("helm", "ls", "--all", "--all-namespaces", "--short")
}
installed := false
for _, r := range helmReleases {
......@@ -496,3 +510,30 @@ func readPkgedFile(path string) (string, error) {
return string(bytes), nil
}
func setupHostsFile() error {
hostsfile, err := hostsfile.NewHosts()
if err != nil {
return err
}
var ip string
if minikubeProvider() {
output := environment.RunAndGetOutputRequired("minikube", "ip")
ip = output[0]
} else if kindProvider() {
ip = "127.0.0.1"
}
if !hostsfile.Has(ip, "kubernetes.local") {
if hostsfile.HasHostname("kubernetes.local") {
color.Red("host ip address has changed. Please clean up your /etc/hosts file")
return fmt.Errorf("host ip address has changed. Please clean up your /etc/hosts file")
}
color.Red("ACTION REQUIRED: Please modify your /etc/hosts file!")
color.New(color.FgRed).Printf("\tRun: 'echo \"%s kubernetes.local\" | sudo tee -a /etc/hosts'\n", ip)
}
return nil
}
......@@ -69,3 +69,17 @@ func RunAndGetOutputRequired(name string, args ...string) []string {
}
return output
}
func RunWithStdin(name string, args ...string) error {
cmd := exec.Command(name, args...)
cmd.Env = os.Environ()
cmd.Stdin = os.Stdin
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
err := cmd.Run()
return err
}
......@@ -6,16 +6,30 @@ require (
git.psu.edu/swe-golang/buildversion v0.1.0
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf // indirect
github.com/fatih/color v1.7.0
github.com/fsnotify/fsnotify v1.4.9 // indirect
github.com/goodhosts/hostsfile v0.0.1
github.com/google/uuid v1.1.1
github.com/kr/pretty v0.2.0 // indirect
github.com/magiconair/properties v1.8.1 // indirect
github.com/manifoldco/promptui v0.3.2
github.com/markbates/pkger v0.15.0
github.com/mattn/go-colorable v0.1.1 // indirect
github.com/mattn/go-isatty v0.0.7 // indirect
github.com/mattn/go-colorable v0.1.2 // indirect
github.com/mattn/go-isatty v0.0.9 // indirect
github.com/mitchellh/go-homedir v1.1.0
github.com/mitchellh/mapstructure v1.2.2 // indirect
github.com/nicksnyder/go-i18n v1.10.0 // indirect
github.com/pelletier/go-toml v1.6.0 // indirect
github.com/spf13/afero v1.2.2 // indirect
github.com/spf13/cast v1.3.1 // indirect
github.com/spf13/cobra v0.0.5
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/spf13/viper v1.3.2
golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3 // indirect
golang.org/x/lint v0.0.0-20200130185559-910be7a94367 // indirect
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd // indirect
golang.org/x/text v0.3.2 // indirect
golang.org/x/tools v0.0.0-20200203215610-ab391d50b528 // indirect
gopkg.in/alecthomas/kingpin.v3-unstable v3.0.0-20180810215634-df19058c872c // indirect
gopkg.in/yaml.v2 v2.2.7
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
gopkg.in/yaml.v2 v2.2.8
)
......@@ -26,10 +26,14 @@ github.com/fatih/color v1.7.0 h1:DkWD4oS2D8LGGgTQ6IvwJJXSL5Vp2ffcQg58nFV38Ys=
github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I=
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4=
github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ=
github.com/gobuffalo/here v0.6.0 h1:hYrd0a6gDmWxBM4TnrGw8mQg24iSVoIkHEk7FodQcBI=
github.com/gobuffalo/here v0.6.0/go.mod h1:wAG085dHOYqUpf+Ap+WOdrPTp5IYcDAs/x7PLa8Y5fM=
github.com/golang/lint v0.0.0-20181026193005-c67002cb31c3 h1:I4BOK3PBMjhWfQM2zPJKK7lOBGsrsvOB7kBELP33hiE=
github.com/golang/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:tluoj9z5200jBnyusfRPU2LqT6J+DAorxEvtC7LHB+E=
github.com/goodhosts/hostsfile v0.0.1 h1:P5Q0c7noX7bVHkaw0m/6zoEah3/qvmmMQEk8p38oJIg=
github.com/goodhosts/hostsfile v0.0.1/go.mod h1:jmGrF+qLzAUdLZX1UDLvlRACntdvgHgqMiJa0du8C0Q=
github.com/google/shlex v0.0.0-20181106134648-c34317bd91bf h1:7+FW5aGwISbqUtkfmIpZJGRgNFg2ioYPvFaUxdqpDsg=
github.com/google/shlex v0.0.0-20181106134648-c34317bd91bf/go.mod h1:RpwtwJQFrIEPstU94h88MWPXP2ektJZ8cZ0YntAmXiE=
github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY=
......@@ -44,6 +48,8 @@ github.com/juju/ansiterm v0.0.0-20180109212912-720a0952cc2a h1:FaWFmfWdAUKbSCtOU
github.com/juju/ansiterm v0.0.0-20180109212912-720a0952cc2a/go.mod h1:UJSiEoRfvx3hP73CvoARgeLjaIOjybY9vj8PUPPFGeU=
github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
github.com/kr/pretty v0.2.0 h1:s5hAObm+yFO5uHYt5dYjxi2rXrsnmRpJx4OYvIWUaQs=
github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
......@@ -51,38 +57,52 @@ github.com/lunixbochs/vtclean v0.0.0-20180621232353-2d01aacdc34a h1:weJVJJRzAJBF
github.com/lunixbochs/vtclean v0.0.0-20180621232353-2d01aacdc34a/go.mod h1:pHhQNgMf3btfWnGBVipUOjRYhoOsdGqdm/+2c2E2WMI=
github.com/magiconair/properties v1.8.0 h1:LLgXmsheXeRoUOBOjtwPQCWIYqM/LU1ayDtDePerRcY=
github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
github.com/magiconair/properties v1.8.1 h1:ZC2Vc7/ZFkGmsVC9KvOjumD+G5lXy2RtTKyzRKO2BQ4=
github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
github.com/manifoldco/promptui v0.3.2 h1:rir7oByTERac6jhpHUPErHuopoRDvO3jxS+FdadEns8=
github.com/manifoldco/promptui v0.3.2/go.mod h1:8JU+igZ+eeiiRku4T5BjtKh2ms8sziGpSYl1gN8Bazw=
github.com/markbates/pkger v0.15.0 h1:rSXoKLBWBgYG7j/h6Be7kggju23ie1Gx3/va9xl5aUw=
github.com/markbates/pkger v0.15.0/go.mod h1:0JoVlrol20BSywW79rN3kdFFsE5xYM+rSCQDXbLhiuI=
github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
github.com/mattn/go-colorable v0.1.1 h1:G1f5SKeVxmagw/IyvzvtZE4Gybcc4Tr1tf7I8z0XgOg=
github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ=
github.com/mattn/go-colorable v0.1.2 h1:/bC9yWikZXAL9uJdulbSfyVNIR3n3trXl+v8+1sx8mU=
github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
github.com/mattn/go-isatty v0.0.7 h1:UvyT9uN+3r7yLEYSlJsbQGdsaB/a0DlgWP3pql6iwOc=
github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
github.com/mattn/go-isatty v0.0.9 h1:d5US/mDsogSGW37IV293h//ZFaeajb69h+EHFsv2xGg=
github.com/mattn/go-isatty v0.0.9/go.mod h1:YNRxwqDuOph6SZLI9vUUz6OYw3QyUt7WiY2yME+cCiQ=
github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
github.com/mitchellh/mapstructure v1.1.2 h1:fmNYVwqnSfB9mZU6OS2O6GsXM+wcskZDuKQzvN1EDeE=
github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
github.com/mitchellh/mapstructure v1.2.2 h1:dxe5oCinTXiTIcfgmZecdCzPmAJKd46KsCWc35r0TV4=
github.com/mitchellh/mapstructure v1.2.2/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
github.com/nicksnyder/go-i18n v1.10.0 h1:5AzlPKvXBH4qBzmZ09Ua9Gipyruv6uApMcrNZdo96+Q=
github.com/nicksnyder/go-i18n v1.10.0/go.mod h1:HrK7VCrbOvQoUAQ7Vpy7i87N7JZZZ7R2xBGjv0j365Q=
github.com/pelletier/go-toml v1.2.0 h1:T5zMGML61Wp+FlcbWjRDT7yAxhJNAiPPLOFECq181zc=
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
github.com/pelletier/go-toml v1.6.0 h1:aetoXYr0Tv7xRU/V4B4IZJ2QcbtMUFoNb3ORp7TzIK4=
github.com/pelletier/go-toml v1.6.0/go.mod h1:5N711Q9dKgbdkxHL+MEfF31hpT7l0S0s/t2kKREewys=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g=
github.com/spf13/afero v1.1.2 h1:m8/z1t7/fwjysjQRYbP0RD+bUIF/8tJwPdEZsI83ACI=
github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ=
github.com/spf13/afero v1.2.2 h1:5jhuqJyZCZf2JRofRvN/nIFgIWNzPa3/Vz8mYylgbWc=
github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk=
github.com/spf13/cast v1.3.0 h1:oget//CVOEoFewqQxwr0Ej5yjygnqGkvggSE/gB35Q8=
github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
github.com/spf13/cast v1.3.1 h1:nFm6S0SMdyzrzcmThSipiEubIDy8WEXKNZ0UOgiRpng=
github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
github.com/spf13/cobra v0.0.5 h1:f0B+LkLX6DtmRH1isoNA9VTtNUK9K8xYd28JNNfOv/s=
github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU=
github.com/spf13/jwalterweatherman v1.0.0 h1:XHEdyB+EcvlqZamSM4ZOMGlc93t6AcsBEu9Gc1vn7yk=
github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo=
github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk=
github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo=
github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg=
github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spf13/viper v1.3.2 h1:VUFqw5KcqRf7i70GOzW7N+Q7+gxVBkSSqiXB12+JQ4M=
github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
......@@ -97,29 +117,50 @@ github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:
golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9 h1:mKdxBk7AujPs8kU4m80U72y/zjbZ3UcXC7dClwKbUI0=
golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3 h1:x/bBzNauLQAlE3fLku/xy92Y8QwKX5HZymrMz2IiKFc=
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3 h1:XQyxROzUlZH+WIQwySDgnISgOivlhjIEwaQaJEJrrN0=
golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/lint v0.0.0-20200130185559-910be7a94367 h1:0IiAsCRByjO2QjX7ZPkw5oU9x+n1YqRL802rjC0c3Aw=
golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee h1:WG0RUwxtNT4qqaXX3DPA8zHFNm/D9xaBpxzHt1WcA/E=
golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223 h1:DH4skfRX4EBpamg7iV4ZlCpblAHI6s6TDM39bFZumv8=
golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd h1:xhmwyvizuTgC2qz7ZlMluP20uW+C3Rm0FD/WLDX8884=
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20181122213734-04b5d21e00f1 h1:bsEj/LXbv3BCtkp/rBj9Wi/0Nde4OMaraIZpndHAhdI=
golang.org/x/tools v0.0.0-20181122213734-04b5d21e00f1/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20190311212946-11955173bddd h1:/e+gpKk9r3dJobndpTytxS2gOy6m5uvpg+ISQoEcusQ=
golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.0.0-20200203215610-ab391d50b528 h1:iINh7uA444sE+iZXG/dsGMWccpjX751evDOE4UvDiaA=
golang.org/x/tools v0.0.0-20200203215610-ab391d50b528/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898 h1:/atklqdjdhuosWIl6AIbOeHJjicWYPqR9bpxqxYG2pA=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
gopkg.in/alecthomas/kingpin.v3-unstable v3.0.0-20180810215634-df19058c872c h1:vTxShRUnK60yd8DZU+f95p1zSLj814+5CuEh7NjF2/Y=
gopkg.in/alecthomas/kingpin.v3-unstable v3.0.0-20180810215634-df19058c872c/go.mod h1:3HH7i1SgMqlzxCcBmUHW657sD4Kvv9sC3HpL3YukzwA=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo=
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.7 h1:VUgggvou5XRW9mHwD/yXxIYSMtY0zoKQf/v226p2nyo=
gopkg.in/yaml.v2 v2.2.7/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10=
gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
......@@ -7,4 +7,4 @@ import (
"github.com/markbates/pkger/pkging/mem"
)
var _ = pkger.Apply(mem.UnmarshalEmbed([]byte(`1f8b08000000000000ffec597b6fe23a94ff2a23ff4d9b078402d2fe51da5b0ad3d25ba6e591abd1c8714ce2e247aeeda4c0d57cf79593f06e29bb7bb5d2ae184d89cf39bfd8c78f737e8efd0f207c2a1468fd0322a22f13955ee230b5660d658538d3425063ba2512b480150b862d2463cff53c4be2446c4015d0658990fa4fa863d0fab4ae0ae84386410b304838a8805b81400b800a788132c2faa091485801e15baf0f843844edbbf208358a41eb2f70097e56c00f0d29062d2d535c0a030c95e0a005b8d0df08571a528ac36f41aabfc10c120a038abf11fe2d48090dbf2188620c2aa023ee08c5cad45b367519095001c92cc2a129fe5c0d428ef964082cc4425031d6380d2e916016837216408d95656a92478de697f0c8629899e66e7192b715a453625c09161a2b500148b04462a5ac29851a6f2ba2254972996b48389616254a970a3ccf4b729168b12e58b0a8b1101049e2dcc5520eb78da1821b01a35d31743dcf691e282cc235961c520b87ef50866a1f46294934411b4dcce096b47e5d421ea69ad00f4c2a0d34c51b030bbd8d60dedb92506d4bd8ee808aa1b323b95e7d47f61c774bde6b52d3ad719a7b767357b2921999830a08a1860154d8527f532b9424cbc71a732442c2a3ada2051577b665f356bdb6a3211ccac5b606a96c5b8cf17c5b7c3321b125279819514a218def530a8d0353a68b057a7c6d7f6c157c4aa22300cc3322056798ef37a2def145242834fd32419961a948eeef56aca078b9c0d29218869470bc6b9c424d620b092af6226caab8d064ba581776cd9108d2e9145261c558e27d9b8828b6d294ec85740c554c90908915237ac494ff41a5bf822450aafdccf0014ae64bfe2b984290f313605a22c1b3af605acc303f0632ebea840ee4b0135ccb711f34fa96bea516e48a682cd91193a561f02ec9c138d19493792050acac4c238a21df4fc41141824322ad448a044b4df2dcb703e1642a68888481b044a7e44bc02aff7e81524862cc8374fa3fa08e753e643039f0fc13a886332cb8f52134c609fc97aab1a6846a2cbff0aae0be93f811b3001fa7d96d263d05a774280efcd39a5b91b8c8b38ad9347c62270a6abd975718d128c694c60660763321d99fbf35c24c989629d2e97e064a30a558132c4d2d5ab0bd64a392a953b5e0144bf1a9e170040a233ac84ba55e04127e64787b876612df31d431966c3f800a5052f2c881212349b180f32c7f296464cd2db5509689cb7dbdd9aa585a42aea6a288f6036bca091221b6f80a90cca24bc2ad0564f43233546df24af9b09044d55ca7f321340f4b639694dba7f542361b2c48a36d154ad26d71cab412526fab38d65a42b453915039b36eab1241e9b6bcff8ac4538a91a664d725457844f1949228de69552d148294aec66f138b58692af22e88fcc722a2dc38156a66b6f0c5c30a48b4296ab52a979b2646182e1f164ba92609cc7b9e2bfe4e85c661ce49656870ac8b5f2bd63ad92ae63fab215a2b571e973a33ab8914f9d6d4c8a934963c2685b2f01ca3a2a44854bc9414fd300f935f702997c39897223c4fd6054b2db88666ac64ca75d1b5b264a17ca7bf92d66309b560f9def4c0520ee2815e2d8cc3e50ad950acd292f028372d382a1f9beacbb9041550acfc2d0a2b149ba5ba2317bc6bb44577caa0d894ac544f9dfaaedcc84505a70697611e0a935db6e26bf52d10431443d74e045d3855dbfb029d3f4cfc9c8a5bed718f815399e1d517c3115c3c0ba7c7119b702e7b75227cbdd13f02fe6280cc620eb9327f0c2b05a3cfaadb099728cdc3f14b5c22c57cf105d0b5e204a2d911140939fcc46c727491033fb2e6cb5161944a6c05242432fd74b40e92faa7a0d56235159e82cb39e06705bc60a5d75ff13ca5b450ad3fda0bd5a3088d93ad7fc09787198f90f0d5c9c22967241df128c2e3282b12974c843978587ee5b48073e9b8e0f7efdf15302dbcfff4b8a6b50e7e65cd080f2f8aafae4bc37be635c2a7c23c43ac21a1794dbc389239405780224b0c5a5ecdab0066f246abe6da79f1579e505ac0b55dfbc2ae5eb8f517a7daaa5db5bce665a3dab4edabab5aedc2aeb56c134844fd32bb9bd6145285f36c961f2ae10cb4eab5ab7aa302ba5c80967755bff26cbb59017d4af80cb49c7c32306855ab4ea35101af24042dc7b6ed0ae86c8ae35fbf1218daa06557c0203495da15f063e3799bce8a7ed4ec66dd8802cd1468352ae05a13663cf9811168395ec3736bb57ac3b4af8ca65af3bcc695dda8feae80c70fa08dab3574dde7df1570733a74fceb57ca538543d0facbaed815fb673ec73196279dba6da67afffc6d73d0b60d393c6ddb9ca86d8ecd8a28284fcdca29db3d36db3e0c2bd07b21549c4b6d22ecff74d0953b09e3da2c3ae56cf35804fe2e0e79400b4097a6fead889eddb983aa038aa224461d3af2c7bd251c35d327d29670e4cd1e78a4e1325e3e309a3d5427f3c968fe0e3b7fd837cccbfcce70f91409ddbdef6541e7b5deedf4b3800f1681fbae51671e07ecf57bf7a69d04a33beebf88286fb3335c8637cd347007f489ebabee8db76eb37bef346fc87504ab43e28fee66c16b3f0b989ff84e3b0e3b7de18f1febc6fef0a3dd30cfee4de1e31369f70246ed67b799fa8cf270dc8bc30ecd824844dd9beb2860cd993fec51dfa5cbf0beb4bd89efc666fe8af6e634fc635833f6e7718fa3e5c6debd69e7fe3e8ce6f1840d155a8aa8cb68ea577b14551f3562c3d8bf9f35c3fb9ee3ffe86ebf1787e38108aabd04b33bdbf4f161e464be19ab9b5e3bb80f633ceeb783ce3c0b17e6bd36c5f783c564d8ce101ff427e3f63b1c792b5f7439be311c7914518379ae776fa3f7722c4450eddbaf9de622bc15d1d3ed75e1c77d7b115407d9c46daa27d27e7d76ae8fd4f56c3fbe1763063bcd657877a847f7bd2cec34df02f7bddebd1bdcbe5e275778614788dda5befb1af5eefd38b8b9aefff9a3dd0b3bc3c5643ca0dd1bef291c39e3a0da9366ae8b7936ef34955917a1db5c4077b8c8e77ee4c4be6bd6924e0236a0a8fa9ce5f3f762dab99e3d509f22de4f02b7164dc7f6775c55badb19a6fe4dbb397d16ff916fb925e67a13319bd0c8c3e904e6e211e1f30bc2238995bac8204db13a81c23e7f6dc56555d73981cbec66cbfcaf5e36edabff268b35fe3d16cb7dfeafb098db706ad515df34af1cafe1d4ecfa872cb60bb5afecfcdf872cb607ad7a0dbbee36ce2cf6ff9fc53e0fab0d9d2177b808197df35fefde266ed309f8734e1501bbd326c5042c4c024365269db2e1122d9ca53feeb970d4a79351ff2da80ed3f03a99f9233f0e4773fb99ddbd41776828324fcb01bb23416768a8864d46f3a5ff9cbc05ae679b141674868b274335f77d8ab89f4c4cfaba2ed265784fdf4dfb2f3905e5e9f4fb166dfd31190d75e07a2ffe38d7e734f3ea0e953feadb41b55b2f537b12b070e18ffbcb87718f4e4603ef895c930dddb4edc09d535452cc862e34c579df9b33ff87b3309807a69d091b2e0236b4fdf1630a478d2c18dd2d4daa2edbca5091b633f426a2c1f8ce998cde0b2ae90c99cf866f865e5e58f365e2c6d4bf1f2aff5944ddce20f6474e16f03e0d6f4beabc1f2efdd73843d5c17350edd94fa46d233ea45fa5e82278f1f9e6f77cf37bbef93ddffc9e6f7ecf37bfe79bdff3cdeff9e6f77cf37bbef93ddffc9e6f7ecf37bfe79bdff3cdeff9e6f77ff1e6f73f010000ffff010000ffff206b57d7a92f0000`)))
var _ = pkger.Apply(mem.UnmarshalEmbed([]byte(`1f8b08000000000000ffec595973e2b8b7ff2e7a26f1860950751f423221d00999d0098ba7baba6449d8022d1e4b7680aefeeeb7649b2590edde9997ffbf7800eb9cf3b374b49cf393a55f808a9954a0fd0b44549f272a3b2738b3164d6561926b2999315dd314b481154b4e2c94c6beebfb564a12b903d5408f2732d57f421d83f6bb75d5c0007202da80432a400d5c4b04da00d4c0134c23a28f1a89a41552b1f7fa50ca63d4a12bf750a318b4ff02e7e0470d7cd79011d09e41a648250d095452942d77e50d6544197855c37924410d248b886053fcb1e95b8179a76716e218d48c35cec27324b9c561ba08a126ca3235a51f1acd3f1591c50937cd5d93a4682bcc66d4b812ae3451a00690e4494a94b2660c6ab2af88d6342964a1211524b51855ba529065514a578996db8205cb1a4b01d1242e5cac64bc6fc40aee04825e8bd8f57da775a4b0a8d02415905904bfc014ab43186334d114ed3431877bd2f6f5140a9c69cade30a92cd48cec0c1cfb3bc1bcb727a1fa9eb0df011543e795e4fa8d57b2efb87bf241939aed8dd3d2b75baf252b59d025a8010c350ca12296fa9b5938a57931d6442089a988f68a1654c2d997cd5b8dfa2b0d15305ded6b90caf7c5982cf7c5b959e87b7242b811d354a6c6f71983c68119d7e502fd786dbf6d956246a30f0044e43495821371d8887a21679164d0f42ba30ce72455b4f0772f5650bc5e91d44a09c48c0af2da38839ac616924c1e44d84c09a9e96cb52dbc364732cc6633c8a41593941cda64c4889565f420a463a8628a649a5831621f988a1f54fa33480253759819de40a5c592ff0ca61014e20b309d2229f2cf605a2e88f80864d6d5173a50c0bee05a817ba3d17936cf2c2814d524e51f982c0dc397941e8d13cb045d8612c5caca3562048ac3441c512405a4a995a43221a9a645ee7b051174261946d24078a233fa2960937f3f4129941222c26cf60fa8639b0f394c8e3c7f07aae1824861bd098d4902ffa56aac19659aa49f785572df97f891f0907c4cb3fb4cfa159cd2581ef9a7b5b022795664151832f28e9d2aa8f5415ee154a39830161b80d9a4607a387f5b8499309d664867871928218c114d496a6ad1921f241b95cc1ccf823392ca770dc723501ad1515eaaf4324ce15b86f90b3493f842a08e49ca0f03a80425158f1c19729a940bb8c8f2e7328daca5a556ca327179a8375b154ba750a8992ca3fdc89a098a242696d8009245744e85b5829c9de786aa4d5ea91e164a9157e8743184e66169c2936afbb45dc866830559b4af4249b62fceb85632d5fb2a41b44e217a55915405b3eeab12c9d8be7cf84a4a668c20cde86b97141511233346a3f855ab6aa510646c337ebb58244a33597441167f1695d5c6a95473b3332f1f5648a35d51ab4db9da3471ca49f5b078c6344d60d1f342f1772635c1052755a121882effad58eb64af58fc6d8668abdc785ce9ccac26a92cb6a646ce52632962522a8b2c092a4b8a46e54b49d90ff330f9855472358c452922cb645bb0d44a6868c62acd842ebb56952c54ecf437d2762ca196bcd89b1e59aa413cd2ab9571b85a213b8a553aa5222a4c2b81aac7aefa6a2e410d942b7f8fc24ac56ea9be924bde35dab23b5550ec4a56a6674ee3b5dc2c44056706971381a5c92e7bf1b5f91688218aa16b2792ad1ccff63f41170f133f5fc56df6b81f81b334279b2f860f70f102cf3e46ecc2b9ead517e1db8dfe07e04f06c82c662c94f971a2148cdeabee55b84459118e9fe292542e579f005d2b4e205a7c80a258c077cc26479739f02d6bb11c1541594aac90629a66ef8ed651527f17b459aca6c2afe00a0ef851034f44e9ed57bcc8182b55db8ff652752fb171b2fd0b7c7a46710fa9006d9d66a4f6a5a38faebc97f8639415c9732e71011e555f396de09c3b2ef8fdfb770dcc4aefdf3d85696f835f590b2af059f9d5756e78cfbc46c54c9a27261a5256d424ca939623740d28ba26a0edd7fd1ae0266fb4ebae5d147f1609a50d5cdbb5cf6cefcc6d3c395ebb7ed1f65be74daf65db1717f5fa995d6fdb2690a8fa6976379b93159303dbbfc035c941bb51bf68346ba0272468fb178d0bdfb65b353060542c40db29268380b6e739cd660d3c530cda8e6ddb35d0dd15273f7f2610dba06dd7c0109b4aed1af8bef3bcc316653fea76ab614489160ab49b3570a929379e7c2708b41dbfe9bbf57aabdea88181321aafe1f9b6efdaceef1ab87f03dabc686da0db3effae81abaf43273f7f6622530483f65f76cdaed93f8a398e49faa5c3b4dd541f1eabedcecff621c78768bb83b2dd695819055f3d0c2bd10721549e4bed22ec3f3ae8aa9d84716d117de5c8f2a308fc5d1ef28036802ecb826b193dba4b07794386a224465d360e26fd351cb7b207da49e1d85fdc8948c375bcbee32cbff3a6cbe978f902bb7fd857dccf83ee68fd1049ddbbede761f7b9d1eb0ef2500c57a1fba251771987fcf95befaa9384e31b113cc9a868b33b5ae3ab5616ba43f620f445efcadfb6d9bb755a57f43282de8806e39b45f83cc8431e2481d38971772083c97dc3d8efbe779ae6d9bb2a7d7ca09d7ec899fde8b6b280338127fd1877591e4632ea5d5d46216f2d82519f052e5be3dbca3697df8ccdfccaf6960cff31aa1bfbe3a42fd07a67ef5d750a7fefc6cb78ca470aad65d4e32c0bbc3e43debd467c1407b78b16beed3bc1f7defe7b319e0c65e8f513c26f6cd3c7bbb1930766acaefa9df016c76432e884dd658e57e6bd0e23b7c3d574d4c991180ea693ce0b1cfb1b5f7435be311cfb0c3183796cf4aea3976a2c64e80dece76e6b85af65f4707d59fa71db5985de309fba2df5403bcf8fcee507753ddaf72fe598c16e6b8d6f8ef5e8b69fe36e6b1eba2f8ddecdf0faf932b9202b3b42fc260bdce7a87f1bc4e1d565e3cfef9d3eee8e56d3c990f5aefc073c7626a1d74fcd5c97f36cde6929b32eb0db5a4177b42ae67eecc4816bd6924e423e64c87bcc8bf97b32ed5c2eee58c0901824a15b8f6613fb1bf194ee75475970d569cd1ee5ff145bee9408bd8b985d6814e1f405e6121115cb332aa294287596439611f5050a7bffb50d97d57dfb532ebb7872ecb6db6cfbf5f356a3e5d49b17b6f7ffe4b2e6bfc76585e7ff072ef39c96e7f91bd6712f3cc7b79bcde65b5c5640eb1be8b6cf6f71d9fbd01397fd9773d9fbc1b52335e48e5698b379f07c339fba2d27148f056184fc469b4413729c8486d04c52e5a3355a39eb60d277e178c0a6e3c13cf44619be4c16c13888f178693ff29b39744786288be41cf21b1a76478670f874bc5c078fc93c747ddb24b2b03b5a3d18c2b91d302482646a92d8659934f12d7b31ed3f15445424d56f7be4f5c7743cd2a1eb3f0593425f90cdb33b52c17860875eaf5125f824e478154c06ebbb499f4dc743ff815ed21de974ecd05d325411cd8e34342345df5b8be0bbb332983bae9d291fad423eb283c97d06c7cd3c1cdfac4dc2aedaca5199bc733497d17072e34cc72f25a174473ce0a3b9219927de7a9aba310b6e472a789451af3b8c83b1938762c0f07545a0b7a375f01ce7c81b3e865edf7ea01d1b891133ed4c2bc27ea8883a18fbf1942fd9ddb8f5128ccdb8decccd5cbdeea7a93349902108eacc4377b919275d90d6b521e7d6fc6e3cc8c3ee924dbd618ea86fc637c1ddd6cad4d7abdac39301bb1b07391238467cc8822b479a8d8721a9fd363f239532d190d315f4e90afa74057dba823e5d419faea04f57d0a72be8d315f4e90afa74057dba823e5d419faea04f57d0a72be8d315f43fbf82fe5f000000ffff010000ffff5901207609300000`)))
......@@ -13,4 +13,8 @@ controller:
operator: Equal
effect: NoSchedule
daemonset:
useHostPort: true
\ No newline at end of file
useHostPort: true
config:
enable-opentracing: "true"
zipkin-collector-host: "oc-collector.monitoring"
use-forwarded-headers: "true"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment