Skip to content

Follow-ups for Kustomize overlay smoke-test and Kerberos overlay #69280

Open

Description

@bugraoz93

Follow-ups for Kustomize overlay smoke-test and Kerberos overlay (#67012)

PR #67012 ("Smoke test kustomize overlays and add tested Kerberos") merged with several review items deferred to follow-up work. This issue tracks them in one place.

Origin: #67012

Kerberos overlay

  • Complete the Kerberos to Kustomize migration. The merged overlay only removes the kerberos-keytab-secret.yaml secret-creation logic, which is the simplest slice of the feature. A full migration still needs to:

    • refresh credentials in the cache file (driven by the keytab file),
    • wire the Airflow configuration into the existing cluster components,
    • share and propagate the credential cache across components,
    • move the Kerberos sidecars into the overlay.

    Goal: demonstrate what a non-trivial overlay (unlike KEDA) looks like end to end.

  • Make the deploy order correct and documented. Helm depends on the Secret produced by the overlay, so with kerberos.enabled=true a helm then overlay order fails because pods cannot attach the keytab from a Secret that does not exist yet. Today's smoke test hides this because the deployed chart is not configured with kerberos.enabled=true. Decide and document the required ordering per overlay, and make the real combination actually work.

  • Flip the Kerberos overlay README to past tense once the Kerberos feature is removed from the chart.

Smoke-test coverage

  • Add a baseline "environment still healthy" check. Current tests confirm the kustomization renders and applies cleanly, but they do not confirm the pods come up healthy after the overlay is applied on top of a real Helm deploy. Add a general pod-status health baseline that asserts "applying this overlay did not break the environment."
  • Add integration tests that can modify Helm values.yaml before deploy. To honestly promote an overlay to tested in its STATUS.yaml, tests need to deploy Helm with adjusted values (for example kerberos.enabled=true) and then apply the overlay, so kustomize and Helm are exercised together instead of in isolation.

CI and infrastructure

  • Replace the STATUS.yaml "last-verified" date with a CI-driven status badge. The date is a moving target. A badge sourced from a canary or CI job (like the central README's GitHub Actions badge) would be more meaningful and self-updating. Surface it in the overlays README.
  • Enforce the ALLOWED_OVERLAY_IMAGES allow-list via CODEOWNERS and branch protection. The allow-list already fails fast on unlisted images, and adding an image requires a change to both chart/ and dev/. Gating that with required CODEOWNERS approval is a repo or INFRA setting to configure separately from the code.
  • Split overlay tests into per-overlay matrix stages. Today all overlays are applied in a single test stage, which makes mutually exclusive overlays (for example HPA vs KEDA) impossible to test together. Move to a matrix action, run only in canary, and gate each stage on its correlated file changes.
  • Move the allowed k8s image similar to ALLOWED_KUBERNETES_VERSIONS (airflow_breeze.global_constants), while preserving the four-eyes review principle.

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Activity

  1. added
    area:helm-chart
    kind:meta
    on Jul 2, 2026
  2. bugraoz93 commented on Jul 2, 2026

    @bugraoz93
    ContributorAuthor

    cc: @Miretpl, what do you think?

  3. Miretpl commented on Jul 4, 2026

    @Miretpl
    Contributor

    Looks good! Also, I don't recall anything more which would be good to have.

  4. ucaeon commented on Sep 23, 2026

    @ucaeon
    Contributor

    Hi, I’m working on this checklist item under Smoke-test coverage:

    Add a baseline "environment still healthy" check. Current tests confirm the kustomization renders and applies cleanly, but they do not confirm the pods come up healthy after the overlay is applied on top of a real Helm deploy. Add a general pod-status health baseline that asserts "applying this overlay did not break the environment."

    I’m focusing on adding this general pod-status health check and tests covering healthy and unhealthy states. I’ll open a PR soon. Thank you! ☺️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:helm-chartkind:meta

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions