Skip to content

OpenLakeForge 0.5.0-alpha.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 23 Oct 16:16
· 665 commits to main since this release
1598142

OpenLakeForge 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 local

Then 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 in spec.identity.
  • olf deploy creates 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-admin and data-engineer reach Dagster.
  • The portal at http://olf.localhost lists 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 admin account 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.access is set.

Hardened by default

  • Default-deny NetworkPolicies for every stage and the platform namespace, with least-privilege service accounts. olf deploy first proves your CNI enforces them.
  • olf break-glass gives time-boxed, recorded access when the issuer is down. olf status lists recent uses.
  • olf secrets rotate rotates Dex clients and the GitHub App.
  • The local e2e drills issuer outage, secret rotation and perimeter latency.

Also new

  • olf query runs SQL against a stage's Trino catalog.
  • olf e2e run --checks core|all picks 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 run olf destroy --provider local, then olf deploy.
  • No spec.access means no ingress. To keep 0.4's HTTPS URLs, add access: {} and run olf access trust. For plain HTTP, add access: {issuer: none}.
  • Hostnames are flat. dagster.dev.olf.localhost is now dagster-dev.olf.localhost. Trino and OpenMetadata keep trino.<base_domain> and openmetadata.<base_domain>.
  • Without spec.identity, there is no sign-in. Everyone who reaches Superset is Admin. Add spec.identity to require sign-in.
  • A base_domain outside .localhost, or a cloud profile with spec.access, now requires spec.identity.
  • Trino needs passwords when spec.access is set. Direct callers outside olf must 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.1

The step-by-step commands are in releasing.md.

Milestone: v0.5-alpha: Identity and Authorization