keycloak-operator/config/crd/bases/keycloak.bitmask.me_keycloakrealms.yaml
2021-01-11 04:21:29 +01:00

157 lines
6.2 KiB
YAML

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.4.1
creationTimestamp: null
name: keycloakrealms.keycloak.bitmask.me
spec:
group: keycloak.bitmask.me
names:
kind: KeycloakRealm
listKind: KeycloakRealmList
plural: keycloakrealms
singular: keycloakrealm
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: KeycloakRealm is the Schema for the keycloakrealms API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: KeycloakRealmSpec defines the desired state of KeycloakRealm
properties:
displayHTML:
description: name including HTML tags, or representing a logo image
type: string
displayName:
description: name shown to the user
type: string
duplicateEmailsAllowed:
description: if emails can be registered multiple times
type: boolean
editUsernameAllowed:
description: if the user should be able to change their username after
account creation
type: boolean
enabled:
description: If the realm is enabled and active
type: boolean
loginTheme:
description: the name of the Theme used for the login pages
type: string
loginWithEmailAllowed:
description: if the user can use their email address in the login
field
type: boolean
realmName:
description: RealmName is the name and public identifier of the Realm
type: string
registrationAllowed:
description: if a user is allowed to self-register via the registration
flow
type: boolean
registrationEmailAsUsername:
description: if the email should be used in place of a selectable
user identifier
type: boolean
rememberMe:
description: if long-lived sessions should be offered to the user
upon login
type: boolean
resetPasswordAllowed:
description: if the user is allowed to use the reset password flow
type: boolean
smtp:
description: KeycloakRealmSMTP contains information about the SMTP
server used to send transactional mail (for registration and password
reset).
properties:
auth:
default: true
description: If authentication should be used
type: boolean
from:
description: From which address the emails will be sent, takes
precedence over the attribute defined in the secret.
type: string
fromDisplayName:
description: From which NAME the email should originate.
type: string
secret:
description: KeycloakRealmSMTPSecret contains Credentials for
connecting to a SMTP Server.
properties:
fromKey:
default: from
description: Key of the from attribute, contains the mail
address that email will be sent from.
type: string
hostKey:
default: host
description: Key of the host attribute
type: string
name:
description: Secret containing SMTP configuration
type: string
portKey:
default: port
description: Key of the port attribute
type: string
sslKey:
default: ssl
description: Key of the ssl attribute
type: string
startTLSKey:
default: starttls
description: Key of the starttls attribute
type: string
usernameKey:
default: username
description: Key of the username attribute
type: string
required:
- name
type: object
type: object
verifyEmail:
description: if emails should be verified before the user can log
into their account
type: boolean
required:
- realmName
type: object
status:
description: KeycloakRealmStatus defines the observed state of KeycloakRealm
properties:
available:
type: boolean
required:
- available
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []