-
Notifications
You must be signed in to change notification settings - Fork 615
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
Subscribe to Single Namespace Operator #1172
Conversation
Can you nest the dropdown under the radio label, so that the namespace selection feels like it is part of the selection? The mock also has the dropdown always visible, even when disabled. |
@robszumski We don't currently have a way to disable the dropdown, and we have an existing pattern when creating a |
cc @jwforres |
Agree with rob on at least nesting it under the radio visually with some left margin. |
Are we actually looking at a Subscription for checking if it's installed? Or looking for the presence of the real/copied CSV? Is your error message accurate?
Ok, in the interest of time that is ok with me. |
I'm not crazy about showing a radio button group with a single option (update channel) or include a disabled option. I think this is something we should stay away from in the UI. |
Can we add explanatory text to let the users know why some operators will/not have both options? |
Based on the mocks Rob shared, i think we can come to this screen from an Operator Hub which is scoped to a specific namespace. If that's the case, could we simplify it even more and not include an installation mode? |
This was dictated in the original design, not part of this PR.
Sure. What specific text should we use that doesn't "confuse" the user or expose the concept of
The goal is that all Operators will support multiple installation modes. Without this option, we don't expose the installation mode anywhere, so admins won't know if this Operator watches |
@alecmerdler thanks for the replies. I’m fine with merging but would like to revisit the design to see how we can improve |
ea91130
to
5dfed30
Compare
@serenamarie125 These are per-CSV and I was a fan of showing this because the channel might mean something to you, eg. seeing only |
e4feb72
to
55ac82b
Compare
/retest |
Tagging based on previous reviews /lgtm |
/retest |
eb1889b
to
4d34d79
Compare
/lgtm |
/lgtm |
/lgtm |
/override console-e2e alec has confirmed these tests pass for him locally |
/override ci/prow/console-e2e not sure which it is im supposed to tell it here :) |
@jwforres: Overrode contexts on behalf of jwforres: ci/prow/console-e2e In response to this:
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. |
@alecmerdler: The following test failed for commit 09df3ba, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. |
Description
Some Operators in the Marketplace do not support watching their custom resources at a cluster-wide level. OLM only ships with an
OperatorGroup
for cluster-wide Operators. Here we modify the Marketplace and OLM subscription workflows to support single-namespace Operators by creating a newOperatorGroup
in the selected namespace. This also removes the existingOperatorGroup
dropdown for cluster-wide Operators, because there will only ever be one "global"OperatorGroup
per OLM installation.Also adds full Marketplace UI end-to-end test for installing the etcd Operator.
Screenshots
"Create Operator Subscription" (single namespace):
"Create Operator Subscription" (all namespaces):
"Create Operator Subscription" (w/ tooltip):
"Create Operator Subscription" view (
Subscription
exists in namespace):Addresses https://jira.coreos.com/browse/ALM-894
Blocked by operator-framework/operator-lifecycle-manager#697