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
Ceph: Create resources automatically for external Cluster #500
Ceph: Create resources automatically for external Cluster #500
Conversation
3db9970
to
3eaa1f2
Compare
3eaa1f2
to
85813d2
Compare
f454cfd
to
d17fbba
Compare
d17fbba
to
8ce338c
Compare
5874597
to
81f0716
Compare
I have pulled changes from @aruniiird PR for OBC storageClass because I didn't want to wait to write some logic and get it inspected. Will keep rebasing it with mine. |
9670d55
to
d1988c0
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.
A reasonable start. Still some logic to work out. Also, update the PR description to indicate you're now depending on two other PRs.
d1988c0
to
9c27181
Compare
9f7531b
to
4aee23c
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.
Thank you for starting the unit test! I've included a framework of what the test should look like, feel free to expand on it if you come across anything else that you think we can assert. There's also one aspect of commit cleanup that needs to be done.
pkg/controller/storagecluster/initialization_reconciler_test.go
Outdated
Show resolved
Hide resolved
pkg/controller/storagecluster/initialization_reconciler_test.go
Outdated
Show resolved
Hide resolved
pkg/controller/storagecluster/initialization_reconciler_test.go
Outdated
Show resolved
Hide resolved
4aee23c
to
098b974
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.
Tests look good, thanks! One tiiiiiny nit, sorry. ;P
Now we just need to rebase and clean up the commits.
pkg/controller/storagecluster/initialization_reconciler_test.go
Outdated
Show resolved
Hide resolved
pkg/controller/storagecluster/initialization_reconciler_test.go
Outdated
Show resolved
Hide resolved
pkg/controller/storagecluster/initialization_reconciler_test.go
Outdated
Show resolved
Hide resolved
44231ec
to
2515be3
Compare
2515be3
to
dc8fe6c
Compare
A previous PR accidentally removed from data from the CSV. This commit brings it all back. Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
The JSON BLOB will be passed from the UI and appropiate resources will be created automatically for the external cluster. Signed-off-by: RAJAT SINGH <rajasing@redhat.com>
Added tests for the EnsureExternalStorageClusterResources function. Signed-off-by: RAJAT SINGH <rajasing@redhat.com>
Signed-off-by: RAJAT SINGH <rajasing@redhat.com>
dc8fe6c
to
745a4b0
Compare
/lgtm |
@jarrpa: Overrode contexts on behalf of jarrpa: ci/prow/ocs-operator-e2e-aws In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jarrpa, rajatsingh25aug The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@rajatsingh25aug: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
The ocs-operator-ci failure looks to be a problem with the CI. Running the test locally succeeded, so overriding it. /override ci/prow/ocs-operator-ci |
@jarrpa: Overrode contexts on behalf of jarrpa: ci/prow/ocs-operator-ci In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Thanks all for this PR, Learned a lot 👯 |
The JSON BLOB will be passed from the UI and the appropriate resources will be created one by one.
This PR is also dependent on @aruniiird PR #505 . I will keep rebasing my PR until its merged.
Signed-off-by: RAJAT SINGH rajasing@redhat.com