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

Expose on dashboard instructions how to configure Secrets/ConfigMaps for DevWorkspaces #20469

Closed
sleshchenko opened this issue Sep 14, 2021 · 3 comments
Labels
area/dashboard engine/devworkspace Issues related to Che configured to use the devworkspace controller as workspace engine. kind/enhancement A feature request - must adhere to the feature request template. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. severity/P1 Has a major impact to usage or development of the system.

Comments

@sleshchenko
Copy link
Member

Is your enhancement related to a problem? Please describe

Currently, DWO allows to mount any secret/configmap into devworkspaces, but there is no any clue on dashboard.

Describe the solution you'd like

Instead of building fully functional UI on Dashboard, it's decided to move with just instruction how to do it with K8s cluster CLI.
It's STEP 1 from #17954

Describe alternatives you've considered

No response

Additional context

No response

@sleshchenko sleshchenko added kind/enhancement A feature request - must adhere to the feature request template. sprint/next area/dashboard engine/devworkspace Issues related to Che configured to use the devworkspace controller as workspace engine. labels Sep 14, 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 Sep 14, 2021
@mmorhun mmorhun added severity/P1 Has a major impact to usage or development of the system. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Sep 16, 2021
@sleshchenko
Copy link
Member Author

The simplest way to expose users info is the following
Please apply your suggestion on https://docs.google.com/document/d/1IR78XlxO37VTWXOu-uE-2nKC93D1GNhZomGoRaN518o/edit?usp=sharing


DevWorkspaces allow mounting configmap and secrets as files or environment variables which enables you to use them as storage for your cross workspaces settings, like maven settings.
After you create them into your namespace, use the following configuration fragments to get it in your DevWorkspace:

As a file

metadata:
  labels:
    controller.devfile.io/mount-to-devworkspace: true
  annotation:
    controller.devfile.io/mount-path: /my/file

As env var:

metadata:
  labels:
    controller.devfile.io/mount-to-devworkspace: true
  annotation:
    controller.devfile.io/mount-as: env

@l0rd
Copy link
Contributor

l0rd commented Nov 17, 2021

@ibuziuk this has milestone 7.39 but it hasn't been completed (because of unplanned work dashboard side I guess). I am removing the milestone since I don't think you have plans to work on it for 7.40 (not a DW milestone 3 priority).

@l0rd l0rd removed this from the 7.39 milestone Nov 17, 2021
@l0rd l0rd changed the title Expose on dashboard instructions how to configure secrets/confimaps for DevWorkspaces Expose on dashboard instructions how to configure Secrets/ConfigMaps for DevWorkspaces Dec 17, 2021
@che-bot
Copy link
Contributor

che-bot commented Jun 15, 2022

Issues go stale after 180 days of inactivity. lifecycle/stale issues rot after an additional 7 days of inactivity and eventually close.

Mark the issue as fresh with /remove-lifecycle stale in a new comment.

If this issue is safe to close now please do so.

Moderators: Add lifecycle/frozen label to avoid stale mode.

@che-bot che-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jun 15, 2022
@che-bot che-bot closed this as completed Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dashboard engine/devworkspace Issues related to Che configured to use the devworkspace controller as workspace engine. kind/enhancement A feature request - must adhere to the feature request template. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

4 participants