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-791 Better organize OLM form #425

Merged
merged 5 commits into from
Jan 25, 2024

Conversation

jpinsonneau
Copy link
Contributor

@jpinsonneau jpinsonneau commented Sep 18, 2023

Description

Added to CSV:

These will make the CSV harder to maintain but the UX is way better in the console.


image

image

image

image

image

image


image

image

image


Dependencies

#329
#467
#522
Will need update for v1beta2 API

Checklist

If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that.

  • Is this PR backed with a JIRA ticket? If so, make sure it is written as a title prefix (in general, PRs affecting the NetObserv/Network Observability product should be backed with a JIRA ticket - especially if they bring user facing changes).
  • Does this PR require product documentation?
    • If so, make sure the JIRA epic is labelled with "documentation" and provides a description relevant for doc writers, such as use cases or scenarios. Any required step to activate or configure the feature should be documented there, such as new CRD knobs.
  • Does this PR require a product release notes entry?
    • If so, fill in "Release Note Text" in the JIRA.
  • Is there anything else the QE team should know before testing? E.g: configuration changes, environment setup, etc.
    • If so, make sure it is described in the JIRA ticket.
  • QE requirements (check 1 from the list):
    • Standard QE validation, with pre-merge tests unless stated otherwise.
    • Regression tests only (e.g. refactoring with no user-facing change).
    • No QE (e.g. trivial change with high reviewer's confidence, or per agreement with the QE team).

@jpinsonneau jpinsonneau added the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Sep 18, 2023
@netobserv netobserv deleted a comment from github-actions bot Sep 18, 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 Sep 18, 2023
@jpinsonneau jpinsonneau added the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Sep 18, 2023
@codecov
Copy link

codecov bot commented Sep 18, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (bf1562e) 57.73% compared to head (a16f6e3) 57.63%.
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #425      +/-   ##
==========================================
- Coverage   57.73%   57.63%   -0.11%     
==========================================
  Files          70       70              
  Lines        9446     9446              
==========================================
- Hits         5454     5444      -10     
- Misses       3659     3666       +7     
- Partials      333      336       +3     
Flag Coverage Δ
unittests 57.63% <ø> (-0.11%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@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 Sep 18, 2023
@jpinsonneau jpinsonneau added the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Sep 20, 2023
@netobserv netobserv deleted a comment from github-actions bot Sep 20, 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 Sep 20, 2023
@jpinsonneau jpinsonneau added the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Sep 20, 2023
@netobserv netobserv deleted a comment from github-actions bot Sep 20, 2023
@netobserv netobserv deleted a comment from github-actions bot Sep 20, 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 Sep 20, 2023
@jpinsonneau jpinsonneau added the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Sep 20, 2023
@github-actions
Copy link

New images:

  • quay.io/netobserv/network-observability-operator:185ed33
  • quay.io/netobserv/network-observability-operator-bundle:v0.0.0-185ed33
  • quay.io/netobserv/network-observability-operator-catalog:v0.0.0-185ed33

They will expire after two weeks.

To deploy this build:

# Direct deployment, from operator repo
IMAGE=quay.io/netobserv/network-observability-operator:185ed33 make deploy

# Or using operator-sdk
operator-sdk run bundle quay.io/netobserv/network-observability-operator-bundle:v0.0.0-185ed33

Or as a 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-185ed33
  displayName: NetObserv development catalog
  publisher: Me
  updateStrategy:
    registryPoll:
      interval: 1m

@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 Sep 21, 2023
@jotak
Copy link
Member

jotak commented Oct 25, 2023

These will make the CSV harder to maintain but the UX is way better in the console.

Yeah I agree, there are pros and cons, but it looks so much better!

What do you think about "promoting" some fields at the top level? E.g. sampling?
We could have a short-list of important fields at the top level, and then other sections named like "Agent advanced settings"

convert checkboxes to switch

console plugin display only when loki enabled

update bundle

rebased / apply to v1beta2
@jotak
Copy link
Member

jotak commented Jan 23, 2024

@jpinsonneau FYI I'm rebasing it and adapting to v1beta2 ...

@jpinsonneau
Copy link
Contributor Author

@jpinsonneau FYI I'm rebasing it and adapting to v1beta2 ...

Thanks @jotak
Be carefull of #522 that may impact this and NETOBSERV-1203 not started yet that should add another option

Hide some of them (e.g. ipfix), move others in advanced
@jotak jotak added the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Jan 23, 2024
Copy link

New images:

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

They will expire after two weeks.

To deploy this build:

# Direct deployment, from operator repo
IMAGE=quay.io/netobserv/network-observability-operator:ebd5d32 make deploy

# Or using operator-sdk
operator-sdk run bundle quay.io/netobserv/network-observability-operator-bundle:v0.0.0-ebd5d32

Or as a 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-ebd5d32
  displayName: NetObserv development catalog
  publisher: Me
  updateStrategy:
    registryPoll:
      interval: 1m

@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 Jan 23, 2024
@jotak jotak added the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Jan 23, 2024
Copy link

New images:

  • quay.io/netobserv/network-observability-operator:2f30838
  • quay.io/netobserv/network-observability-operator-bundle:v0.0.0-2f30838
  • quay.io/netobserv/network-observability-operator-catalog:v0.0.0-2f30838

They will expire after two weeks.

To deploy this build:

# Direct deployment, from operator repo
IMAGE=quay.io/netobserv/network-observability-operator:2f30838 make deploy

# Or using operator-sdk
operator-sdk run bundle quay.io/netobserv/network-observability-operator-bundle:v0.0.0-2f30838

Or as a 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-2f30838
  displayName: NetObserv development catalog
  publisher: Me
  updateStrategy:
    registryPoll:
      interval: 1m

@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 Jan 23, 2024
@jotak jotak added the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Jan 23, 2024
Copy link

New images:

  • quay.io/netobserv/network-observability-operator:8fdb437
  • quay.io/netobserv/network-observability-operator-bundle:v0.0.0-8fdb437
  • quay.io/netobserv/network-observability-operator-catalog:v0.0.0-8fdb437

They will expire after two weeks.

To deploy this build:

# Direct deployment, from operator repo
IMAGE=quay.io/netobserv/network-observability-operator:8fdb437 make deploy

# Or using operator-sdk
operator-sdk run bundle quay.io/netobserv/network-observability-operator-bundle:v0.0.0-8fdb437

Or as a 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-8fdb437
  displayName: NetObserv development catalog
  publisher: Me
  updateStrategy:
    registryPoll:
      interval: 1m

@jotak jotak marked this pull request as ready for review January 23, 2024 17:35
@memodi
Copy link
Contributor

memodi commented Jan 24, 2024

@jpinsonneau - I am able to see changes in form view, however I am not seeing the flowcollector details as you have shown in screenshot, I see as below. Am I missing something?

image

@jpinsonneau
Copy link
Contributor Author

@jpinsonneau - I am able to see changes in form view, however I am not seeing the flowcollector details as you have shown in screenshot, I see as below. Am I missing something?

The image is probably outdated but you should see the difference when you click on Create FlowCollector in the OCP console -> Installed Operators -> Network Observability Operator 😸

To allow these changes on view / edit mode, OCP console requires the following fix: openshift/console#13181

I don't expect this to be merged soon so let's just focus on create form.

Copy link

openshift-ci bot commented Jan 25, 2024

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by:

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-merge-bot openshift-merge-bot bot merged commit fd30f97 into netobserv:main Jan 25, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm ok-to-test To set manually when a PR is safe to test. Triggers image build on PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants