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

CSV changes to remove ocs metrics exporter deployment #2313

Merged

Conversation

umangachapagain
Copy link
Contributor

@umangachapagain umangachapagain commented Dec 8, 2023

We will deploy metrics exporter as part of StorageCluster reconcile now. We don't need it in CSV anymore.

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 8, 2023
@umangachapagain
Copy link
Contributor Author

/hold
This depends on #2293 which brings rest of the implementation

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 8, 2023
@df-build-team df-build-team requested a review from a team December 8, 2023 18:58
Copy link
Member

@jmolmo jmolmo left a comment

Choose a reason for hiding this comment

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

LGTM. I think we need to test this.
@umangachapagain Do we have test to get the list of metrics using the console ?

controllers/storagecluster/exporter.go Outdated Show resolved Hide resolved
@umangachapagain
Copy link
Contributor Author

umangachapagain commented Dec 11, 2023

Testing of #2293 might be blocked due to resource conflicts with CSV. This PR is now updated to unblock it.

@umangachapagain
Copy link
Contributor Author

/unhold

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 11, 2023
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Dec 11, 2023
ocs-metrics-exporter is now deployed with every StorageCluster.
We do not need to deploy it during operator installation anymore.

Signed-off-by: Umanga Chapagain <[email protected]>
ocs-metrics-exporter is no longer deployed via the CSV at operator
install time. So, we do not need to generate the "ocs-metrics-exporter"
serviceaccount and related ClusterRole and ClusterRoleBindings.

Signed-off-by: Umanga Chapagain <[email protected]>
These changes include removal of ocs-metrics-exporter ServiceAccount and
it's related RBACs from the operator bundle.

Signed-off-by: Umanga Chapagain <[email protected]>
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Dec 11, 2023
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Dec 11, 2023
Copy link
Contributor

openshift-ci bot commented Dec 11, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: iamniting, 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:
  • OWNERS [iamniting,umangachapagain]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 2b565e4 into red-hat-storage:main Dec 11, 2023
15 checks passed
@umangachapagain umangachapagain deleted the exporter-csv-changes branch December 12, 2023 05:19
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.

3 participants