ContainerImage.Pinniped/test/library
Ryan Richard 288d9c999e Use custom suffix in Spec.Authenticator.APIGroup of TokenCredentialRequest
When the Pinniped server has been installed with the `api_group_suffix`
option, for example using `mysuffix.com`, then clients who would like to
submit a `TokenCredentialRequest` to the server should set the
`Spec.Authenticator.APIGroup` field as `authentication.concierge.mysuffix.com`.

This makes more sense from the client's point of view than using the
default `authentication.concierge.pinniped.dev` because
`authentication.concierge.mysuffix.com` is the name of the API group
that they can observe their cluster and `authentication.concierge.pinniped.dev`
does not exist as an API group on their cluster.

This commit includes both the client and server-side changes to make
this work, as well as integration test updates.

Co-authored-by: Andrew Keesler <akeesler@vmware.com>
Co-authored-by: Ryan Richard <richardry@vmware.com>
Co-authored-by: Margo Crawford <margaretc@vmware.com>
2021-02-03 15:49:15 -08:00
..
browsertest Clean up the browsertest package a bit. 2020-12-02 17:20:24 -06:00
access.go Allow multiple Pinnipeds to work on same cluster 2021-02-02 15:18:41 -08:00
assertions.go test/integration: add test helper to avoid race conditions 2021-01-14 10:19:35 -05:00
cli.go Add a library.PinnipedCLIPath() test helper, with caching. 2020-12-15 12:34:49 -06:00
client.go Use custom suffix in Spec.Authenticator.APIGroup of TokenCredentialRequest 2021-02-03 15:49:15 -08:00
dumplogs.go Allow multiple Pinnipeds to work on same cluster 2021-02-02 15:18:41 -08:00
env.go test: wire API group suffix through to tests 2021-01-19 17:23:20 -05:00
iotest.go Expose the MaskTokens function so other test code can use it. 2020-12-02 15:55:34 -06:00
iplookup_go1.14.go Fix a test issue with IPv6 localhost interfaces. 2020-12-02 17:49:21 -06:00
iplookup.go Fix a test issue with IPv6 localhost interfaces. 2020-12-02 17:49:21 -06:00
skip.go Save 2 lines by using inline-style comments for Copyright 2020-09-16 10:35:19 -04:00
spew.go Save 2 lines by using inline-style comments for Copyright 2020-09-16 10:35:19 -04:00