mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-05 13:07:14 +00:00
Polish up the github_upstream_watcher: default and verify spec.claims correctly
This commit is contained in:
@@ -211,7 +211,7 @@ type GitHubIdentityProviderSpec struct {
|
||||
|
||||
// Claims allows customization of the username and groups claims.
|
||||
//
|
||||
// +optional
|
||||
// +kubebuilder:default={}
|
||||
Claims GitHubClaims `json:"claims,omitempty"`
|
||||
|
||||
// AllowAuthentication allows customization of who can authenticate using this IDP and how.
|
||||
|
||||
@@ -114,6 +114,7 @@ spec:
|
||||
- organizations
|
||||
type: object
|
||||
claims:
|
||||
default: {}
|
||||
description: Claims allows customization of the username and groups
|
||||
claims.
|
||||
properties:
|
||||
|
||||
Reference in New Issue
Block a user