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
Automate prometheususer creation for ob metrics collector #1336
Automate prometheususer creation for ob metrics collector #1336
Conversation
|
Hi @thotz. Thanks for your PR. I'm waiting for a red-hat-storage member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
|
This PR includes a commit to update the rook version to 1.7.3. Is that required in order to create the prometheus user? |
Yes, I will send separate PR for rook update #1340 |
| @@ -29,6 +31,20 @@ func (r *StorageClusterReconciler) newCephObjectStoreUserInstances(initData *ocs | |||
| Store: generateNameForCephObjectStore(initData), | |||
| }, | |||
| }, | |||
| { | |||
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.
is it safe to create such a user? any user who can access this resource could use it for previlage escalation.
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.
The same security concern applies for the noobaa-ceph-objectstore-user and ocs-storagecluster-cephobjectstoreuser, even if we create this user manually, this concern issue will be present
4f368d3
to
7ea88da
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.
lgtm
/cc @leseb Do you think there could be any issues with creating such a user?
|
/ok-to-test |
7ea88da
to
88cd57f
Compare
88cd57f
to
ee39f11
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.
One nit
Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
ee39f11
to
e836837
Compare
|
/lgtm |
|
@thotz: 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. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: leseb, thotz, umangachapagain 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 |
25cbaa8
into
red-hat-storage:main
As a prerequisite for object bucket metrics collector, it is expected to have a user named
prometheus-userin the object store with certain permissions . Otherwise, it won't able to fetch the stat info from backend. This PR automates that creation