Skip to content
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

Adapt the Secrets plugin API to use kubernetes secrets #19837

Closed
vinokurig opened this issue May 20, 2021 · 1 comment · Fixed by eclipse-che/che-theia#1166
Closed

Adapt the Secrets plugin API to use kubernetes secrets #19837

vinokurig opened this issue May 20, 2021 · 1 comment · Fixed by eclipse-che/che-theia#1166
Assignees
Labels
area/plugins kind/task Internal things, technical debt, and to-do tasks to be performed. sprint/current
Milestone

Comments

@vinokurig
Copy link
Contributor

Is your task related to a problem? Please describe.

The Secrets plugin API is going to be merged soon to theia. It uses keytar to store data in the local file system. This approach will not work for Che because workspaces are containers with new OS each time they restart, so the data will go away on restart.

Describe the solution you'd like

Reimplement the CredentialsService to use kubernetes secrets.

Describe alternatives you've considered

Additional context

@vinokurig vinokurig added kind/task Internal things, technical debt, and to-do tasks to be performed. team/plugins area/plugins labels May 20, 2021
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label May 20, 2021
@ericwill ericwill added sprint/next and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels May 20, 2021
@ericwill ericwill mentioned this issue May 20, 2021
29 tasks
@ericwill ericwill added this to the 7.32 milestone May 20, 2021
@ericwill ericwill modified the milestones: 7.32, 7.33 Jun 10, 2021
@ericwill ericwill mentioned this issue Jun 10, 2021
30 tasks
@ericwill ericwill mentioned this issue Jun 30, 2021
22 tasks
@vinokurig
Copy link
Contributor Author

I faced with a problem: create secret request to kubernetes fails because of the permissions restrictions: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets is forbidden: User \"system:serviceaccount:admin-che:che-workspace\" cannot create resource \"secrets\" in API group \"\" in the namespace \"admin-che\"","reason":"Forbidden","details":{"kind":"secrets"},"code":403}
@benoitf any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/plugins kind/task Internal things, technical debt, and to-do tasks to be performed. sprint/current
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants