types_jwt.go.tmpl: Replace spaces with tabs

This commit is contained in:
Ryan Richard 2020-12-16 12:21:30 -08:00
parent 406fc95501
commit 653224c2ad

View File

@ -27,8 +27,8 @@ type JWTAuthenticatorSpec struct {
// +kubebuilder:validation:MinLength=1
Audience string `json:"audience"`
// Claims allows customization of the claims that will be mapped to user identity
// for Kubernetes access.
// Claims allows customization of the claims that will be mapped to user identity
// for Kubernetes access.
// +optional
Claims JWTTokenClaims `json:"claims"`
@ -41,12 +41,12 @@ type JWTAuthenticatorSpec struct {
// for Kubernetes access.
type JWTTokenClaims struct {
// Groups is the name of the claim which should be read to extract the user's
// group membership from the JWT token. When not specified, it will default to "groups".
// group membership from the JWT token. When not specified, it will default to "groups".
// +optional
Groups string `json:"groups"`
// Username is the name of the claim which should be read to extract the
// username from the JWT token. When not specified, it will default to "username".
// username from the JWT token. When not specified, it will default to "username".
// +optional
Username string `json:"username"`
}