Make runnable binary
This commit is contained in:
parent
7eedd41bb9
commit
b3c1d98534
11 changed files with 368 additions and 23 deletions
config
108
config/crd/bases/keycloak.bitmask.me_keycloakrealms.yaml
Normal file
108
config/crd/bases/keycloak.bitmask.me_keycloakrealms.yaml
Normal file
|
@ -0,0 +1,108 @@
|
|||
|
||||
---
|
||||
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
|
||||
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
|
||||
smtpSecretName:
|
||||
description: Secret containing SMTP configuration
|
||||
type: string
|
||||
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
|
||||
id:
|
||||
type: string
|
||||
required:
|
||||
- available
|
||||
- id
|
||||
type: object
|
||||
type: object
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
status:
|
||||
acceptedNames:
|
||||
kind: ""
|
||||
plural: ""
|
||||
conditions: []
|
||||
storedVersions: []
|
34
config/rbac/role.yaml
Normal file
34
config/rbac/role.yaml
Normal file
|
@ -0,0 +1,34 @@
|
|||
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: manager-role
|
||||
rules:
|
||||
- apiGroups:
|
||||
- keycloak.bitmask.me
|
||||
resources:
|
||||
- keycloakrealms
|
||||
verbs:
|
||||
- create
|
||||
- delete
|
||||
- get
|
||||
- list
|
||||
- patch
|
||||
- update
|
||||
- watch
|
||||
- apiGroups:
|
||||
- keycloak.bitmask.me
|
||||
resources:
|
||||
- keycloakrealms/finalizers
|
||||
verbs:
|
||||
- update
|
||||
- apiGroups:
|
||||
- keycloak.bitmask.me
|
||||
resources:
|
||||
- keycloakrealms/status
|
||||
verbs:
|
||||
- get
|
||||
- patch
|
||||
- update
|
Loading…
Add table
Add a link
Reference in a new issue