Skip to content

Commit 5b8b5ba

Browse files
committed
feat: add openlineage support
1 parent c1fda23 commit 5b8b5ba

42 files changed

Lines changed: 1980 additions & 62 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### Added
66

7+
- Support for emitting [OpenLineage](https://openlineage.io/) lineage events via `spec.clusterConfig.openLineage`, either with an inline connection or a reference to an `OpenLineageConnection`, with optional TLS and Static-provider API-key authentication. Requires the `apache-airflow-providers-openlineage` provider to be installed in the product image ([#XXXX]).
78
- BREAKING: Add required CLI argument and env var to set the image repository used to construct final product image names: `IMAGE_REPOSITORY` (`--image-repository`), eg. `oci.example.org/my/namespace` ([#784]).
89
- Support for passing CAs to GitSync ([#750]).
910
- Support setting `clientAuthenticationMethod` for OIDC authentication. The value is passed through to the Flask-AppBuilder config as `token_endpoint_auth_method` ([#765]).
@@ -36,6 +37,7 @@
3637
- Allow OPA integration with arbitrary user role when using Airflow 3. Previously, this only worked for users with Admin role ([#800])
3738

3839
[#750]: https://github.com/stackabletech/airflow-operator/pull/750
40+
[#XXXX]: https://github.com/stackabletech/airflow-operator/pull/XXXX
3941
[#765]: https://github.com/stackabletech/airflow-operator/pull/765
4042
[#767]: https://github.com/stackabletech/airflow-operator/pull/767
4143
[#770]: https://github.com/stackabletech/airflow-operator/pull/770

Cargo.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.nix

Lines changed: 30 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,6 @@ tokio = { version = "1.52", features = ["full"] }
3333
tracing = "0.1"
3434

3535
[patch."https://github.com/stackabletech/operator-rs.git"]
36-
# stackable-operator = { git = "https://github.com/stackabletech//operator-rs.git", branch = "main" }
36+
# TODO: Switch back to a release tag once operator-rs#1250 (crd::openlineage) has merged.
37+
stackable-operator = { git = "https://github.com/stackabletech//operator-rs.git", branch = "feat/openlineage-crd" }
3738
# stackable-operator = { path = "../operator-rs/crates/stackable-operator" }

crate-hashes.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deploy/helm/airflow-operator/templates/clusterrole-operator.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,17 @@ rules:
133133
- get
134134
- list
135135
- watch
136+
# Resolve OpenLineage connections referenced by spec.clusterConfig.openLineage.
137+
# Watched (list + watch) to re-reconcile when an OpenLineageConnection changes,
138+
# and fetched individually (get) during reconciliation to dereference a `reference`.
139+
- apiGroups:
140+
- openlineage.stackable.tech
141+
resources:
142+
- openlineageconnections
143+
verbs:
144+
- get
145+
- list
146+
- watch
136147
# Publish Kubernetes events for reconciliation activity
137148
- apiGroups:
138149
- events.k8s.io

0 commit comments

Comments
 (0)