Skip to content

Update test and doc versions #594

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,23 @@
- Run a `containerdebug` process in the background of each Airflow container to collect debugging information ([#557]).
- Aggregate emitted Kubernetes events on the CustomResources ([#571]).
- Add OPA support ([#573]).
- Add support for `2.10.4` ([#594]).

### Changed

- Bump stackable-operator to 0.87.0 and stackable-versioned to 0.6.0 ([#591]).
- Default to OCI for image metadata and product image selection ([#572]).

### Removed

- Remove support for `2.9.2` and `2.10.2` (experimental) ([#594]).

[#557]: https://github.com/stackabletech/airflow-operator/pull/557
[#571]: https://github.com/stackabletech/airflow-operator/pull/571
[#572]: https://github.com/stackabletech/airflow-operator/pull/572
[#573]: https://github.com/stackabletech/airflow-operator/pull/573
[#591]: https://github.com/stackabletech/airflow-operator/pull/591
[#594]: https://github.com/stackabletech/airflow-operator/pull/594

## [24.11.1] - 2025-01-09

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: airflow
spec:
image:
productVersion: 2.9.3
productVersion: 2.10.4
clusterConfig:
loadExamples: false
exposeConfig: false
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/airflow/examples/example-airflow-gitsync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: airflow
spec:
image:
productVersion: "2.9.3"
productVersion: "2.10.4"
clusterConfig:
loadExamples: false
exposeConfig: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: airflow
spec:
image:
productVersion: 2.9.3
productVersion: 2.10.4
clusterConfig:
loadExamples: false
exposeConfig: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: airflow
spec:
image:
productVersion: 2.9.3
productVersion: 2.10.4
clusterConfig: {}
webservers:
envOverrides: &envOverrides
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: airflow
spec:
image:
productVersion: 2.9.3
productVersion: 2.10.4
clusterConfig: {}
webservers:
envOverrides: &envOverrides
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: airflow
spec:
image:
productVersion: 2.9.3
productVersion: 2.10.4
clusterConfig:
loadExamples: true
exposeConfig: false
Expand Down
4 changes: 2 additions & 2 deletions docs/modules/airflow/pages/usage-guide/security.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ metadata:
name: airflow-with-ldap
spec:
image:
productVersion: 2.10.2
productVersion: 2.10.4
clusterConfig:
authentication:
- authenticationClass: ldap # <1>
Expand Down Expand Up @@ -71,7 +71,7 @@ metadata:
name: airflow-with-oidc
spec:
image:
productVersion: 2.10.2
productVersion: 2.10.4
clusterConfig:
authentication:
- authenticationClass: keycloak # <1>
Expand Down
3 changes: 1 addition & 2 deletions docs/modules/airflow/partials/supported-versions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
// This is a separate file, since it is used by both the direct Airflow-Operator documentation, and the overarching
// Stackable Platform documentation.

- 2.10.2 (experimental)
- 2.10.4
- 2.9.3 (LTS)
- 2.9.2 (deprecated)
2 changes: 1 addition & 1 deletion examples/simple-airflow-cluster-dags-cmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ metadata:
name: airflow-dags-cmap
spec:
image:
productVersion: 2.9.3
productVersion: 2.10.4
clusterConfig:
loadExamples: false
exposeConfig: false
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-airflow-cluster-ldap-insecure-tls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ metadata:
name: airflow-insecure-tls
spec:
image:
productVersion: 2.9.3
productVersion: 2.10.4
clusterConfig:
loadExamples: true
exposeConfig: true
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-airflow-cluster-ldap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ metadata:
name: airflow-with-ldap-server-veri-tls
spec:
image:
productVersion: 2.9.3
productVersion: 2.10.4
clusterConfig:
loadExamples: true
exposeConfig: true
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-airflow-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ metadata:
name: airflow
spec:
image:
productVersion: 2.9.3
productVersion: 2.10.4
clusterConfig:
loadExamples: true
exposeConfig: false
Expand Down
4 changes: 2 additions & 2 deletions rust/operator-binary/src/crd/affinity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ mod tests {
name: airflow
spec:
image:
productVersion: 2.9.3
productVersion: 2.10.4
clusterConfig:
credentialsSecret: airflow-credentials
webservers:
Expand Down Expand Up @@ -163,7 +163,7 @@ mod tests {
name: airflow
spec:
image:
productVersion: 2.9.3
productVersion: 2.10.4
clusterConfig:
credentialsSecret: airflow-credentials
webservers:
Expand Down
6 changes: 3 additions & 3 deletions rust/operator-binary/src/crd/git_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ mod tests {
name: airflow
spec:
image:
productVersion: 2.9.3
productVersion: 2.10.4
clusterConfig:
loadExamples: false
exposeConfig: false
Expand Down Expand Up @@ -164,7 +164,7 @@ mod tests {
name: airflow
spec:
image:
productVersion: 2.9.3
productVersion: 2.10.4
clusterConfig:
loadExamples: false
exposeConfig: false
Expand Down Expand Up @@ -237,7 +237,7 @@ mod tests {
name: airflow
spec:
image:
productVersion: 2.9.3
productVersion: 2.10.4
clusterConfig:
loadExamples: false
exposeConfig: false
Expand Down
4 changes: 2 additions & 2 deletions rust/operator-binary/src/crd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ mod tests {
name: airflow
spec:
image:
productVersion: 2.9.3
productVersion: 2.10.4
clusterConfig:
loadExamples: true
exposeConfig: true
Expand All @@ -887,7 +887,7 @@ mod tests {
let resolved_airflow_image: ResolvedProductImage =
cluster.spec.image.resolve("airflow", "0.0.0-dev");

assert_eq!("2.9.3", &resolved_airflow_image.product_version);
assert_eq!("2.10.4", &resolved_airflow_image.product_version);

assert_eq!("KubernetesExecutor", cluster.spec.executor.to_string());
assert!(cluster.spec.cluster_config.load_examples);
Expand Down
9 changes: 4 additions & 5 deletions tests/test-definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,15 @@
dimensions:
- name: airflow
values:
- 2.9.2
- 2.9.3
- 2.10.2
- 2.10.4
# To use a custom image, add a comma and the full name after the product version
# - 2.8.1,oci.stackable.tech/sandbox/airflow:2.8.1-stackable0.0.0-dev
# - 2.9.3,oci.stackable.tech/sandbox/airflow:2.9.3-stackable0.0.0-dev
- name: airflow-latest
values:
- 2.10.2
- 2.10.4
# To use a custom image, add a comma and the full name after the product version
# - 2.8.1,oci.stackable.tech/sandbox/airflow:2.8.1-stackable0.0.0-dev
# - 2.9.3,oci.stackable.tech/sandbox/airflow:2.9.3-stackable0.0.0-dev
- name: opa-latest
values:
- 1.0.1
Expand Down