Repository navigation
Description
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.yamlsecret-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=trueahelmthenoverlayorder 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 withkerberos.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.yamlbefore deploy. To honestly promote an overlay totestedin itsSTATUS.yaml, tests need to deploy Helm with adjusted values (for examplekerberos.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_IMAGESallow-list via CODEOWNERS and branch protection. The allow-list already fails fast on unlisted images, and adding an image requires a change to bothchart/anddev/. 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
bugraoz93 commentedon Jul 2, 2026
cc: @Miretpl, what do you think?
Miretpl commentedon Jul 4, 2026
Looks good! Also, I don't recall anything more which would be good to have.
ucaeon commentedon Sep 23, 2026
Hi, I’m working on this checklist item under Smoke-test coverage:
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!☺️