Skip to main content
Version: 3.0 (beta)

Teams

A team is a group of users (team members) and it can be granted access to clusters by creating cluster accounts for the team similar to cluster accounts of users.

SSO-Based Teams

If you have a single sign-on provider connected to Loft, the groups provided by your SSO provider are typically the basis for your teams in Loft.

Configuration

Metadata

Display Name

JSONPath in Team CRD:
 spec.displayName (type: string)

Kubernetes Name

JSONPath in Team CRD:
 metadata.name (type: string)

Description

JSONPath in Team CRD:
 spec.description (type: string)

Labels

JSONPath in Team CRD:
 metadata.labels (type: map[string]string)

Annotations

JSONPath in Team CRD:
 metadata.annotations (type: map[string]string)

Team Members

Users

JSONPath in Team CRD:
 spec.users (type: string[])

Kubernetes Groups

JSONPath in Team CRD:
 spec.groups (type: string[])

Advanced Options

Cluster Roles

JSONPath in Team CRD:
 spec.clusterRoles (type: ClusterRoleRef[])

Image Pull Secrets

JSONPath in Team CRD:
 spec.imagePullSecrets (type: SecretRef[])

Access To Team

JSONPath in Team CRD:
 spec.access (type: Access[])

CRDs

Team

apiVersion
string

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

kind
string

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

object (io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta)

ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.

object (com.github.loft-sh.api.pkg.apis.management.v1.TeamSpec)
object (com.github.loft-sh.api.pkg.apis.management.v1.TeamStatus)
{
  • "apiVersion": "string",
  • "kind": "string",
  • "metadata": {
    },
  • "spec": {
    },
  • "status": {
    }
}