Skip to content

chore!: Remove the Airflow 2.x specific code paths - #901

Open
siegfriedweber wants to merge 10 commits into
mainfrom
chore/remove-airflow-2.9.3-from-operator
Open

siegfriedweber wants to merge 10 commits into
mainfrom
chore/remove-airflow-2.9.3-from-operator

Conversation

@siegfriedweber

@siegfriedweber siegfriedweber commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Description

Remove the Airflow 2.x specific code paths

This change will not be back-ported to release-26.11.

The documentation and tests were adapted in #900.

Part of stackabletech/issues#922

Release notes

Upgrade from 26.11

Airflow

  • Remove AUTH_OPA_* entries from webserver_config.py overrides

    Airflow 2.x support was already removed in SDP 26.11, and only Airflow 2 read the OPA settings from webserver_config.py. This release therefore stops recognizing the AUTH_OPA_REQUEST_URL, AUTH_OPA_CACHE_TTL_IN_SEC, AUTH_OPA_CACHE_MAXSIZE and AUTH_OPA_REQUEST_TIMEOUT keys in configOverrides. They already did nothing on Airflow 3, but unrecognized keys are now written into the generated webserver_config.py verbatim, so a left-over AUTH_OPA_REQUEST_URL becomes unquoted Python and the webserver fails to start with a SyntaxError.

    Delete all AUTH_OPA_* entries from configOverrides before upgrading. Airflow 3 takes the OPA settings from spec.clusterConfig.authorization.opa, which the operator passes as AIRFLOW__CORE__AUTH_OPA_* environment variables.

Definition of Done Checklist

  • Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
  • Please make sure all these things are done and tick the boxes

Author

  • Changes are OpenShift compatible
  • Helm chart can be installed and deployed operator works
  • Integration tests passed:
    PASS: kuttl/harness/ldap_airflow-latest-3.3.2_ldap-authentication-server-verification-tls_openshift-false_executor-celery (302.26s)
    PASS: kuttl/harness/logging_airflow-3.3.2_openshift-false_executor-celery (320.59s)
    PASS: kuttl/harness/opa_airflow-3.3.2_opa-latest-1.20.2_openshift-false (205.69s)
    FAIL: kuttl/harness/opa_airflow-3.0.6_opa-latest-1.20.2_openshift-false (507.50s)
    PASS: kuttl/harness/external-access_airflow-3.3.2_openshift-false_executor-kubernetes (155.72s)
    PASS: kuttl/harness/external-access_airflow-3.3.2_openshift-false_executor-celery (150.33s)
    PASS: kuttl/harness/external-access_airflow-3.0.6_openshift-false_executor-kubernetes (165.02s)
    PASS: kuttl/harness/external-access_airflow-3.0.6_openshift-false_executor-celery (143.83s)
    PASS: kuttl/harness/logging_airflow-3.3.2_openshift-false_executor-kubernetes (538.48s)
    PASS: kuttl/harness/smoke_airflow-3.3.2_openshift-false_executor-celery (229.65s)
    PASS: kuttl/harness/logging_airflow-3.0.6_openshift-false_executor-kubernetes (678.89s)
    PASS: kuttl/harness/logging_airflow-3.0.6_openshift-false_executor-celery (336.06s)
    PASS: kuttl/harness/smoke_airflow-3.3.2_openshift-false_executor-kubernetes (204.93s)
    PASS: kuttl/harness/smoke_airflow-3.0.6_openshift-false_executor-celery (217.83s)
    PASS: kuttl/harness/smoke_airflow-3.0.6_openshift-false_executor-kubernetes (298.40s)
    PASS: kuttl/harness/ldap_airflow-latest-3.3.2_ldap-authentication-server-verification-tls_openshift-false_executor-kubernetes (210.49s)
    
    opa_airflow-3.0.6_opa-latest-1.20.2_openshift-false will be fixed in fix(tests): Accept both spellings of the DAG id wildcard #903
  • Release note snippet added

Reviewer

  • Code contains useful comments
  • Code contains useful logging statements
  • (Integration-)Test cases added
  • Documentation added or updated. Follows the style guide.
  • Changelog updated
  • Cargo.toml only contains references to git tags (not specific commits or branches)

Acceptance

  • Feature Tracker has been updated
  • Proper release label has been added
  • Links to generated (nightly) docs added
  • Release note snippet added
  • Add type/deprecation label & add to the deprecation schedule
  • Add type/experimental label & add to the experimental features tracker

@siegfriedweber siegfriedweber self-assigned this Nov 25, 2026
@siegfriedweber siegfriedweber added release-note Denotes a PR that will be considered when it comes time to generate release notes. scheduled-for/27.3.0 labels Nov 25, 2026
@siegfriedweber
siegfriedweber requested a review from a team November 25, 2026 17:40
@siegfriedweber
siegfriedweber marked this pull request as ready for review November 25, 2026 17:40
@siegfriedweber siegfriedweber moved this to Development: Waiting for Review in Stackable Engineering Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note Denotes a PR that will be considered when it comes time to generate release notes. scheduled-for/27.3.0

Projects

Status: Development: Waiting for Review

Development

Successfully merging this pull request may close these issues.

1 participant