Open JinsYin opened 6 years ago
looks like I wasn't actually assigning the service account in the deployment's pod template; should be fixed now in master
$ kubectl logs -f kuill-kuill-58fd464f46-rx4n6
time="2018-02-06T01:31:43Z" level=warning msg="OpenID+Connect authenticator is not enabled; the following required flags were missing: oidc-client-id, public-url, oidc-provider-name, oidc-provider, oidc-client-secret"
time="2018-02-06T01:31:43Z" level=warning msg="SAML authenticator is not enabled; the following required flags were missing: public-url, saml-groups-attribute, saml-sp-cert, saml-sp-key"
time="2018-02-06T01:31:43Z" level=info msg="Enabled authenticator: anonymous:anonymous => /auth/anonymous/anonymous"
time="2018-02-06T01:31:44Z" level=info msg="Enabled kubernetes api proxy for https://172.254.0.1:443"
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xf173f4]
goroutine 1 [running]:
github.com/matt-deboer/kuill/pkg/metrics.convertSummary(0xc420367a80, 0x0, 0x0, 0x0, 0x0, 0xc420364960, 0xe, 0x0, 0x0, 0x0, ...)
/home/travis/gopath/src/github.com/matt-deboer/kuill/pkg/metrics/metrics.go:194 +0x94
github.com/matt-deboer/kuill/pkg/metrics.(*Provider).summarize(0xc420382d50, 0xc420382d50)
/home/travis/gopath/src/github.com/matt-deboer/kuill/pkg/metrics/metrics.go:97 +0x837
github.com/matt-deboer/kuill/pkg/metrics.NewMetricsProvider(0xc4203cc940, 0xf, 0xc420586dc8, 0xf58908)
/home/travis/gopath/src/github.com/matt-deboer/kuill/pkg/metrics/metrics.go:38 +0x9f
main.setupMetrics(0xc4201746e0, 0xc4203f6060, 0xc4203cc940)
/home/travis/gopath/src/github.com/matt-deboer/kuill/pkg/server/main.go:503 +0x2f
main.main.func1(0xc4201746e0)
/home/travis/gopath/src/github.com/matt-deboer/kuill/pkg/server/main.go:270 +0x2cf
github.com/matt-deboer/kuill/vendor/github.com/urfave/cli.HandleAction(0x1001d00, 0x120fa50, 0xc4201746e0, 0xc4200923c0, 0x0)
/home/travis/gopath/src/github.com/matt-deboer/kuill/vendor/github.com/urfave/cli/app.go:503 +0x7c
github.com/matt-deboer/kuill/vendor/github.com/urfave/cli.(*App).Run(0xc420162a80, 0xc42000e1d0, 0x1, 0x1, 0x0, 0x0)
/home/travis/gopath/src/github.com/matt-deboer/kuill/vendor/github.com/urfave/cli/app.go:268 +0x6ca
main.main()
/home/travis/gopath/src/github.com/matt-deboer/kuill/pkg/server/main.go:292 +0x25ea
looks like you hit a different snag :/ give it a try now with latest...