-
Notifications
You must be signed in to change notification settings - Fork 20
feat: enable new CR-based envelope experience #38
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
feat: enable new CR-based envelope experience #38
Conversation
Signed-off-by: michaelawyu <chenyu1@microsoft.com>
Signed-off-by: michaelawyu <chenyu1@microsoft.com>
Codecov ReportAttention: Patch coverage is 📢 Thoughts on this report? Let us know! |
…o feat/enable-new-envelopes
e360956 to
c93b1a4
Compare
8788261 to
f01739d
Compare
Signed-off-by: Ryan Zhang <zhangryan@microsoft.com>
f01739d to
8dc5d94
Compare
michaelawyu
left a comment
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.
Just some minor nits; otherwise LGTM ;)
| rules: | ||
| - apiGroups: [""] | ||
| resources: ["pods"] | ||
| verbs: ["get", "list", "watch"] No newline at end of file |
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.
Hi Ryan! Just a nit: here needs a new line I assume.
| namespace: ops | ||
| admissionReviewVersions: ["v1"] | ||
| sideEffects: None | ||
| timeoutSeconds: 10 |
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.
Same new line nit.
| rules: | ||
| - apiGroups: [""] | ||
| resources: ["pods"] | ||
| verbs: ["get", "list", "watch"] No newline at end of file |
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.
The empty line nit stuff.
| "k8s.io/apimachinery/pkg/util/intstr" | ||
| ) | ||
|
|
||
| const ( |
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.
Hi Ryan! We are removing these as the values in the v1 pkg are not used, right? Do we want to move onto v1 one day?
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.
no, I think we can keep it in v1beta1 forever as v1 always follows v1beta1
| r.AddGroupKind(ClusterResourceOverrideGK) | ||
| r.AddGroupKind(ClusterResourceOverrideSnapshotGK) | ||
| r.AddGroupKind(ResourceOverrideGK) | ||
| r.AddGroupKind(ResourceOverrideSnapshotGK) |
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.
Ah, we must remember to update this list for every new API types now
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.
yeah, I wish we used a sub group for the envelopType
|
I will do some upgrade compatibility tests to verify the upgrade behavior. |
|
It seems that the E2E's still failing; let me fix that, along with the other minor issues I reviewed earlier. |
…lawyu/kubefleet into feat/enable-new-envelopes
Signed-off-by: Ryan Zhang <zhangryan@microsoft.com>
Signed-off-by: michaelawyu <chenyu1@microsoft.com>
…lawyu/kubefleet into feat/enable-new-envelopes Signed-off-by: michaelawyu <chenyu1@microsoft.com>
Signed-off-by: michaelawyu <chenyu1@microsoft.com>
Signed-off-by: michaelawyu <chenyu1@microsoft.com> Signed-off-by: Ryan Zhang <zhangryan@microsoft.com> Co-authored-by: Ryan Zhang <zhangryan@microsoft.com> Signed-off-by: Ryan Zhang <zhangryan@microsoft.com>
Signed-off-by: michaelawyu <chenyu1@microsoft.com> Signed-off-by: Ryan Zhang <zhangryan@microsoft.com> Co-authored-by: Ryan Zhang <zhangryan@microsoft.com> Signed-off-by: Ryan Zhang <zhangryan@microsoft.com>
Signed-off-by: michaelawyu <chenyu1@microsoft.com> Signed-off-by: Ryan Zhang <zhangryan@microsoft.com> Co-authored-by: Ryan Zhang <zhangryan@microsoft.com>
Description of your changes
This PR enables the new CR-based envelope experience and removed the support for configMap wrapper
I have:
make reviewableto ensure this PR is ready for review.How has this code been tested
WIP
Special notes for your reviewer
This PR is a WIP; it will be submitted for review when completed.