Skip to content

[chart/v1-2x-test] Fix Helm chart executor label to support executor aliases (#67762)#67775

Merged
bugraoz93 merged 1 commit into
apache:chart/v1-2x-testfrom
jscheffl:backport-62d60e4-chart/v1-2x-test
May 30, 2026
Merged

[chart/v1-2x-test] Fix Helm chart executor label to support executor aliases (#67762)#67775
bugraoz93 merged 1 commit into
apache:chart/v1-2x-testfrom
jscheffl:backport-62d60e4-chart/v1-2x-test

Conversation

@jscheffl

Copy link
Copy Markdown
Contributor
  • Fix Helm chart executor label to support executor aliases

The scheduler Deployment/StatefulSet renders the executor option into a Kubernetes label and only sanitized the comma separator used between multiple executors. Executor aliases (name:ExecutorClass) contain a colon, which is not a valid label character, so a value such as CeleryExecutor,harvest_exec:KubernetesExecutor produced an invalid label and the scheduler failed to deploy.

Replace the colon with a hyphen alongside the existing comma handling so aliased and multi-executor configurations render a valid label.

  • Add newsfragment for executor alias label fix

  • Remove newsfragment; not needed for a bugfix per AGENTS.md (cherry picked from commit 62d60e4)


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

…aliases (apache#67762)

* Fix Helm chart executor label to support executor aliases

The scheduler Deployment/StatefulSet renders the executor option into a
Kubernetes label and only sanitized the comma separator used between
multiple executors. Executor aliases (name:ExecutorClass) contain a
colon, which is not a valid label character, so a value such as
CeleryExecutor,harvest_exec:KubernetesExecutor produced an invalid label
and the scheduler failed to deploy.

Replace the colon with a hyphen alongside the existing comma handling so
aliased and multi-executor configurations render a valid label.

* Add newsfragment for executor alias label fix

* Remove newsfragment; not needed for a bugfix per AGENTS.md
(cherry picked from commit 62d60e4)

Co-authored-by: Anurag Pappula <[email protected]>
@bugraoz93 bugraoz93 merged commit 4c6cd0f into apache:chart/v1-2x-test May 30, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:helm-chart Airflow Helm Chart

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants