Hidetake Iwata
bfc1568057
Bump the version
v1.18.0
2020-03-26 10:36:06 +09:00
Hidetake Iwata
8758d55bb3
go mod tidy
2020-03-26 10:29:32 +09:00
dependabot-preview[bot]
d9be392f5a
Build(deps): bump k8s.io/client-go from 0.17.3 to 0.17.4 ( #252 )
...
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.17.3 to 0.17.4.
- [Release notes](https://github.com/kubernetes/client-go/releases )
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kubernetes/client-go/compare/v0.17.3...v0.17.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-26 10:24:49 +09:00
dependabot-preview[bot]
af840a519c
Build(deps): bump github.com/golang/mock from 1.4.0 to 1.4.3 ( #253 )
...
Bumps [github.com/golang/mock](https://github.com/golang/mock ) from 1.4.0 to 1.4.3.
- [Release notes](https://github.com/golang/mock/releases )
- [Changelog](https://github.com/golang/mock/blob/master/.goreleaser.yml )
- [Commits](https://github.com/golang/mock/compare/v1.4.0...v1.4.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-26 10:24:31 +09:00
Hidetake Iwata
285b3b15a8
Bump to Go 1.14.1 ( #258 )
2020-03-26 10:13:54 +09:00
Matthew M. Boedicker
123d7c8124
Add --oidc-extra-url-params argument ( #255 )
...
* Add --oidc-extra-url-params argument
This accepts a comma-separated list of key-value pairs that will be
added to get token requests as query string parameters.
Closes #254 .
* Refactor
- move code setting the extra params to the authorization code flow specific functions (it is not needed in ROPC flow)
- add unit tests
- rename flag to --oidc-auth-request-extra-params
- add description to README.md
* Add integration test for --oidc-auth-request-extra-params
Co-authored-by: Hidetake Iwata <int128@gmail.com >
2020-03-25 11:52:53 +09:00
Hidetake Iwata
e2a6b5d4e2
Update README.md
2020-03-06 10:26:06 +09:00
dependabot-preview[bot]
ce93c739f8
Build(deps): bump github.com/int128/oauth2cli from 1.9.0 to 1.10.0 ( #246 )
...
Bumps [github.com/int128/oauth2cli](https://github.com/int128/oauth2cli ) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/int128/oauth2cli/releases )
- [Commits](https://github.com/int128/oauth2cli/compare/v1.9.0...v1.10.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-28 22:08:48 +09:00
Hidetake Iwata
dc646c88f9
Bump version to v1.17.1
2020-02-22 16:04:29 +09:00
Hidetake Iwata
07e34d2222
Refactor ( #245 )
...
* Refactor: use Command.Context
* Refactor: do not infer command name for help/version
v1.17.1
2020-02-22 15:40:43 +09:00
Hidetake Iwata
0e2d402c40
Bump github.com/int128/oauth2cli to v1.9.0 ( #244 )
...
* Bump github.com/int128/oauth2cli to v1.9.0
* Generate state parameter and pass to oauth2cli
* Refactor: use base64.NoPadding
2020-02-22 15:26:54 +09:00
Hidetake Iwata
db7c260f9d
go mod tidy
2020-02-22 12:41:11 +09:00
dependabot-preview[bot]
a95dc5c794
Build(deps): bump github.com/spf13/cobra from 0.0.5 to 0.0.6 ( #239 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 0.0.5 to 0.0.6.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/0.0.5...v0.0.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-22 12:39:26 +09:00
dependabot-preview[bot]
846804f611
Build(deps): bump k8s.io/client-go from 0.17.2 to 0.17.3 ( #236 )
...
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.17.2 to 0.17.3.
- [Release notes](https://github.com/kubernetes/client-go/releases )
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kubernetes/client-go/compare/v0.17.2...v0.17.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-22 12:32:56 +09:00
Hidetake Iwata
8b9e31b4c5
Refactor: error messages and testing/logger ( #243 )
...
* Refactor: respect -v option in testing/logger
* Refactor: revise error messages
2020-02-22 12:31:00 +09:00
Hidetake Iwata
bc99af6eab
Merge pull request #242 from int128/refactor
...
Refactor
2020-02-21 23:37:32 +09:00
Hidetake Iwata
e3bec130f4
Refactor: fix mock package path
2020-02-21 22:59:59 +09:00
Hidetake Iwata
d59e3355fe
Refactor: rename to adaptor/reader
2020-02-21 22:56:43 +09:00
Hidetake Iwata
9d2d0109d5
Refactor: extract adaptor/clock and testing/clock
2020-02-21 22:49:48 +09:00
Hidetake Iwata
aac8780caf
Refactor: move to testing/logger
2020-02-21 22:39:27 +09:00
Hidetake Iwata
f89525b184
Refactor: extract domain/jwt and testing/jwt ( #241 )
...
* Refactor: extract domain/jwt and testing/jwt
* Refactor: remove jwt-go dep from product code
2020-02-21 22:33:08 +09:00
Hidetake Iwata
a46dab3dfd
Fix error if multiple aud claim is given ( #240 )
2020-02-21 09:58:01 +09:00
Hidetake Iwata
42879dc915
Revise setup instruction ( #235 )
v1.17.0
2020-02-12 21:27:08 +09:00
Hidetake Iwata
7ce98c7119
Add --certificate-authority-data option ( #233 )
2020-02-12 10:15:12 +09:00
dependabot-preview[bot]
8b5e87de75
Build(deps): bump github.com/coreos/go-oidc ( #221 )
...
Bumps [github.com/coreos/go-oidc](https://github.com/coreos/go-oidc ) from 2.1.0+incompatible to 2.2.1+incompatible.
- [Release notes](https://github.com/coreos/go-oidc/releases )
- [Commits](https://github.com/coreos/go-oidc/compare/v2.1.0...v2.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-11 17:06:10 +09:00
Hidetake Iwata
1b545e1c58
Refactor: Use BROWSER env var to run chrome-login script ( #232 )
...
* Use BROWSER env var to run chrome-login script
* Update acceptance-test-diagram.svg
* Added acceptance-test-diagram.svg
2020-02-11 16:06:04 +09:00
Hidetake Iwata
2fa306c348
Improve error message if cannot open browser ( #230 )
2020-02-11 15:50:10 +09:00
Hidetake Iwata
9018cd65c5
Refactor: rename to integration_test ( #228 )
2020-02-07 20:58:13 +09:00
Hidetake Iwata
9fe6a09943
Fix flaky acceptance test ( #229 )
2020-02-07 20:45:51 +09:00
Hidetake Iwata
c53d415255
Refactor test and interfaces ( #227 )
...
* Refactor: extract adaptors.browser package
* Refactor: rename to idp.Provider
* Refactor: rename to adaptors.credentialpluginwriter
2020-02-07 11:56:31 +09:00
Hidetake Iwata
aa0718df16
Refactor: Makefile of e2e_test/keys/testdata ( #226 )
2020-02-06 10:44:55 +09:00
Hidetake Iwata
40698536b0
Delete Dockerfile
...
Fix up #224
2020-02-05 00:31:35 +09:00
Hidetake Iwata
7ec53a5dd1
Reduce time of acceptance test ( #224 )
...
* Reduce time of acceptance test
* Update README.md
2020-02-05 00:30:13 +09:00
Hidetake Iwata
3a28e44556
Add Docker usage ( #223 )
2020-02-02 10:55:47 +09:00
Hidetake Iwata
f8cca818af
Add acceptance test ( #222 )
...
* Add acceptance test
* Update README.md
* Update README.md
* Added acceptance-test-diagram.svg
* Update README.md
* Add files via upload
* Added acceptance-test-diagram.svg
* Added acceptance-test-diagram.svg
* Update README.md
* Update README.md
2020-01-31 21:45:23 +09:00
Hidetake Iwata
0c6ca03eb9
Fix docker build error ( #220 )
...
upstream: https://github.com/int128/kubelogin-docker/pull/1
2020-01-24 11:14:11 +09:00
Hidetake Iwata
fe2fbcbc53
Refactor: use ghcp for release assets and PR ( #219 )
v1.16.0
2020-01-24 10:59:08 +09:00
Hidetake Iwata
812a965739
go mod tidy
2020-01-24 10:51:45 +09:00
dependabot-preview[bot]
6de1fca64c
Build(deps): bump gopkg.in/yaml.v2 from 2.2.7 to 2.2.8 ( #217 )
...
Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml ) from 2.2.7 to 2.2.8.
- [Release notes](https://github.com/go-yaml/yaml/releases )
- [Commits](https://github.com/go-yaml/yaml/compare/v2.2.7...v2.2.8 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-24 10:50:42 +09:00
Hidetake Iwata
0eb8cdc95f
Add Dockerfile for release ( #218 )
2020-01-24 10:46:05 +09:00
dependabot-preview[bot]
995c0997d5
Build(deps): bump github.com/golang/mock from 1.3.1 to 1.4.0 ( #215 )
...
Bumps [github.com/golang/mock](https://github.com/golang/mock ) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/golang/mock/releases )
- [Changelog](https://github.com/golang/mock/blob/master/.goreleaser.yml )
- [Commits](https://github.com/golang/mock/compare/1.3.1...v1.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-23 10:59:56 +09:00
dependabot-preview[bot]
18b2437819
Build(deps): bump k8s.io/client-go from 0.17.1 to 0.17.2 ( #216 )
...
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.17.1 to 0.17.2.
- [Release notes](https://github.com/kubernetes/client-go/releases )
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kubernetes/client-go/compare/v0.17.1...v0.17.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-23 10:54:29 +09:00
dependabot-preview[bot]
5d5a33b8ea
Build(deps): bump k8s.io/client-go from 0.17.0 to 0.17.1 ( #212 )
...
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.17.0 to 0.17.1.
- [Release notes](https://github.com/kubernetes/client-go/releases )
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kubernetes/client-go/compare/v0.17.0...v0.17.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-20 11:24:47 +09:00
Hidetake Iwata
a614943642
Bump version of k8s.io/client-go, k8s.io/apimachinery ( #210 )
2020-01-17 22:31:48 +09:00
Hidetake Iwata
d223175b92
Refactor dependency injection ( #209 )
...
* Refactor: use func type instead of factory interface
* Refactor: remove duplicated dependencies in di.go
2020-01-17 22:01:40 +09:00
Hidetake Iwata
6075c9dbe7
Add --listen-address option to bind all interfaces ( #208 )
2020-01-17 20:57:05 +09:00
Hidetake Iwata
be43c2ab82
Refactor: improve CI portability ( #205 )
2020-01-10 12:19:43 +09:00
Hidetake Iwata
512df0c4e4
go mod tidy
2020-01-09 15:56:20 +09:00
dependabot-preview[bot]
5d5292637f
Build(deps): bump github.com/google/go-cmp from 0.3.1 to 0.4.0 ( #204 )
...
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp ) from 0.3.1 to 0.4.0.
- [Release notes](https://github.com/google/go-cmp/releases )
- [Commits](https://github.com/google/go-cmp/compare/v0.3.1...v0.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-09 14:51:38 +09:00
Hidetake Iwata
76f61300d6
Refactor: extract oidc.Claims model ( #202 )
...
* Refactor: extract oidc.Claims model
* Refactor: extract Claims.IsExpired()
2019-12-26 20:17:30 +09:00