-
Notifications
You must be signed in to change notification settings - Fork 706
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
Repos global list on additional clusters #5466
Conversation
Signed-off-by: Rafa Castelblanque <rcastelblanq@vmware.com>
Signed-off-by: Rafa Castelblanque <rcastelblanq@vmware.com>
✅ Deploy Preview for kubeapps-dev canceled.
|
@@ -172,6 +196,7 @@ function PkgRepoList() { | |||
namespace={currentNamespace} | |||
helmGlobalNamespace={helmGlobalNamespace} | |||
carvelGlobalNamespace={carvelGlobalNamespace} | |||
disabled={!supportedCluster} |
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.
Also disabled the "Add package repository" button if the cluster is not the default one.
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.
Great, having a read-only view of the global repos is a good idea.
What about adding a button to "manage repos in the main cluster" (or sth like that), to let users access to the management view more quickly ?
Do you mean adding a button like that close the current "Add package repository" (top right)? |
Signed-off-by: Rafa Castelblanque rcastelblanq@vmware.com
Description of the change
This PR adds the list of global repos when context is set to a cluster other than the default one.
List is set on read only mode.
Same UI warning message is kept, as it still describes correctly the situation.
Targeted at the case stated in #2717, users that do not have access to the main/default cluster where Kubeapps is installed.
Benefits
Possible drawbacks
N/A
Applicable issues