API Reference
All custom resources use:
apiVersion: pkg.internal/v1beta1
LakeFSUser
Represents a lakeFS user.
Important fields:
spec.externalId: external identifierspec.friendlyName: optional display name
Status:
status.conditions[type=Ready]
LakeFSCredential
Represents an access key and secret key for a user.
Important fields:
spec.userRef.namespec.accessKeyIdspec.secretRef.namespec.secretRef.keyspec.revokedspec.expiresAt
The operator creates or updates the referenced Secret with accessKeyId and the configured secret key field.
Status:
status.conditions[type=Ready]status.secretNamestatus.secretKey
LakeFSRole
Represents one or more lakeFS policy templates.
Important fields:
spec.descriptionspec.policies[].namespec.policies[].statement[].effectspec.policies[].statement[].actionspec.policies[].statement[].resource
Policy templates may include <REPOSITORY> in policy names or resources.
Status:
status.conditions[type=Ready]
LakeFSGroup
Represents a group of lakeFS users.
Important fields:
spec.externalId: external identifierspec.descriptionspec.users[].name
Status:
status.conditions[type=Ready]
LakeFSRoleBinding
Maps a LakeFSRole to either a LakeFSUser or a LakeFSGroup.
Important fields:
spec.subject.kind:LakeFSUserorLakeFSGroupspec.subject.namespec.roleRef.namespec.repository: repository scope, or*
Status:
status.conditions[type=Ready]
LakeFSGCPolicy
Represents reusable lakeFS garbage-collection retention rules and Kubernetes
CronJob settings. LakeFSGCPolicy is namespaced; repositories can select only
policies from their own namespace.
Important fields:
spec.schedule: Cron schedule for the managed GC jobspec.retention.defaultRetentionDaysspec.retention.branches[].branchIdspec.retention.branches[].retentionDays
Optional runtime override fields:
spec.spark.classNamespec.spark.jarURLspec.spark.packages[]spec.spark.conf[].namespec.spark.conf[].valuespec.spark.args[]spec.job.imagespec.job.command[]spec.job.serviceAccountNamespec.job.initContainers[]spec.job.env[]spec.job.envFrom[]spec.job.resourcesspec.job.volumeMounts[]spec.job.volumes[]
Status:
status.conditions[type=Ready]
LakeFSRepository
Represents a lakeFS repository that should exist.
Important fields:
spec.endpointspec.storageNamespacespec.defaultBranchspec.credentialsSecretRef.namespec.credentialsSecretRef.accessKeyIdKeyspec.credentialsSecretRef.secretAccessKeyKeyspec.gc.enabledspec.gc.policyRef.name: defaults todefaultin the repository namespace
Managed GC uses the repository credentials Secret as environment variables in
the generated CronJob. The Secret must be in the same namespace as the
LakeFSRepository when spec.gc.enabled is true.
The controller supplies the default GC runtime. Omit spec.job.image,
spec.job.command, spec.spark.className, and spec.spark.jarURL unless a
policy needs to override that prepared runtime.
Status:
status.conditions[type=Ready]status.repositorystatus.gcPolicystatus.gcCronJob
Conditions
All resources expose a standard Ready condition. The common reasons are:
Resolved: the resource is valid and availableInvalid: the resource spec or referenced data is incompleteUnavailable: a dependency or external API call is not available