-
Notifications
You must be signed in to change notification settings - Fork 135
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 v1alpha2 API #673
Add v1alpha2 API #673
Conversation
5cb6c2d
to
7044386
Compare
052a997
to
7c5726e
Compare
71f0674
to
25f2ad9
Compare
Struggling to work out why |
Do you mean this here: |
@moadqassem Yes. I've never seen a dedicated list CRD generated. Normally the list type is part of the CRD definition. I'm guessing I have something funky with my annotations. I generated a new project with |
Did you try adding For example: // +kubebuilder:object:generate=false
// +kubebuilder:object:root=true
// +kubebuilder:storageversion
// HardwareList contains a list of Hardware.
type HardwareList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Hardware `json:"items"`
} |
@moadqassem I'll give that a go, but that didn't exist in our v1alpha1 API and reflecting on other projects they don't seem to have it either (and they don't have list resources). |
I agree, would check also the genclient version, maybe something changed. |
Codecov Report
@@ Coverage Diff @@
## main #673 +/- ##
==========================================
- Coverage 49.30% 48.26% -1.04%
==========================================
Files 18 18
Lines 860 951 +91
==========================================
+ Hits 424 459 +35
- Misses 428 484 +56
Partials 8 8 see 6 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
412d297
to
e821e13
Compare
@moadqassem We have lift off 🚀 . |
26128a2
to
b366277
Compare
b366277
to
2f5b5d1
Compare
Signed-off-by: Chris Doherty <[email protected]>
2f5b5d1
to
c6f4499
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 @chrisdoherty4
This functionality to disable DHCP entirely will be available in the refactored hardware API. See tinkerbell/tink#673 Signed-off-by: Jacob Weinstock <[email protected]>
Design: https://github.com/tinkerbell/roadmap/blob/main/design/20230222_tinkerbell_crd_refactor.md
This PR adds the new v1alpha2 API. The APIs are configured as unserved meaning consumers won't be able to request the v1alpha2 version yet.
Webhooks will be added in a separate PR.