Skip to content

fleet-cli: add missing flag wiring for apply, cleanup subcommands#5171

Open
apoorvajagtap wants to merge 1 commit into
rancher:mainfrom
apoorvajagtap:11634-kubeconfig
Open

fleet-cli: add missing flag wiring for apply, cleanup subcommands#5171
apoorvajagtap wants to merge 1 commit into
rancher:mainfrom
apoorvajagtap:11634-kubeconfig

Conversation

@apoorvajagtap
Copy link
Copy Markdown

Refers to #5170

This commit adds AddGoFlagSet to subcommands that were missing it:

  • fleet apply
  • fleet cleanup clusterregistration
  • fleet cleanup gitjob

With this controller-runtime's --kubeconfig and zap's --zap-* flags (for clusterregistration & gitjob ) are correctly bridged from the stdlib flag set into cobra's pflag set.

Additional Information

Checklist

  • I have updated the documentation via a pull request in the fleet-product-docs repository.

@apoorvajagtap apoorvajagtap requested a review from a team as a code owner May 20, 2026 08:55
@apoorvajagtap apoorvajagtap requested a review from manno May 25, 2026 07:49
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.

1 participant