types_jwt.go.tmpl: Replace spaces with tabs
This commit is contained in:
parent
406fc95501
commit
653224c2ad
@ -27,8 +27,8 @@ type JWTAuthenticatorSpec struct {
|
|||||||
// +kubebuilder:validation:MinLength=1
|
// +kubebuilder:validation:MinLength=1
|
||||||
Audience string `json:"audience"`
|
Audience string `json:"audience"`
|
||||||
|
|
||||||
// Claims allows customization of the claims that will be mapped to user identity
|
// Claims allows customization of the claims that will be mapped to user identity
|
||||||
// for Kubernetes access.
|
// for Kubernetes access.
|
||||||
// +optional
|
// +optional
|
||||||
Claims JWTTokenClaims `json:"claims"`
|
Claims JWTTokenClaims `json:"claims"`
|
||||||
|
|
||||||
@ -41,12 +41,12 @@ type JWTAuthenticatorSpec struct {
|
|||||||
// for Kubernetes access.
|
// for Kubernetes access.
|
||||||
type JWTTokenClaims struct {
|
type JWTTokenClaims struct {
|
||||||
// Groups is the name of the claim which should be read to extract the user's
|
// 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
|
// +optional
|
||||||
Groups string `json:"groups"`
|
Groups string `json:"groups"`
|
||||||
|
|
||||||
// Username is the name of the claim which should be read to extract the
|
// 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
|
// +optional
|
||||||
Username string `json:"username"`
|
Username string `json:"username"`
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user