We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Now we use kubebuilder:default to generate default value. However, it is not suitable for a complex type which needs a long comment.
kubebuilder:default
It's not clear and hard to check and test.
type Status struct { // +kubebuilder:default={{type:"A"},{type:"B"},{type:"C"},...} Conditions []Condition }
The text was updated successfully, but these errors were encountered:
liubog2008
No branches or pull requests
Summary
Now we use
kubebuilder:default
to generate default value. However, it is not suitable for a complex type which needs a long comment.It's not clear and hard to check and test.
Example
Expected
The text was updated successfully, but these errors were encountered: