Polish up the github_upstream_watcher: default and verify spec.claims correctly

This commit is contained in:
Joshua Casey
2024-04-24 11:49:12 -05:00
parent c8b90df6f1
commit 14b1b7c862
26 changed files with 490 additions and 79 deletions

View File

@@ -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.

View File

@@ -114,6 +114,7 @@ spec:
- organizations
type: object
claims:
default: {}
description: Claims allows customization of the username and groups
claims.
properties: