Repository navigation
OpenLakeForge 0.5.0-alpha.1
Pre-releaseOpenLakeForge 0.5.0-alpha.1: identity and authorization
People now sign in with GitHub. Their GitHub team decides their role, and a perimeter at the ingress decides which services each role reaches. You manage the team, the platform follows: adding someone, changing their role or offboarding them needs no deploy.
The first run is also simpler: olf init gives you plain HTTP and no sign-in, so a fresh deploy works with nothing to configure. Turn sign-in on when you are ready.
Alpha release, validated on the local kind provider. Breaking changes from 0.4 are listed under Upgrading from 0.4.
Install
uv tool install "openlakeforge==0.5.0a1" --python 3.12
mkdir my-lakehouse && cd my-lakehouse
olf init
olf deploy --provider localThen follow the quickstart. To add GitHub sign-in, continue with tutorial lesson 8.
Highlights
Sign in with GitHub
- Declare your organization and map four roles (
platform-admin,data-engineer,analyst,viewer) to GitHub teams inspec.identity. olf deploycreates the GitHub App for you in the browser (olf github connect), then signs people in through Dex.- Bring your own OIDC issuer (Okta, Entra ID, Auth0) with
issuer: external.
One door to every service
- A perimeter checks every service route against the person's role. For example, only
platform-adminanddata-engineerreach Dagster. - The portal at
http://olf.localhostlists the services your role reaches, with an Admin link to your GitHub teams and a Sign out button. - Removing someone from a team takes effect within 5 minutes, even mid-session.
Services sign you in
- Superset opens signed in, with your role mapped.
- OpenMetadata uses SSO. Its admins and data stewards sync from GitHub teams every 5 minutes, and the local
adminaccount is disabled. - Trino: the web UI signs in through the issuer on HTTPS. Workload clients (dbt, Superset, OpenMetadata ingestion) use their own per-stage passwords, on by default when
spec.accessis set.
Hardened by default
- Default-deny NetworkPolicies for every stage and the platform namespace, with least-privilege service accounts.
olf deployfirst proves your CNI enforces them. olf break-glassgives time-boxed, recorded access when the issuer is down.olf statuslists recent uses.olf secrets rotaterotates Dex clients and the GitHub App.- The local e2e drills issuer outage, secret rotation and perimeter latency.
Also new
olf queryruns SQL against a stage's Trino catalog.olf e2e run --checks core|allpicks the check tier.- New identity guides: connect GitHub, map teams, manage members, rotate secrets, break-glass, external issuer, and a roles reference.
Upgrading from 0.4
- Recreate the local cluster. DEV buckets are renamed
lakehouse-<stage>-<layer>, and Polaris keeps its old storage locations, so runolf destroy --provider local, thenolf deploy. - No
spec.accessmeans no ingress. To keep 0.4's HTTPS URLs, addaccess: {}and runolf access trust. For plain HTTP, addaccess: {issuer: none}. - Hostnames are flat.
dagster.dev.olf.localhostis nowdagster-dev.olf.localhost. Trino and OpenMetadata keeptrino.<base_domain>andopenmetadata.<base_domain>. - Without
spec.identity, there is no sign-in. Everyone who reaches Superset is Admin. Addspec.identityto require sign-in. - A
base_domainoutside.localhost, or a cloud profile withspec.access, now requiresspec.identity. - Trino needs passwords when
spec.accessis set. Direct callers outsideolfmust use the HTTPS listener and the stage's credential Secret (ADR 0016).
Known limitations
- Authorization is per service, not per row or table. A role decides which services someone reaches. Dagster has no per-user permissions, and Superset reaches Trino as one identity per stage. Don't mix data of differing sensitivity in one deployment. See ADR 0019.
- Sign-in and NetworkPolicy are local only. AWS and Azure keep port-forward access. The AWS secure reference is planned for v0.6-beta.
- Plain HTTP is for
*.localhost. Trino's web UI uses a fixed user there. - Smaller follow-ups are tracked in #521.
The full list is in the changelog.
Verify this release
Images are signed keylessly with Sigstore and ship with SPDX SBOMs and build provenance. checksums.txt covers every asset. To verify signatures, checksums and a clean-checkout install in one command:
uv run --project tools/olf --locked olf release verify-install --tag v0.5.0-alpha.1The step-by-step commands are in releasing.md.
Milestone: v0.5-alpha: Identity and Authorization