Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix command line flags #408

Merged
merged 2 commits into from
Sep 10, 2024
Merged

Fix command line flags #408

merged 2 commits into from
Sep 10, 2024

Conversation

timebertt
Copy link
Member

This is a follow-up to #407, where I missed two aspects:

The LBM user-data must be adapted to pass double-dash flags to yawollet.
Note that double-dash flags also work for flag. Hence, rolling out this version of yawol-controller (specifying double-dashes in user-data) but keeping the old yawollet image (using pflag) will still work but not vice-versa.

Also, controller-runtime registers the --kubeconfig flag in the default flag.CommandLine. Hence, we must bring it back by explicitly registering it in the pflag.FlagSet.

@timebertt timebertt added the bug Something isn't working label Sep 10, 2024
@timebertt timebertt enabled auto-merge (squash) September 10, 2024 10:39
@timebertt timebertt merged commit 3d4b76e into main Sep 10, 2024
2 checks passed
@timebertt timebertt deleted the fix-flags branch September 10, 2024 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants