Skip to content
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

Add RBAC for creating service monitors from mgr sidecar #1229

Merged

Conversation

travisn
Copy link
Contributor

@travisn travisn commented Jun 16, 2021

Stretch clusters have two mgrs, each with a sidecar for updating the services and service monitor if the active mgr changes in Ceph. The mgr pod needs access to update the service monitor.

In order for the monitoring RBAC to be picked up, it needs to be added to the OCS operator in this folder:
https://github.com/openshift/ocs-operator/tree/master/rbac

This corresponds to the RBAC that was added upstream in this PR: rook/rook#8118

Stretch clusters have two mgrs, each with a sidecar for updating
the services and service monitor if the active mgr changes in
Ceph. The mgr pod needs access to update the service monitor.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
Copy link
Member

@jarrpa jarrpa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 16, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jarrpa

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jun 16, 2021
@jarrpa
Copy link
Member

jarrpa commented Jun 16, 2021

/cherrypick release-4.8

@openshift-cherrypick-robot

@jarrpa: once the present PR merges, I will cherry-pick it on top of release-4.8 in a new PR and assign it to you.

In response to this:

/cherrypick release-4.8

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.

@travisn
Copy link
Contributor Author

travisn commented Jun 16, 2021

/test ocs-operator-bundle-e2e-aws

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

6 similar comments
@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-cherrypick-robot

@jarrpa: new pull request created: #1230

In response to this:

/cherrypick release-4.8

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants