-
Notifications
You must be signed in to change notification settings - Fork 499
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
Generate CRDs by controller-gen
#4151
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
controller-gen
controller-gen
Codecov Report
@@ Coverage Diff @@
## master #4151 +/- ##
==========================================
+ Coverage 69.79% 70.59% +0.79%
==========================================
Files 185 185
Lines 21812 21812
==========================================
+ Hits 15224 15398 +174
+ Misses 5415 5226 -189
- Partials 1173 1188 +15
|
/run-all-tests |
/test pull-e2e-kind |
controller-gen
controller-gen
/test pull-e2e-kind |
1 similar comment
/test pull-e2e-kind |
# Conflicts: # manifests/crd.yaml # tests/actions.go
/test pull-e2e-kind |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 67c1470
|
/test pull-e2e-kind-br |
/test pull-e2e-kind |
4 similar comments
/test pull-e2e-kind |
/test pull-e2e-kind |
/test pull-e2e-kind |
/test pull-e2e-kind |
# Conflicts: # manifests/crd.yaml
/merge |
This pull request has been accepted and is ready to merge. Commit hash: d8e29b2
|
What problem does this PR solve?
Fix #2753 Fix #4032 Fix #4172
Ref #3878
What is changed and how does it work?
controller-gen
to generate CRDs, and modify the related scriptcontroller-gen
happymanifest/crd
, and merge them into the filesmanifest/crd.yaml
andmanifest/crd_v1beta1.yaml
Code changes
Tests
GKE 1.20.8
manifest/crd_v1beta1.yaml
is incompatible, ref: Default value not allowed for in x-kubernetes-list-map-keys kubernetes/kubernetes#91395manifest/crd.yaml
and deployGKE 1.17.17 / EKS 1.16.15
manifest/crd_v1beta1.yaml
and deploymanifest/crd.yaml
and deployCRD upgrade
Deploy v1beta1 CRD and upgrade to v1 CRD by
kubectl replace
No code
Side effects
Related changes
Release Notes
Please refer to Release Notes Language Style Guide before writing the release note.