-
Notifications
You must be signed in to change notification settings - Fork 70
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
feat: Add a predefined configmap to store theia preferences #174
Conversation
✅ E2E Happy path tests succeed 🎉 See Details
Test product:
Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe |
Signed-off-by: Igor Vinokur <ivinokur@redhat.com>
5640129
to
a1d074e
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.
Is this secret bound to a workspace or to a namespace/user? Would it make sense to label or annotate these secrets?
✅ E2E Happy path tests succeed 🎉 See Details
Test product:
Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe |
The secret is bound to a namespace/user.
There is no label in the current |
Are we going to have a separate secret for each ide? Should we make the name of it ide-neutral? For example |
@vinokurig would it be a problem to save preferences of all editors in one secret? |
I think it's what @l0rd wanted (preferences per ide) |
Can we do that in a way that we don't need to adjust che-server's source code for each? |
I would say for sure it makes sense that as there are multiple editors and we don't know all editors in advance, it should be generic enough |
ce54cb4
to
df089db
Compare
@svor @skabashnyuk @benoitf @l0rd Renamed the secret to |
✅ E2E Happy path tests succeed 🎉 See Details
Test product:
Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe |
I am ok with this approach |
I am going to merge it after the |
@skabashnyuk @l0rd From the discussion here it was decided to use |
depends on eclipse-che/che-operator#1180 |
❌ E2E Happy path tests failed ❗ See Details
Test product:
Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe |
674a703
to
2fb5920
Compare
✅ E2E Happy path tests succeed 🎉 See Details
Test product:
Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe |
@skabashnyuk ok to merge? |
Signed-off-by: Igor Vinokur ivinokur@redhat.com
What does this PR do?
workspcae-secrets
role, to be able to manage it outside.See #172 (comment)
Screenshot/screencast of this PR
What issues does this PR fix or reference?
eclipse-che/che#20622
How to test this PR?
curl -X POST <kubernetes API url>/api/v1/namespaces/<namespace name>/secrets/workspace-theia-secret --header "Content-Type: application/json-patch+json" -d '[{ "op": "add", "path": "/data", "value": { "key": "" } }]'
PR Checklist
As the author of this Pull Request I made sure that:
What issues does this PR fix or reference
andHow to test this PR
completedReviewers
Reviewers, please comment how you tested the PR when approving it.