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
feature flag Helm based on HelmRepository CRs #7035
Conversation
/kind feature |
a0da321
to
cf4ef49
Compare
/assign @rohitkrai03 |
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.
Even after helm flag is disabled catalog has a type filter for Helm Charts. Its probably better if we remove that filter item as well when Helm is disabled. @serenamarie125 thoughts on this?
b3f116f
to
f94d7d6
Compare
@@ -32,6 +33,9 @@ export const helmTopologyPlugin: Plugin<HelmTopologyConsumedExtensions> = [ | |||
getDataModel: getHelmTopologyDataModel, | |||
isResourceDepicted: getIsHelmResource, | |||
}, | |||
flags: { | |||
required: [FLAG_OPENSHIFT_HELM], |
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.
No need to remove topology visualization if helm is disabled.
f94d7d6
to
1bec131
Compare
1bec131
to
614ca34
Compare
614ca34
to
0b426d9
Compare
We should also add the flag to the Helm Topology plugin: https://github.com/openshift/console/blob/6062e7e96baff020679764676655a8b54d46eb59/frontend/packages/topology/src/helm/helmTopologyPlugin.tsx |
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.
@debsmita1 Tested the PR locally. Everything works as expected except the catalog. You need to feature flag the catalog extensions for Helm as well. Update the file /catalog/catalog-plugin.ts
in components folder and add the Helm feature flag in helm extensions.
@jeff-phillips-18 Based on the chats from this thread it seems we would want to show the topology visualization for helm charts regardless of helm flag. Maybe @serenamarie125 can confirm it here as well. |
0b426d9
to
41e057d
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.
/approve
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: debsmita1, rohitkrai03 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 |
/retest |
/retest Please review the full test history for this PR and help us cut down flakes. |
3 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest |
/retest Please review the full test history for this PR and help us cut down flakes. |
2 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
JIRA Story:
https://issues.redhat.com/browse/ODC-5024
Root Analysis:
Need a way to enable/disable helm specific navigation items from the console if there are no helm repositories configured
Solution Description:
GIF/Sceenshot: