Skip to content

[release/0.22] Fix: Add --container-runtime flag to run-controllers command#83

Merged
danegsta merged 2 commits intorelease/0.22from
backport/pr-82-to-release/0.22
Feb 14, 2026
Merged

[release/0.22] Fix: Add --container-runtime flag to run-controllers command#83
danegsta merged 2 commits intorelease/0.22from
backport/pr-82-to-release/0.22

Conversation

@danegsta
Copy link
Member

Backport of #82 to release/0.22

/cc @danegsta @copilot

Customer Impact

Enables --container-runtime flag on run-controllers sub-command.

Testing

Automated suite

Risk

Low

Regression?

Yes, due to the move to a single binary, that flag didn’t make the move as it was defined on the dcpctrl root command.

Copilot AI and others added 2 commits February 14, 2026 15:50
This fixes the issue where start-apiserver was forwarding the
--container-runtime flag to run-controllers, which didn't accept it,
causing the controllers subprocess to crash with exit code 1.

Co-authored-by: danegsta <50252651+danegsta@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 14, 2026 15:54
@danegsta danegsta requested a review from karolz-ms February 14, 2026 15:55
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Backports the fix ensuring the dcp run-controllers subcommand accepts the --container-runtime flag that is forwarded from start-apiserver, preventing the controllers subprocess from crashing on startup.

Changes:

  • Register --container-runtime on the run-controllers cobra command via container_flags.EnsureRuntimeFlag(...).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@danegsta danegsta enabled auto-merge (squash) February 14, 2026 16:44
@danegsta danegsta merged commit 9585d3b into release/0.22 Feb 14, 2026
17 checks passed
@danegsta danegsta deleted the backport/pr-82-to-release/0.22 branch February 14, 2026 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants