-
Notifications
You must be signed in to change notification settings - Fork 23
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
init container to decide allowing reconciliation of manager #196
Conversation
/cherry-pick release-4.16 |
@leelavg: once the present PR merges, I will cherry-pick it on top of release-4.16 in a new PR and assign it to you. 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-sigs/prow repository. |
/hold |
Testing:
update to the client-console deployment is yet to be tested. |
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.
Why do we need a new service account an a new RBAC?
Why can't we just use the operators SA and RBAC?
I realized something when replying to the comments, CSV will only be successful if Pod is in Running state, with an init container, pod will only be in Running state after init which could potentially fail d/s CI. Overall we might need to rethink on this. |
CI should take into account that this pod is waiting on installation, not the other way around |
Signed-off-by: Leela Venkaiah G <[email protected]>
888f0a3
to
2b4d44b
Compare
Tested:
|
I have raised tracker issues for other u/s projects which tries to consume client-op as olm bundles, need to fix them if those projects require updated client-op bundles: |
use an init container to wait till either we are running standalone or alongside with odf configured in provider mode Signed-off-by: Leela Venkaiah G <[email protected]>
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: leelavg, nb-ohad 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 |
/unhold |
c2ae75e
into
red-hat-storage:main
@leelavg: #196 failed to apply on top of branch "release-4.16":
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-sigs/prow repository. |
manual cherry-pick of red-hat-storage#196 Signed-off-by: Leela Venkaiah G <[email protected]>
manual cherry-pick of red-hat-storage#196 Signed-off-by: Leela Venkaiah G <[email protected]>
manual cherry-pick of red-hat-storage#196, red-hat-storage#198 Signed-off-by: Leela Venkaiah G <[email protected]>
we want to run manager only when required, i.e, we are going to reconcile and manage CSI among other operands. we are achieving that by adding an init container which only get successful if client-operator is deployed standalone or running in provider configured odf cluster.
Depends on: red-hat-storage/ocs-operator#2717
ref: red-hat-storage/odf-operator#450