-
-
Notifications
You must be signed in to change notification settings - Fork 322
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
Allow setting a description on a derived CRD #1359
Conversation
Signed-off-by: Sebastian Bernauer <sebastian.bernauer@stackable.de>
Signed-off-by: Sebastian Bernauer <sebastian.bernauer@stackable.de>
82d0f8f
to
6d3a482
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1359 +/- ##
=======================================
- Coverage 72.1% 72.1% -0.0%
=======================================
Files 75 75
Lines 6434 6436 +2
=======================================
Hits 4635 4635
- Misses 1799 1801 +2
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks a lot!
Signed-off-by: Sebastian Bernauer <sebastian.bernauer@stackable.de>
7754d4a
to
a32e7cc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot!
How about |
Works for me. If @clux agrees I can raise a PR to fix it |
Ah. 🤦 yeah that also sounds better to me. |
Follow-up of kube-rs#1359 Signed-off-by: Sebastian Bernauer <sebastian.bernauer@stackable.de>
Follow-up of #1359 Signed-off-by: Sebastian Bernauer <sebastian.bernauer@stackable.de>
Motivation
While working on a website which shows our CRDs we noticed the sentence
Auto-generated derived type for TrinoClusterSpec via CustomResource
showing up prominently. We therefore would like to have it configurable.Solution
Add support for a new
kube(description = "xxx")
attribute on the struct that is used to generate the CRD.Fixup
Renamed to
kube(doc = "xxx")
in #1363 before release.