OpenIDConnectIdentityProvider CRD: missed regen in ba6bc7f105cff

This commit is contained in:
Andrew Keesler 2020-09-25 11:20:47 -04:00
parent b514492832
commit 24fb64ce75
No known key found for this signature in database
GPG Key ID: 27CE0444346F9413
8 changed files with 8 additions and 8 deletions

View File

@ -57,7 +57,7 @@ spec:
description: RedirectURI is the URI of the redirect endpoint that description: RedirectURI is the URI of the redirect endpoint that
will be used in the OAuth2 authorization request flow with an will be used in the OAuth2 authorization request flow with an
OIDC identity provider. OIDC identity provider.
pattern: ^https?:// pattern: ^https://
type: string type: string
scopes: scopes:
description: Scopes are the scopes that will be requested as part description: Scopes are the scopes that will be requested as part

View File

@ -22,7 +22,7 @@ type OpenIDConnectIdentityProviderStatus struct {
type OpenIDConnectAuthorizationConfig struct { type OpenIDConnectAuthorizationConfig struct {
// RedirectURI is the URI of the redirect endpoint that will be used in the OAuth2 authorization // RedirectURI is the URI of the redirect endpoint that will be used in the OAuth2 authorization
// request flow with an OIDC identity provider. // request flow with an OIDC identity provider.
// +kubebuilder:validation:Pattern=`^https?://` // +kubebuilder:validation:Pattern=`^https://`
RedirectURI string `json:"redirectURI"` RedirectURI string `json:"redirectURI"`
// Scopes are the scopes that will be requested as part of the authorization request flow with // Scopes are the scopes that will be requested as part of the authorization request flow with

View File

@ -57,7 +57,7 @@ spec:
description: RedirectURI is the URI of the redirect endpoint that description: RedirectURI is the URI of the redirect endpoint that
will be used in the OAuth2 authorization request flow with an will be used in the OAuth2 authorization request flow with an
OIDC identity provider. OIDC identity provider.
pattern: ^https?:// pattern: ^https://
type: string type: string
scopes: scopes:
description: Scopes are the scopes that will be requested as part description: Scopes are the scopes that will be requested as part

View File

@ -22,7 +22,7 @@ type OpenIDConnectIdentityProviderStatus struct {
type OpenIDConnectAuthorizationConfig struct { type OpenIDConnectAuthorizationConfig struct {
// RedirectURI is the URI of the redirect endpoint that will be used in the OAuth2 authorization // RedirectURI is the URI of the redirect endpoint that will be used in the OAuth2 authorization
// request flow with an OIDC identity provider. // request flow with an OIDC identity provider.
// +kubebuilder:validation:Pattern=`^https?://` // +kubebuilder:validation:Pattern=`^https://`
RedirectURI string `json:"redirectURI"` RedirectURI string `json:"redirectURI"`
// Scopes are the scopes that will be requested as part of the authorization request flow with // Scopes are the scopes that will be requested as part of the authorization request flow with

View File

@ -57,7 +57,7 @@ spec:
description: RedirectURI is the URI of the redirect endpoint that description: RedirectURI is the URI of the redirect endpoint that
will be used in the OAuth2 authorization request flow with an will be used in the OAuth2 authorization request flow with an
OIDC identity provider. OIDC identity provider.
pattern: ^https?:// pattern: ^https://
type: string type: string
scopes: scopes:
description: Scopes are the scopes that will be requested as part description: Scopes are the scopes that will be requested as part

View File

@ -22,7 +22,7 @@ type OpenIDConnectIdentityProviderStatus struct {
type OpenIDConnectAuthorizationConfig struct { type OpenIDConnectAuthorizationConfig struct {
// RedirectURI is the URI of the redirect endpoint that will be used in the OAuth2 authorization // RedirectURI is the URI of the redirect endpoint that will be used in the OAuth2 authorization
// request flow with an OIDC identity provider. // request flow with an OIDC identity provider.
// +kubebuilder:validation:Pattern=`^https?://` // +kubebuilder:validation:Pattern=`^https://`
RedirectURI string `json:"redirectURI"` RedirectURI string `json:"redirectURI"`
// Scopes are the scopes that will be requested as part of the authorization request flow with // Scopes are the scopes that will be requested as part of the authorization request flow with

View File

@ -57,7 +57,7 @@ spec:
description: RedirectURI is the URI of the redirect endpoint that description: RedirectURI is the URI of the redirect endpoint that
will be used in the OAuth2 authorization request flow with an will be used in the OAuth2 authorization request flow with an
OIDC identity provider. OIDC identity provider.
pattern: ^https?:// pattern: ^https://
type: string type: string
scopes: scopes:
description: Scopes are the scopes that will be requested as part description: Scopes are the scopes that will be requested as part

View File

@ -38,7 +38,7 @@ func TestOIDC(t *testing.T) {
Spec: idpv1alpha1.OpenIDConnectIdentityProviderSpec{ Spec: idpv1alpha1.OpenIDConnectIdentityProviderSpec{
Issuer: "https://some-issuer", Issuer: "https://some-issuer",
AuthorizationConfig: idpv1alpha1.OpenIDConnectAuthorizationConfig{ AuthorizationConfig: idpv1alpha1.OpenIDConnectAuthorizationConfig{
RedirectURI: "http://localhost:12345", RedirectURI: "https://some-redirect-uri:12345",
Scopes: []string{ Scopes: []string{
"tuna", "tuna",
"fish", "fish",