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

Add "--kubeconfig" as an option in addition to "-kubeconfig" #27

Open
johanneskastl opened this issue Nov 9, 2024 · 1 comment
Open

Comments

@johanneskastl
Copy link

Dear maintainers,

most kubernetes-related tools are using --kubeconfig as the option to specify the path to a kubeconfig file. I noticed yoke uses just one hyphen.

Would it be possible to align this and use (or add) --kubeconfig?

Kind Regards,
Johannes

@davidmdm
Copy link
Collaborator

Hi!

yoke uses the Go standard library flag parsing package, and so has the same flag semantics as the go tool chain in general.

This may change in future, but is not a high priority at this time. Currently I am focused on the internals of the yoke cli, the air-traffic-controller, adding more e2e tests, and documentation.

However, I very much hear you and may switch to standard posix flags in the future. Currently though, both -kubeconfig and --kubeconfig will work. (it is not exclusively a single flag).

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

No branches or pull requests

2 participants