118 Commits
Author SHA1 Message Date
Hidetake Iwata 356f0d519d Add debug log feature (#58) v1.10.0 2019-04-16 09:27:38 +09:00
Hidetake Iwata e84d29bc6b Fix flaky test (#61) 2019-04-16 09:13:39 +09:00
Hidetake Iwata ae80ebf148 Refactor: use dedicated Logger on authentication callback (#59) 2019-04-14 14:49:12 +09:00
Nathaniel Irons 5942c82b5f Change expected binary name to kubelogin (#57) 2019-04-12 10:16:18 +09:00
Hidetake Iwata a5f9c698ea Bump Go to 1.12.3 (#56) 2019-04-11 12:52:41 +09:00
Hidetake Iwata 40ef2c25b8 Update README.md 2019-04-11 10:48:19 +09:00
Hidetake Iwata 2422c46271 Refactor integration tests (#54)
* Refactor integration tests

* Refactor: move keys

* Refactor authserver

* Refactor: do not generate key on test runtime

* Refactor: package keys in integration tests

* Refactor: use context on sending browser request

* Refactor: use testing.T logger on integration tests
2019-04-11 10:43:05 +09:00
Hidetake Iwata 6ca0ee8013 Skip login if kubeconfig has valid ID token (#52)
* Skip login if kubeconfig has valid ID token

* Add integration test for skip login feature
2019-04-10 10:20:13 +09:00
Hidetake Iwata 9ac252667a Update README.md 2019-04-09 13:34:47 +09:00
Hidetake Iwata 000711f52e Add support of HTTP_PROXY, HTTPS_PROXY and NO_PROXY (#51) v1.9.1 2019-04-09 13:17:12 +09:00
Hidetake Iwata e465c4852b Introduce dig container (#50) 2019-04-09 12:37:44 +09:00
Hidetake Iwata 003badb0bc Fix nil pointer error (#49) 2019-04-09 10:19:25 +09:00
Hidetake Iwata 0873a193a5 Refactor: extract adaptors.Logger 2019-04-08 16:07:26 +09:00
Hidetake Iwata 5e80b1858e Refactor: logs 2019-04-08 16:07:26 +09:00
Hidetake Iwata c816281657 Refactor: add test of usecases.Login 2019-04-08 13:35:01 +09:00
Hidetake Iwata 0db49860f9 Refactor: extract adaptors.HTTPClientConfig 2019-04-08 13:35:01 +09:00
Hidetake Iwata d70c9db036 Refactor: extract adaptors.HTTP 2019-04-08 13:35:01 +09:00
Hidetake Iwata 675b5e5fff Refactor: extract adaptors.OIDC 2019-04-08 13:35:01 +09:00
Hidetake Iwata e3bfc321a2 Refactor: extract adaptors.KubeConfig 2019-04-08 13:35:01 +09:00
Hidetake Iwata b34d0fb32f Refactor: add di package 2019-04-08 13:35:01 +09:00
Hidetake Iwata 4c61a71ed4 Add test of adaptors.Cmd (#45) 2019-04-07 19:33:53 +09:00
Hidetake Iwata 8a02ed0fb0 Split cli package into adaptors and use-cases (#44) 2019-04-05 14:52:15 +09:00
Hidetake Iwata 3485c5408e Replace with errors.Errorf() and errors.Wrapf() (#43) 2019-04-05 12:12:00 +09:00
Hidetake Iwata fb99977e98 Update README.md 2019-04-05 10:53:32 +09:00
Hidetake Iwata 39b441a7c2 Run go get at once v1.9.0 2019-04-05 10:40:23 +09:00
Hidetake Iwata cde5becf67 Fix release in Makefile 2019-04-05 10:37:02 +09:00
Hidetake Iwata 460b14a159 Use CI context 2019-04-05 10:36:12 +09:00
Hidetake Iwata 8436fe3494 Merge pull request #42 from int128/krew
Add yaml for Krew installation
2019-04-05 10:28:23 +09:00
Hidetake Iwata 9d2319ee2f Do not set change log on release 2019-04-05 10:17:42 +09:00
Hidetake Iwata 75277378fc Add yaml for krew installation 2019-04-05 10:17:42 +09:00
Hidetake Iwata 89a1046ce3 Use goxzst for release 2019-04-05 09:58:34 +09:00
Baykonur 15d40413e4 HTTPS_PROXY support for kubelogin (#41)
adding HTTPS_PROXY support to kubelogin
2019-04-04 15:45:47 +09:00
Hidetake Iwata 8525ba5142 Merge pull request #40 from int128/refactor
Rename plugin to kubectl oidc-login
2019-03-29 16:59:55 +09:00
Hidetake Iwata dbddd6a07f Rename plugin to kubectl oidc-login
See the naming guide:
https://github.com/GoogleContainerTools/krew/blob/master/docs/NAMING_GUIDE.md
2019-03-29 16:43:53 +09:00
Hidetake Iwata 839877b45e Merge pull request #39 from int128/refactor
Move to gox/ghr/ghcp to fix version of k8s modules
2019-03-29 16:29:48 +09:00
Hidetake Iwata 99ed86e22e Move to gox/ghr/ghcp to fix version of k8s modules 2019-03-29 16:27:26 +09:00
Hidetake Iwata a78b746c29 Exclude /.idea 2019-02-27 10:54:07 +09:00
Hidetake Iwata 187bbc203c Merge pull request #32 from int128/dependabot/go_modules/github.com/mitchellh/go-homedir-1.1.0
Bump github.com/mitchellh/go-homedir from 1.0.0 to 1.1.0
2019-02-27 10:46:11 +09:00
dependabot[bot] d4b5e511bb Bump github.com/mitchellh/go-homedir from 1.0.0 to 1.1.0
Bumps [github.com/mitchellh/go-homedir](https://github.com/mitchellh/go-homedir) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/mitchellh/go-homedir/releases)
- [Commits](https://github.com/mitchellh/go-homedir/compare/v1.0.0...v1.1.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-28 20:20:06 +00:00
Hidetake Iwata 33241b8721 Update README.md 2018-11-20 16:46:02 +09:00
Hidetake Iwata b72cb63826 Fix up #25 1.8.2 2018-11-09 13:26:35 +09:00
Hidetake Iwata 63fda1db0f Merge pull request #25 from int128/kubectl-plugin
Add kubectl plugin support
1.8.1
2018-11-09 11:39:52 +09:00
Hidetake Iwata da95fe470f Add kubectl plugin support 2018-11-09 11:37:38 +09:00
Hidetake Iwata 4b08a49a51 Add workaround for Go Modules issue 1.8 2018-10-31 14:21:33 +09:00
Hidetake Iwata 9c74f3748b Merge pull request #23 from int128/oauth2cli
Import github.com/int128/oauth2cli
2018-10-31 14:16:25 +09:00
Hidetake Iwata 17e03f2abc Import github.com/int128/oauth2cli 2018-10-31 14:13:09 +09:00
Hidetake Iwata ebef81f9d7 Merge pull request #22 from int128/ignore-cert-errors
Skip invalid CA certs instead of raising error
2018-10-30 09:56:22 +09:00
Hidetake Iwata 8d0d82fb71 Skip invalid CA certs instead of raising error 2018-10-30 09:55:12 +09:00
Hidetake Iwata b600e54a12 Refactor e2e test 2018-10-29 14:04:10 +09:00
Hidetake Iwata 75317f88a1 Merge pull request #21 from int128/go111
Move to Go Modules
2018-10-29 13:50:01 +09:00