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

credentialsSecret is a required field, but also has the empty string as a default value #349

Open
fhennig opened this issue Nov 28, 2023 · 0 comments

Comments

@fhennig
Copy link
Contributor

fhennig commented Nov 28, 2023

While working on something else I noticed that the credentialsSecret field in the clusterConfig is not optional (i.e. it is required), but we also derive Default for the whole struct, so the field gets a default value, which is the empty string for the string type.

This seems like a bug to me.

Not urgent.

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

1 participant