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

NETOBSERV-1003: Added monitoring role to bundle #333

Merged
merged 1 commit into from
May 11, 2023

Conversation

OlivierCazade
Copy link
Contributor

Add monitoring role to the bundle.

@openshift-ci-robot
Copy link
Collaborator

openshift-ci-robot commented May 4, 2023

@OlivierCazade: This pull request references NETOBSERV-1003 which is a valid jira issue.

In response to this:

Add monitoring role to the bundle.

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.

@OlivierCazade
Copy link
Contributor Author

/hold

Testing

@OlivierCazade
Copy link
Contributor Author

/ok-to-test

@openshift-ci openshift-ci bot added the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label May 4, 2023
@github-actions
Copy link

github-actions bot commented May 4, 2023

New images:

  • quay.io/netobserv/network-observability-operator:589bbb4
  • quay.io/netobserv/network-observability-operator-bundle:v0.0.0-589bbb4
  • quay.io/netobserv/network-observability-operator-catalog:v0.0.0-589bbb4

They will expire after two weeks.

Catalog source:

apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  name: netobserv-dev
  namespace: openshift-marketplace
spec:
  sourceType: grpc
  image: quay.io/netobserv/network-observability-operator-catalog:v0.0.0-589bbb4
  displayName: NetObserv development catalog
  publisher: Me
  updateStrategy:
    registryPoll:
      interval: 1m

@codecov
Copy link

codecov bot commented May 4, 2023

Codecov Report

Merging #333 (336f3f1) into main (c2c2961) will not change coverage.
The diff coverage is n/a.

❗ Current head 336f3f1 differs from pull request most recent head 5db3663. Consider uploading reports for the commit 5db3663 to get more accurate results

@@           Coverage Diff           @@
##             main     #333   +/-   ##
=======================================
  Coverage   51.34%   51.34%           
=======================================
  Files          43       43           
  Lines        5155     5155           
=======================================
  Hits         2647     2647           
  Misses       2310     2310           
  Partials      198      198           
Flag Coverage Δ
unittests 51.34% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@OlivierCazade OlivierCazade requested review from jotak and memodi May 4, 2023 15:02
memodi
memodi previously approved these changes May 5, 2023
Copy link
Contributor

@memodi memodi 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 tried testing using make-deploy but it did not deploy operator in openshift-netobserv-operator NS and also had to update DOWNSTREAM_DEPLOYMENT variable. If your testing so far looks good. I think we should go ahead merge it and can do further testing on Downstream builds.

/label qe-approved

@openshift-ci openshift-ci bot added qe-approved QE has approved this pull request lgtm labels May 5, 2023
@memodi
Copy link
Contributor

memodi commented May 5, 2023

LGTM I tried testing using make-deploy but it did not deploy operator in openshift-netobserv-operator NS and also had to update DOWNSTREAM_DEPLOYMENT variable.

never mind I was able to work with catalog image on this PS and edit CSV for DOWNSTREAM_DEPLOYMENT, Operator metrics were being populated correctly. Thanks!

@msherif1234
Copy link
Contributor

@OlivierCazade do u think it’s better to group role and role_binding for Prometheus with the rest under Config/rbac folder ?

@OlivierCazade
Copy link
Contributor Author

@msherif1234 config/rbac is general and used in every kind of deployment. The monitoring part is proper to Openshift this is why I added the rules there to avoid deploying unnecessary rule.

@jotak
Copy link
Member

jotak commented May 10, 2023

shouldn't it be in the config/openshift-olm directory? I'm a bit confused.. I think openshift-olm is the one used for downstream builds.. Maybe add it in both places ?

@openshift-ci openshift-ci bot removed the lgtm label May 10, 2023
@github-actions github-actions bot removed the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label May 10, 2023
@OlivierCazade
Copy link
Contributor Author

@jotak done, thanks

@jotak
Copy link
Member

jotak commented May 10, 2023

/lgtm

@OlivierCazade
Copy link
Contributor Author

/approve

@openshift-ci
Copy link

openshift-ci bot commented May 11, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: OlivierCazade

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

@OlivierCazade
Copy link
Contributor Author

/unhold

@openshift-merge-robot openshift-merge-robot merged commit fb851fd into netobserv:main May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants