-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
User Preferences-Adding External Accounts #17954
Comments
@parvathyvr I would update the table like that:
and instead of "Add External Account" button I would have "Add Workspaces Secret". And for a first iteration I would only support |
@l0rd I'm wondering about "Add Workspaces Secret". Which whilst accurate, offers little abstraction to the user from the mechanism we're using in kubernetes - which they shouldn't have to understand. It isn't necessarily a clear 'action' they would want to take to achieve (for example) connecting their Github account. |
@sympatheticmoose agreed. I haven't found anything better though. "Add External Account" doesn't work for tools settings that doesn't involve an external service (settings or git settings for example) |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
Is your enhancement related to a problem? Please describe.
The users should be able to set up the various external accounts they want to link to Che using User Preferences. This currently includes:
Describe the solution you'd like
The user can add various external account types under 'User Preferences'.
Step 1
Could be similar to oc login display token where we expose the cmd for them to copy/paste into a terminal to add a secret. We should also explain how to query for created secrets
#20469
Step 2
Would add a YAML editor where a user could add content and apply. A quick way that we could provide additional help/value would be to pre-fill the form with a skeleton secret structure which includes the following:
At this stage we should also provide a table(?) of created secrets which the user would be able to view/edit/delete. This should update after a new secret has been added through the above form.
Creation / deletion of secrets should provide feedback inc. timeout error message.
Step 3
would start to add basic validation as described below:
We should check for these labels and show an error message if they are not there (error message should include these so they can be easily added):
And we should check if the annotation “che.eclipse.org/mount-as” and we should show an error message if it’s not there and if the value is neither “file” or “env”
If it’s a file then we should also check that the annotation che.eclipse.org/mount-path is there
If it’s an env we should check that at least one annotation with the suffix env-name is there:
Step 4
Would add the ability to select the type of secret that is being created (i.e. drop down menu of type, or + button then menu. Which asks for specific information they would already know about or know how to retrieve, and automatically create the full secret for them:
Describe alternatives you've considered
Additional context
An exploratory design concept is attached below
The text was updated successfully, but these errors were encountered: