-
Notifications
You must be signed in to change notification settings - Fork 26
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: emit the cluster profile objects #941
Conversation
4ebf5ea
to
b9aa442
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.
Added some minor comments, PTAL 🙏
pkg/controllers/clusterinventory/clusterprofile/controller_integration_test.go
Outdated
Show resolved
Hide resolved
pkg/controllers/clusterinventory/clusterprofile/controller_integration_test.go
Outdated
Show resolved
Hide resolved
) | ||
|
||
// This container cannot be run in parallel with other ITs because it uses a shared fakePlacementController. | ||
var _ = Describe("Test ClusterProfile Controller", func() { |
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! A nit: I understand that currently there are no other integration tests, but maybe we should mark it as Serial already?
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.
will this suite interfere with other integration tests?
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, the comment (line 33) mentions so; I assume it's because of the member cluster creation?
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.
oh, the comment is wrong
if condition == nil { | ||
t.Fatalf("expected condition to be set, but it was not") | ||
} | ||
if condition.Status != tt.expectedConditionStatus { |
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! It might be easier to use the cmp package?
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.
will open another PR
3c0541d
to
0509ae6
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.
code LGTM.
Description of your changes
Fixes #467
I have:
make reviewable
to ensure this PR is ready for review.How has this code been tested
Special notes for your reviewer