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
BUILD-725: Adds build & deployer controller #289
Conversation
05138d9
to
e71f283
Compare
ff4c48e
to
5861357
Compare
@apoorvajagtap: This pull request references BUILD-725 which is a valid jira issue. 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 openshift-eng/jira-lifecycle-plugin repository. |
/assign @adambkaplan @sayan-biswas for review |
5861357
to
b7d47db
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.
This is a start, but in its current form could lead to two controllers reconciling the same set of objects. This would lead to conflicts galore and undesired behavior.
For your next iteration, the current "combined" role binding logic needs to be divided so the "deployer" controller only reconciles for the deployer service account, and the "builder" controller only reconciles the builder service account.
b7d47db
to
3eb1049
Compare
632decd
to
270f01a
Compare
/retest |
@adambkaplan the tests fail due to timeout while waiting for respective SAs & rolebindings being provisioned:
Seems like the controllers aren't being started. I believe this should be resolved once openshift/cluster-openshift-controller-manager-operator#335 is merged. |
@apoorvajagtap: This pull request references BUILD-725 which is a valid jira issue. 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 openshift-eng/jira-lifecycle-plugin repository. |
@apoorvajagtap: This pull request references BUILD-725 which is a valid jira issue. 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 openshift-eng/jira-lifecycle-plugin repository. |
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.
I think we're almost over the finish line here!
d614243
to
0f4facf
Compare
/retest |
2 similar comments
/retest |
/retest |
/test e2e-gcp-ovn-builds |
2 similar comments
/test e2e-gcp-ovn-builds |
/test e2e-gcp-ovn-builds |
/retest |
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.
/approve
@apoorvajagtap code looks great! Please squash commits, then I'll add LGTM
0f4facf
to
9db5df9
Compare
@apoorvajagtap: The following test failed, say
Full PR test history. Your PR dashboard. 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. |
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adambkaplan, apoorvajagtap 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 |
b3c423f
into
openshift:master
[ART PR BUILD NOTIFIER] This PR has been included in build ose-openshift-controller-manager-container-v4.16.0-202403280418.p0.gb3c423f.assembly.stream.el9 for distgit ose-openshift-controller-manager. |
This refactors the current defaultsRoleBinding controller into different controllers, responsible for managing respective roleBindings:
Dependent on: