Files
homelab-v/k8s/infra/crossplane-crds/xrds/keycloak-builtin-objects.yaml
T
Vegard Hagen bff741753a feat(crossplane): try to organise crossplane crds
also add a keycloak-oidc-client composition
2025-01-03 14:55:12 +01:00

57 lines
1.9 KiB
YAML

apiVersion: apiextensions.crossplane.io/v1
kind: CompositeResourceDefinition
metadata:
name: xbuiltinobjects.keycloak.crossplane.io
spec:
group: keycloak.crossplane.io
names:
kind: XBuiltinObjects
plural: xbuiltinobjects
versions:
- name: v1alpha1
served: true
referenceable: true
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
realm:
type: string
description: Realm to import the builtin clients/roles from
builtinClients:
type: array
items:
type: string
description: List of clients to import from the realm
builtinRealmRoles:
type: array
items:
type: string
enum:
- offline_access
- uma_authorization
- admin
- create-realm
- default-roles-master
description: List of realm roles to import from the realm
builtinAuthenticationFlows:
type: array
items:
type: string
description: List of authentication flows to import from the realm
providerConfigName:
type: string
description: Name of the provider config to attach to the imported clients/roles
providerSecretName:
type: string
description: Name of the secret containing the provider credentials (Secret must have a label with key=type and value=provider-credentials to be found)
required:
- providerConfigName
- providerSecretName
- realm
required:
- spec