Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

LldapAttributeSchema

An LldapAttributeSchema resource declares a custom attribute on either the user or group entity in lldap.

Each resource must carry the lldap-operator.lukidoescode.com/lldap-instance label whose value selects which lldap instance owns the attribute schema.

lldap does not support mutating an attribute schema after creation: the attribute can only be added or deleted. Updates to a schema’s type or flags require deleting and recreating the resource. Validation enforcing this constraint is tracked separately.

Example

apiVersion: lldap-operator.lukidoescode.com/v1alpha1
kind: LldapAttributeSchema
metadata:
  name: department
  labels:
    lldap-operator.lukidoescode.com/lldap-instance: default
spec:
  attributeName: "department"
  attributeType: "String"
  target: "User"
  isList: false
  isVisible: true
  isEditable: true

Spec Fields

FieldTypeRequiredDescription
attributeNamestringyesAttribute identifier (1–64 chars, [a-zA-Z][a-zA-Z0-9_]*)
attributeTypestringyesOne of String, Integer, JpegPhoto, DateTime
targetstringyesOne of User, Group
isListboolnoWhether the attribute holds multiple values
isVisibleboolnoWhether the attribute is visible to LDAP clients
isEditableboolnoWhether the attribute is editable through the lldap UI

Status

FieldTypeDescription
observedGenerationint64Last observed resource generation
conditionsCondition[]Standard Kubernetes conditions