Make runnable binary
This commit is contained in:
parent
7eedd41bb9
commit
b3c1d98534
11 changed files with 368 additions and 23 deletions
api/v1alpha1
|
@ -22,23 +22,36 @@ import (
|
|||
|
||||
// KeycloakRealmSpec defines the desired state of KeycloakRealm
|
||||
type KeycloakRealmSpec struct {
|
||||
// Name is the name of the Realm
|
||||
Name string `json:"realmName"`
|
||||
// RealmName is the name and public identifier of the Realm
|
||||
RealmName string `json:"realmName"`
|
||||
|
||||
// User readable names
|
||||
DisplayName *string `json:"displayName,omitempty"`
|
||||
// Secret containing SMTP configuration
|
||||
SMTPSecretName string `json:"smtpSecretName,omitempty"`
|
||||
|
||||
// name shown to the user
|
||||
DisplayName *string `json:"displayName,omitempty"`
|
||||
// name including HTML tags, or representing a logo image
|
||||
DisplayNameHTML *string `json:"displayHTML,omitempty"`
|
||||
|
||||
// the name of the Theme used for the login pages
|
||||
LoginTheme *string `json:"loginTheme,omitempty"`
|
||||
|
||||
// Basic realm choices
|
||||
LoginWithEmailAllowed *bool `json:"loginWithEmailAllowed,omitempty"`
|
||||
RegistrationAllowed *bool `json:"registrationAllowed,omitempty"`
|
||||
// if the user can use their email address in the login field
|
||||
LoginWithEmailAllowed *bool `json:"loginWithEmailAllowed,omitempty"`
|
||||
// if a user is allowed to self-register via the registration flow
|
||||
RegistrationAllowed *bool `json:"registrationAllowed,omitempty"`
|
||||
// if the user should be able to change their username after account creation
|
||||
EditUsernameAllowed *bool `json:"editUsernameAllowed,omitempty"`
|
||||
// if the email should be used in place of a selectable user identifier
|
||||
RegistrationEmailAsUsername *bool `json:"registrationEmailAsUsername,omitempty"`
|
||||
ResetPasswordAllowed *bool `json:"resetPasswordAllowed,omitempty"`
|
||||
DuplicateEmailsAllowed *bool `json:"duplicateEmailsAllowed,omitempty"`
|
||||
VerifyEmail *bool `json:"verifyEmail,omitempty"`
|
||||
RememberMe *bool `json:"rememberMe,omitempty"`
|
||||
// if the user is allowed to use the reset password flow
|
||||
ResetPasswordAllowed *bool `json:"resetPasswordAllowed,omitempty"`
|
||||
// if emails can be registered multiple times
|
||||
DuplicateEmailsAllowed *bool `json:"duplicateEmailsAllowed,omitempty"`
|
||||
// if emails should be verified before the user can log into their account
|
||||
VerifyEmail *bool `json:"verifyEmail,omitempty"`
|
||||
// if long-lived sessions should be offered to the user upon login
|
||||
RememberMe *bool `json:"rememberMe,omitempty"`
|
||||
}
|
||||
|
||||
// KeycloakRealmStatus defines the observed state of KeycloakRealm
|
||||
|
|
|
@ -111,6 +111,11 @@ func (in *KeycloakRealmSpec) DeepCopyInto(out *KeycloakRealmSpec) {
|
|||
*out = new(bool)
|
||||
**out = **in
|
||||
}
|
||||
if in.EditUsernameAllowed != nil {
|
||||
in, out := &in.EditUsernameAllowed, &out.EditUsernameAllowed
|
||||
*out = new(bool)
|
||||
**out = **in
|
||||
}
|
||||
if in.RegistrationEmailAsUsername != nil {
|
||||
in, out := &in.RegistrationEmailAsUsername, &out.RegistrationEmailAsUsername
|
||||
*out = new(bool)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue