Organization and OrgDomain
The fields of an organization and its domain, what their status reports, and why a domain is or is not verified.
An Org is the tenancy layer above namespaces: one company, with its namespaces as its teams and business units. This page lists the fields of an Org and its OrgDomain, what their status and reasons report, and the limits an Org sets.
apiVersion: core.ringleader.dev/v1
kind: OrgOrganizations and domains explains what an organization is for, how its domain is verified and how people join it. Namespaces and limits covers its namespaces and limits, and Namespace lists the fields of a namespace.
Org spec
apiVersion: core.ringleader.dev/v1
kind: Org
metadata:
name: acmecorp
spec:
displayName: Acme Corporation
plan: team
autoJoin: true
defaultNamespace: acmecorp| Field | Type | Description |
|---|---|---|
displayName | string | Human label. |
plan | string | free, team, or enterprise. |
suspended | bool | Hard stop (non-payment, abuse). Consumers gate on it. |
autoJoin | bool | Whether someone with an email at a verified domain of this org joins it automatically. |
defaultNamespace | string | The shared namespace new members land in. Unset: a namespace named after the org. |
defaultMemberRole | string | Which rung new members are bound to in a shared namespace: namespace-member (the default) or namespace-reader, the read-only rung for people who should see a namespace without being able to provision. See Built-in roles. |
billingAccountRef | string | A reference into the external billing system of record, never a ledger. |
maxNamespaces | integer | How many namespaces this org may hold. Minimum 1; defaults to 50. See Namespace count limit. |
maxRunningWorkstations | integer | How many of the org’s workstations may run at once. Unset: no limit. See Limit fields. |
maxVCPUs | integer | How many vCPUs the org’s running cloud workstations may use between them. Unset: no limit. |
maxGPUs | integer | How many GPUs the org’s running cloud workstations may use between them. Unset: no limit. |
domainTrustUntil | string | A deadline, as an RFC 3339 timestamp, until which the org’s domains admit members before DNS proves them. Unset by default. See Admission before DNS verifies the domain. |
settings | object | Free-form bag for opaque data. Ringleader never branches on its contents. |
Orgs are cluster-scoped and created by Ringleader operators. An org-admin
reads their own org but does not rewrite its plan or suspension state. What they
administer is everything under it, as Organization administrators explains.
The limits on running workstations, vCPUs and GPUs are in Limit fields on the Namespace page. They apply to an org, for all of its namespaces together, as well as to a namespace.
Org status
| Field | Type | Description |
|---|---|---|
message | string | The headline: the org's OIDC issuer documents are published, or the org's OIDC issuer documents are not published, so a cloud cannot validate an assertion for this org. |
oidc.published | bool | Whether the org’s issuer documents are live. |
oidc.keyIds | []string | The signing keys currently published for the org. |
oidc.lastPublished | string | When the documents last changed. |
oidc.message | string | The specific reason when publishing has not succeeded. |
A CloudAccount in the org derives its readiness from this status. Keyless cloud access explains what the published documents are for.
The local organization explains the reserved local org.
To read your organization’s id, which your cloud checks, see Find your organization id.
Domain verification
An OrgDomain claims a DNS domain for an org. Ringleader creates it, and an org-admin can read it but not change it. Domain verification explains verification and shows how to publish the record it asks for.
apiVersion: core.ringleader.dev/v1
kind: OrgDomain
metadata:
name: acme-com
spec:
org: acmecorp
domain: acme.com| Field | Type | Description |
|---|---|---|
org | string | Required. The owning org. |
domain | string | Required. The DNS domain to verify, e.g. acme.com. |
Organization domain status
Read the token to publish with rl orgdomain get <name> -o jsonpath='{.status.expectedToken}', as Publish your domain’s TXT record shows. The status reports these fields:
| Status field | Description |
|---|---|
message | The one human headline, e.g. acme.com is verified or waiting for the ringleader-verification= DNS TXT record to appear on acme.com. |
conditions[] | Verified (True/False) with a reason, and Attested while a trust window applies to the domain; see below. |
expectedToken | The token to publish. |
lastCheckedAt | When DNS was last resolved. |
verifiedAt | When it first verified. |
consecutiveFailures | How many checks in a row failed to find the record. Drives the de-verification grace window. |
pendingChecks | How many checks have run while still waiting for the record. Drives the pending backoff. |
matchedKeyId | Which verification key the live record matched. Set only while verified. |
The Verified condition’s reason tells you which situation you are in:
| Reason | Meaning |
|---|---|
Pending | Ringleader has issued the token; nobody has published the record yet. |
Verified | The record is live and matches. |
Rejected | Terminal: the domain is empty, reserved, or a public/free email domain. |
Conflict | Terminal: another organization verified this domain first. |
LookupFailed | De-verified after a grace window of failed DNS lookups. |
The Attested condition appears while a trust window applies to the domain, as Admission before DNS verifies the domain explains. Attested reads False when the window does not apply, and its reason says why:
| Reason | Meaning |
|---|---|
TrustExpired | The deadline has passed. The domain admits members only once DNS confirms the record. |
Conflict | Another org already claims this domain, so the window does not apply to it. |
Next steps
- Organization membership: which namespace a person lands in on their first sign-in.
- Organization administrators: what an org administrator may do and how to write a custom org role.
- Set up a team: onboard a company, from the namespace to its first policy. Ringleader creates the org, its landing namespace and its domain claim first.
- Roles and grants: namespaces, ownership, the role ladder, and Grants.
- CloudAccount: an org’s link to a cloud account, recording the cloud identity to use.
- Keyless cloud access: how the org’s id becomes the subject your cloud trusts.
- Policy and OrgPolicy: the org-wide and per-namespace constraints on what a Workstation file may name.