Deployment Profile reference
openlakeforge.yaml at the project root says where a project deploys, which
stages it runs, how people reach its services and who may sign in. This page
lists every field, its type and default, and the rules olf checks across
fields.
The file is validated against docs/schema/deployment-profile.schema.json and
then by tools/olf/olf/common/profile.py, which is the authority where the two differ.
Check a profile without deploying:
olf profile validate --project .olf profile resolve --project . --jsonEvery object rejects fields it does not list. The decisions behind the model are in ADR 0011 (profile and stages), ADR 0013 (access) and ADR 0014 (identity).
A complete example
Section titled “A complete example”apiVersion: openlakeforge.io/v1beta1kind: DeploymentProfile
metadata: name: openlakeforge
spec: provider: type: local preset: slim stages: dev: enabled: true prod: enabled: true access: base_domain: olf.localhost tls: local-ca identity: issuer: github github: organization: my-org teams: platform-admin: [platform-team] analyst: [analysts] oauth_app_secret_ref: name: github-oauth-appEnvelope
Section titled “Envelope”| Field | Type | Required | Meaning |
|---|---|---|---|
apiVersion |
string | yes | Must be openlakeforge.io/v1beta1. A v1alpha1 file is refused until olf project migrate rewrites it (migration guide). |
kind |
string | yes | Must be DeploymentProfile. |
metadata |
object | yes | See below. |
spec |
object | yes | See below. |
metadata
Section titled “metadata”| Field | Type | Required | Meaning |
|---|---|---|---|
name |
string | yes | Names this deployment. Must match ^[a-z](https://github.com/OpenLakeForge/openlakeforge/tree/v0.7.5-beta.1/docs/reference/[a-z0-9-]{0,61}[a-z0-9])?$: it becomes the openlakeforge.io/profile label on every namespace the deployment owns, and teardown finds them by it. It is also the bucket prefix (<name>-<stage>-<layer>, plus <name>-ops on local and Azure, ADR 0004). A bucket name is at most 63 characters, so name is at most 51 (<name>-prod-bronze) and cannot start with xn--. On provider.type: aws it is at most 42, because the UAT and PROD buckets also carry a -<suffix> of 8 random characters (<name>-prod-bronze-<suffix>); olf profile validate rejects a longer name and prints the length the bucket name would reach. Changing it on a deployed local or Azure platform renames the buckets: see “Renaming buckets” in Back up and restore. |
| Field | Type | Required | Default | Meaning |
|---|---|---|---|---|
provider |
object | yes | Where the platform runs. | |
preset |
slim or full |
yes | Default optional capabilities for every stage. | |
stages |
object | yes | Which lifecycle stages exist. | |
access |
object | no | absent: no ingress | How user-facing services are published. |
identity |
object | no | absent: sign-in off | Who may sign in and which roles they hold. |
project |
object | no | absent: the public example image | Your project’s source repository and image registry. |
query |
object | no | size: small |
Default Trino size for every stage. |
storage |
object | no | provider adapter; size: small |
Object storage adapter and self-hosted size. size is rejected on aws. |
cluster |
object | no | provider default | Cluster adapter selector. |
catalog |
object | no | provider default | Catalog adapter selector. |
metadata_database |
object | no | provider default | Metadata database adapter selector. |
state |
object | no | backend: local |
Terraform state backend selector. |
observability |
object | no | log archive on; metrics by preset; search and Grafana off | Which observability capabilities the platform offers. |
spec.provider
Section titled “spec.provider”| Field | Type | Required | Meaning |
|---|---|---|---|
type |
local, aws or azure |
yes | The deployment target. local is a kind cluster on this machine. aws and azure are preview: the schema accepts them, but the beta compatibility promise covers local only (see releasing.md). olf profile validate prints a notice for them. |
region |
string, non-empty | no | Cloud region. Rejected when type is local. Used for aws; when unset, AWS_REGION and then eu-west-1 apply. For azure the region comes from the foundation tfvars (AZURE_TFVARS_FILE). |
type selects the deployment target and the default adapter for each
capability. The optional selectors below currently accept only those
defaults. Unsupported selections name their implementation issue; they never
silently deploy the provider default instead.
Field under spec |
Local | AWS (preview) | Azure (preview) | Other selections |
|---|---|---|---|---|
cluster.adapter |
kind |
eks |
aks |
Existing Kubernetes: #802 |
storage.adapter |
seaweedfs |
s3 |
seaweedfs |
External S3-compatible: #803 |
catalog.adapter |
polaris |
glue |
polaris |
AWS Polaris: #681 |
metadata_database.adapter |
postgresql |
rds |
postgresql |
External PostgreSQL: #335 |
state.backend |
local |
local |
local |
Remote state: #905/#132 |
olf profile resolve --project . --json includes an adapters object with
all five resolved choices. Omitting the selectors has the same effect as
writing the provider defaults. These selectors add no support for existing
clusters or external services yet; their connection settings arrive with the
corresponding implementation.
spec.preset
Section titled “spec.preset”| Value | analytics default |
governance default |
|---|---|---|
slim |
false |
false |
full |
true |
true |
The preset is the default for each stage’s capabilities (below); a stage that
states its capabilities keeps its own values.
spec.query and spec.storage
Section titled “spec.query and spec.storage”Each takes one optional field, size, which defaults to small.
spec.storage.size is one size for the whole platform. spec.query.size is
the default for every stage, and stages.<stage>.query.size overrides it for
one stage (a small DEV beside a larger PROD). On the local provider each
stage runs its own coordinator at its own size; AWS and Azure still render one
shared Trino, at the largest enabled stage’s size.
| Field | Type | Default | Meaning |
|---|---|---|---|
spec.query.size |
small |
small |
Default Trino size for every stage. small is coordinator only, no workers. |
spec.stages.<stage>.query.size |
small |
spec.query.size |
That stage’s Trino size; same values and rejections as spec.query.size. |
spec.storage.size |
small, medium, large |
small |
The SeaweedFS object storage volumes. Not valid on aws. |
query.size accepts only small: medium and large fail validation with a
message naming the issue that will implement them (#324), so a profile never
asks for capacity the deployment does not provide. Any other value, and any
CPU, memory, worker or volume field, is rejected as an unknown value or field.
A profile that omits both fields deploys exactly as it did before they existed,
and olf profile resolve prints sizes: storage=small and each enabled
stage’s query= size (query and storage in --json, query per stage).
query.size picks one row of release/query-sizes.yaml, which sets Trino’s
workers, heap, memory, per-query limits and query.max-stage-count, and the
stage’s Dagster run-queue limit (max_concurrent_runs). It changes only the
Trino and Dagster Helm values, never the project image or a ProjectRevision. The local root
receives the row as its query_sizing Terraform variable; the AWS and Azure
roots keep their own Trino values until their adapters read it. The medium and large
rows are defined but not yet accepted: workers still need network flows to the
coordinator, authentication across nodes
(#367) and a kind
run (#324). Their values are placeholders until the
#328 and
#329 baseline.
Every query.size row sets max_stage_count: 300, twice Trino’s default of
150. A query uses about two stages per table it reads, so one Gold query can
read at most about 150 tables; Trino refuses a wider one with
QUERY_HAS_TOO_MANY_STAGES. Split such a model into staging models, each over
fewer tables. Each stage costs the coordinator scheduling work and memory, so
raise the value in release/query-sizes.yaml only together with the
coordinator heap.
storage.size picks one row of release/storage-sizes.yaml, which sets the
PVC size of the SeaweedFS master, filer and volume server and the number of
volume slots on the volume server. It reaches the local and Azure roots as the
storage_size Terraform variable. The Terraform SeaweedFS module and olf
(for the expansion rule below) read that one file. The medium and large rows are provisional starting
values taken from the rough ranges below; the #329 report will calibrate them,
and nothing here has measured how much data a host or cluster needs for them.
A capacity preflight is #327.
| Size | Trino (release/query-sizes.yaml) |
SeaweedFS volume server | Master / filer metadata | Aimed at (provisional) | Available |
|---|---|---|---|---|---|
small |
Coordinator only (workers: 0), 2G heap, 4Gi memory limit |
20Gi, 80 slots | 1Gi / 5Gi | Tens of GB: laptop, evaluation | Yes |
medium |
Row defined (coordinator plus 2 workers), not yet selectable | 300Gi, 380 slots | 2Gi / 20Gi | A few hundred GB: one team, one or two domains | Storage only; Trino: #324 |
large |
Row defined (coordinator plus 4 workers), not yet selectable | 2Ti, 2128 slots | 5Gi / 50Gi | 1-5 TB: several domains of about 100 tables each | Storage only; Trino: #324 |
Changing the storage size
Section titled “Changing the storage size”A volume only grows. olf deploy compares storage.size with the
PersistentVolumeClaims it finds before it changes anything:
| Change | Result |
|---|---|
| Same size, or a first deployment | Nothing to do. |
Larger, and the claim’s StorageClass sets allowVolumeExpansion: true |
olf expands the claims, then applies. The data stays. |
| Larger, and the StorageClass does not allow expansion | Refused before anything is applied. The message names the StorageClass. |
| Smaller | Refused before anything is applied, whatever the StorageClass allows. |
olf never deletes and recreates a volume to apply a size. Kubernetes does not
let a StatefulSet’s volume claim template change, which is where the SeaweedFS
chart writes the size, so when it expands claims olf also deletes the three
SeaweedFS StatefulSets with --cascade=orphan (the controller objects only;
pods and volumes are left alone) and the apply recreates them.
On the local profile the kind cluster’s default StorageClass, standard, is
the rancher.io/local-path provisioner. kind v0.32.0 installs it from
pkg/build/nodeimage/const_storage.go without allowVolumeExpansion, which
defaults to false, so a deployment on kind can start at any size but cannot
grow or shrink afterwards. Check what your cluster allows:
kubectl get storageclass -o custom-columns=NAME:.metadata.name,EXPANDABLE:.allowVolumeExpansionTo change the size where expansion is refused, start a deployment at the size you want and move the data over. On the local profile that means rebuilding the cluster, which deletes all Bronze, Silver and Gold data and the run history:
- Set
spec.storage.sizeinopenlakeforge.yaml. - Run
olf destroy --provider local. - Run
olf deploy --provider local. - Re-run your pipelines to rebuild the tables from their sources.
olf infra restore cannot carry data across this change: it refuses a backup
taken with a different openlakeforge.yaml
(Back up and restore). If the tables
cannot be rebuilt from their sources, do not change the size.
spec.stages
Section titled “spec.stages”An object with at least one of the keys dev, uat and prod. Any other key is
rejected. A stage left out is disabled: prod is never created implicitly.
Each stage takes:
| Field | Type | Default | Meaning |
|---|---|---|---|
enabled |
boolean | true |
Whether the stage is deployed. |
capabilities |
object | the preset’s defaults | Optional services in this stage. |
source_egress |
object | absent: no external egress | External ports this stage’s Bronze sources reach. |
capabilities takes:
| Field | Type | Default | Meaning |
|---|---|---|---|
analytics |
boolean | false |
Deploy Superset in this stage. |
governance |
boolean | false |
Deploy OpenMetadata governance for this stage. |
The preset defaults apply only when the stage has no capabilities object at
all. Once capabilities is written, a capability it leaves out is false.
A disabled stage resolves both capabilities to false whatever was written.
source_egress takes one field, ports: a non-empty list of distinct TCP port
numbers. On local, the stage’s Dagster run pods may open those ports to any
address outside the cluster’s pod and Service ranges, and no other pod gets
them; a stage without source_egress reaches nothing outside the cluster
(ADR 0017, F34). NetworkPolicy
cannot name a host, so the hosts themselves stay in the stage’s source
bindings. The AWS and Azure roots apply no NetworkPolicy, so there the field
has no effect. A disabled stage gets no egress whatever was written.
stages: dev: source_egress: ports: [443, 5432] # an HTTPS API and a PostgreSQL sourcespec.project
Section titled “spec.project”Omit the block and the deployment uses OpenLakeForge’s public example image
(ghcr.io/openlakeforge/openlakeforge/project-code). Declare it and the deployment is yours:
it never falls back to the example.
| Field | Type | Required | Meaning |
|---|---|---|---|
repository |
https:// or ssh:// URL |
no | Where the project’s source lives. Provenance only: olf infra project image and build use the checked-out directory, never a fetched ref. |
image.repository |
host[:port]/path |
no on aws/azure (the provider registry, ECR or ACR, is used), yes on local |
The project-code image repository. Registry host first, lowercase, no tag or digest. A bare acme/code is rejected, not read as Docker Hub. |
image.pull_secret_ref.name |
Kubernetes Secret name | no | A kubernetes.io/dockerconfigjson Secret you create in each stage namespace, for a private image. The profile holds the name, never the credential. |
The block must declare repository or image. Unknown fields (password,
token, …), credentials or a query string in a URL, and a tag or digest on
the image are rejected, as is a pull secret without an image.
The image repository resolves in this order, first match wins
(olf profile resolve prints the winner as project.source):
spec.project.image.repository(profile);PROJECT_CODE_IMAGE_REPOSITORY, or itsAWS_/AZURE_alias (environment; a malformed value is an error);- the provider registry, for a project that declares only
repositoryonawsorazure(provider-default); - the public example, only when
spec.projectis absent (public-example).
Existing profiles have no spec.project and keep working unchanged.
On the local provider the public example is the project-code image the release
published, pinned by digest in the project_code entry of the package’s
release/component-catalog.yaml. olf infra deploy pulls it once on the workstation
and loads it into kind, so no Docker build and no registry credential is needed
and the pods pull nothing. A
source checkout carries no such entry (a release stamps in the digest of the
image built from its own commit), so there olf infra deploy builds the example
locally. So does anything that is not the unmodified example: a lakehouse_code/
in your project that differs from the bundled one, PROJECT_CODE_IMAGE_TAG, or
a machine that is not amd64 (the release image is amd64 only).
On aws and azure the same pin is deployed as it is, with the same conditions
(a non-amd64 *_IMAGE_PLATFORM also builds): the cluster pulls the public
package, and nothing is built or pushed to ECR or ACR. Anything else builds and
pushes to the provider registry. For the example, olf infra project image prints that
pinned reference without building, so olf infra project build and olf infra project deploy
promote one image digest through the stages. On local, olf infra project image
pushes to the resolved repository above; a lakehouse_code/ that differs from
the bundled one with neither spec.project.image.repository nor
PROJECT_CODE_IMAGE_REPOSITORY is refused, never pushed to the public example’s
package.
# Local, your own image on GHCR (private: also name the pull secret).project: repository: https://github.com/acme/lakehouse.git image: repository: ghcr.io/acme/lakehouse-code pull_secret_ref: {name: ghcr-pull}# AWS: ECR is the default registry, so only the source is declared.project: repository: https://github.com/acme/lakehouse.git# AWS/Azure with an explicit registry.project: image: repository: 123456789012.dkr.ecr.eu-west-1.amazonaws.com/acme/lakehouse-code # or acme.azurecr.io/...Pulling a private image
Section titled “Pulling a private image”olf never creates the pull Secret and never reads a registry credential.
Create it yourself in each stage namespace that runs the project, with a
read-only token (for GHCR, a personal access token with read:packages; not
the Actions GITHUB_TOKEN, which expires with the workflow run):
kubectl create secret docker-registry ghcr-pull -n olf-dev \ --docker-server=ghcr.io --docker-username=<user> --docker-password=<token>Repeat for olf-uat and olf-prod. To rotate, recreate the Secret under the
same name; running pods keep their pulled image and the next pull uses the new
token. Before rolling anything out, olf infra project deploy checks that the Secret
exists in the stage namespace, has type kubernetes.io/dockerconfigjson and
lists the image’s registry. A failed check leaves the running revision and
ACTIVE.json untouched. It does not contact the registry, so an expired or
revoked token shows up as ImagePullBackOff on the pod.
The activation then names the Secret in imagePullSecrets on the code-location
Deployments (and, through them, Dagster run pods) and, on a provider with no node
log collector (AWS and Azure), on the openlakeforge-k8s-log-archive CronJob, and
adds it to the stage’s dagster ServiceAccount, which Floe Jobs run as. A rollback restores the Secret the
previous release used.
spec.observability
Section titled “spec.observability”Names capabilities, not products: no field selects a metrics or log backend.
It is platform-wide, not per stage. olf profile validate and olf profile resolve check and print it, and olf profile resolve --json reports the
resolved values as observability, including when the block is omitted.
Terraform reports the resolved values in the provider contract’s
shared.observability,
but only metrics and the alerts act on them today, on the local provider:
metrics.enabled deploys a Prometheus server in olf-system that keeps
metrics.retention_days of history on a volume sized by spec.storage.size
(ADR 0024; the
series it serves and its footprint are in metrics), and with
at least one receiver an evaluator CronJob posts notifications to it (send
alerts to a webhook). The other fields change
no running component yet.
| Field | Type | Default | Meaning |
|---|---|---|---|
logs.archive.retention_days |
integer, 1 to 3650 | 30 |
How long the durable log archive keeps logs. On the local provider the object store expires collector archives (format v2) after this many days; see the log archive guide. The archive is always on, so there is no enabled switch and a profile that sets logs.archive.enabled is rejected. |
logs.search.enabled |
boolean | false |
Indexed log search. Browsing archived logs does not need it. |
metrics.enabled |
boolean | false with preset: slim, true with preset: full |
Metrics collection and history. An explicit value wins over the preset. |
metrics.retention_days |
integer, 1 to 3650 | 7 |
How long metrics history is kept. |
grafana.enabled |
boolean | false |
Grafana for operators. |
alerts.receivers |
list | empty | Where alert notifications go; see below. |
alerts.platform_receivers |
list of receiver names | every receiver | The receivers told about platform conditions: a stage whose Dagster cannot be read (stage_unreadable), an alert policy the evaluator cannot use (policy_unreadable), a degraded platform service (service_degraded) and a platform API the evaluator cannot read (health_unreadable). A project’s alerts.yml cannot route these. Each name must be a declared receiver; the list is non-empty and has no repeats. |
A receiver takes name (lowercase, same pattern as metadata.name, unique in
the list) and type, both required. The types are webhook, a generic HTTPS
endpoint, and github-discussions, a repository’s Discussions; email and
slack are rejected until they exist. The other required fields depend on the
type:
| Type | Required | Rejected |
|---|---|---|
webhook |
secret_ref |
repository, category |
github-discussions |
repository, category |
secret_ref |
secret_ref takes name and key, both required: the Kubernetes Secret
(created out-of-band) and the data key that hold the receiver’s credential. A
credential written inline is rejected as an unknown field.
repository is owner/name (letters, digits and - in the owner; letters,
digits, ., _ and - in the name) and category is the name of a
Discussions category in it. A github-discussions receiver holds no
credential of its own: it posts as the GitHub App whose credentials sit in the
Secret spec.identity.github.oauth_app_secret_ref names (keys app-id and
private-key), so the profile must set spec.identity.issuer: github and the
App must be installed on the repository’s owner with the Discussions
permission (Connect GitHub).
olf infra alerts bind has nothing to bind for a github-discussions receiver.
identity: issuer: github github: organization: my-org teams: platform-admin: [olf-admins] oauth_app_secret_ref: name: github-oauth-appobservability: alerts: receivers: - name: team-discussions type: github-discussions repository: my-org/olf-alerts category: Alerts stages: [dev, prod]A receiver may also take stages, a non-empty list of stage names without
repeats (dev, uat, prod), each of which must be enabled in spec.stages.
It limits the receiver to alerts from those stages. Leaving it out means every
enabled stage, and olf profile resolve --json always shows the effective list.
alerts.platform_receivers lists the receivers that get platform conditions.
A receiver left out still gets the alerts a project’s alerts.yml routes to
it. olf profile resolve --json shows the effective list as
observability.alerts.platform_receivers. A receiver’s stages limits platform
conditions too, so a prod-only receiver never hears about dev.
observability: logs: archive: retention_days: 90 metrics: enabled: true alerts: receivers: - name: on-call type: webhook stages: [prod] secret_ref: name: alert-webhooks key: webhook-url - name: data-eng type: webhook secret_ref: name: alert-webhooks key: chat-url platform_receivers: [on-call]spec.access
Section titled “spec.access”Declaring the block turns the ingress on; access: {} asks for the defaults.
Without it there is no ingress at all.
| Field | Type | Default | Meaning |
|---|---|---|---|
base_domain |
string | olf.localhost |
Lowercase DNS name with at least one dot. Every service host is <service>.<base_domain> or <service>-<stage>.<base_domain>, and the portal is served at the base domain itself. |
tls |
none, local-ca or external |
none on local, local-ca elsewhere |
Who terminates TLS for the routes. none serves plain HTTP and is valid only on local with a *.localhost base domain. local-ca signs the routes with a CA the platform creates; it is for evaluation, because every browser must trust that CA (olf infra access trust). external means your own proxy, tunnel or load balancer terminates HTTPS in front of OpenLakeForge: Traefik serves HTTP and every generated URL, callback and cookie is https://; it needs a base_domain that does not end in .localhost. issuer was the v1alpha1 name of this field and is rejected in v1beta1. cert-manager and the CA are deployed with every value, for the CA ConfigMap the pods mount; with none the CA is not backed up (ADR 0013 D9). |
trusted_proxies |
list of CIDR blocks | none | Required with tls: external, refused with any other tls. The address range your proxy connects to Traefik from; only those peers’ X-Forwarded-Proto and X-Forwarded-Host are believed, and a request from anywhere else is handled as plain HTTP whatever headers it carries. 0.0.0.0/0 and ::/0 are refused. |
spec.identity
Section titled “spec.identity”Declares who signs in. issuer selects one of two shapes, and the other
shape’s fields are rejected.
| Field | Type | Applies to | Meaning |
|---|---|---|---|
issuer |
github or external |
both | Required. Which OIDC issuer signs people in. |
github |
object | github |
Required for github; rejected for external. |
issuer_url |
string, https:// URL |
external |
Required. The issuer’s URL; the token iss claim must equal it. It needs a host and no query, fragment, whitespace or control characters. |
role_claim |
string, non-empty | external |
Required. The token claim holding role values, for example groups or cognito:groups. |
role_mapping |
object | external |
Required. Canonical role to the claim values that grant it. |
client_ids |
object | external |
Optional issuer-assigned client ids, keyed by consumer. |
For github, issuer_url, role_claim, role_mapping and client_ids must
not be written: olf derives them (role_claim becomes groups, and each role
maps to <organization>:<slug> for its teams).
The canonical roles, highest first, are platform-admin, data-engineer,
analyst and viewer (release/identity-roles.yaml). Any other role name is
rejected.
spec.identity.github
Section titled “spec.identity.github”| Field | Type | Required | Meaning |
|---|---|---|---|
organization |
string, ^[A-Za-z0-9-]+$ |
yes | The organisation login exactly as GitHub shows it, case included: Dex compares it exactly. |
host |
hostname string | no | A GitHub Enterprise Server hostname, with no scheme or path. Absent means github.com. Dex then trusts the platform CA for it. |
teams |
object | yes | Canonical role to a list of GitHub team slugs. At least one role. |
oauth_app_secret_ref |
object | yes | The Secret holding the GitHub OAuth App client id and secret. |
teams rules: each key is a canonical role; each value is a non-empty list of
team slugs as GitHub shows them in the team URL (olf lowercases them). A slug
may not repeat within a list, and one team may not map to two roles.
oauth_app_secret_ref:
| Field | Type | Default | Meaning |
|---|---|---|---|
name |
string | none; required | The Kubernetes Secret’s name: a DNS subdomain of at most 253 characters, each label at most 63. You create the Secret; the profile never carries a value. |
client_id_key |
string | client-id |
The Secret key holding the client id. |
client_secret_key |
string | client-secret |
The Secret key holding the client secret. Must differ from client_id_key. |
Keys match [-._a-zA-Z0-9]+ and are at most 253 characters.
spec.identity.role_mapping (external only)
Section titled “spec.identity.role_mapping (external only)”An object whose keys are canonical roles (at least one). Each value is a non-empty list of non-empty claim-value strings. A value may not repeat within a role, and one claim value may not map to two roles.
spec.identity.client_ids (external only)
Section titled “spec.identity.client_ids (external only)”An object with at least one key from perimeter, superset, openmetadata
and olf-cli; each value is a non-empty string. A consumer left out uses its
own name as the client id. external deploys no issuer: you provide the three
client Secrets the contract names, as described in ADR 0014. olf-cli is a
public client and has no Secret.
Cross-field rules
Section titled “Cross-field rules”| Rule | Rejected when |
|---|---|
| At least one stage runs | Every stage is disabled. |
| DEV gates the others | uat or prod is enabled while dev is disabled or absent: every promotion sources from DEV. |
| Storage size is not for managed storage | spec.storage.size is set with type: aws: S3 is managed, so there is no volume to size. storage.adapter: s3 is accepted. |
| Region is cloud-only | spec.provider.region is set with type: local. |
| Identity needs access on local | type: local has spec.identity but no spec.access: sign-in needs the route hostnames. |
| Authentication off publishes nothing | There is no spec.identity, and spec.access is declared on aws or azure, or with a base_domain not ending in .localhost on local. Without identity no one signs in, so it is allowed only where nothing is reachable beyond the operator’s machine: locally on *.localhost, and on the clouds without spec.access, where services are reached with olf infra forward. |
| A local project names its image | type: local declares spec.project without image.repository: kind has no default registry. |
| Plain HTTP is local-only | spec.access.tls is none and the provider is not local, or base_domain does not end in .localhost. |
| External TLS needs a public name | spec.access.tls is external and base_domain ends in .localhost: no upstream proxy can terminate TLS there. |
| Renamed TLS field | spec.access says issuer, the v1alpha1 name of tls. |
| Trusted proxies | tls is external without trusted_proxies; trusted_proxies with another tls; an entry that is not a CIDR block, or that is 0.0.0.0/0 or ::/0. |
| Issuer shape | external lacks issuer_url, role_claim or role_mapping; github lacks github or sets issuer_url, role_claim or role_mapping; github is set without issuer: github; client_ids is set without issuer: external. |
On local, olf infra deploy also refuses a spec.access.tls other than
local-ca, none or external before it creates the cluster.
Related
Section titled “Related”- ADR 0011: Deployment Profile and stages
- ADR 0013: service access
- ADR 0014: identity and authorization
olfCLI
Synced from openlakeforge @ v0.7.5-beta.1 (8a7bf72), docs/reference/deployment-profile.md.