Skip to content

Conversation

@tolusha
Copy link
Contributor

@tolusha tolusha commented Apr 9, 2025

What does this pull request change?

Add labels to prevent mounting CM into user containers

What issues does this pull request fix or reference?

https://issues.redhat.com/browse/CRW-8313

Specify the version of the product this pull request applies to

main

Pull Request checklist

The author and the reviewers validate the content of this pull request with the following checklist, in addition to the automated tests.

  • Any procedure:
    • Successfully tested.
  • Any page or link rename:
    • The page contains a redirection for the previous URL.
    • Propagate the URL change in:
  • Builds on Eclipse Che hosted by Red Hat.
  • the Validate language on files added or modified step reports no vale warnings.

@tolusha tolusha requested review from a team and deerskindoll as code owners April 9, 2025 15:19
@tolusha tolusha requested a review from svor April 9, 2025 15:19
@github-actions
Copy link

github-actions bot commented Apr 9, 2025

Click here to review and test in web IDE: Contribute

@github-actions
Copy link

github-actions bot commented Apr 9, 2025

🎊 Navigate the preview: https://67fd2762d7188eca79fe2b99--eclipse-che-docs-pr.netlify.app 🎊

Copy link
Contributor

@deerskindoll deerskindoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

labels:
controller.devfile.io/watch-configmap: "false"
controller.devfile.io/mount-to-devworkspace: "false"
data:
Copy link
Member

@RomanNikitenko RomanNikitenko Apr 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are these labels actual when the ConfigMap is created in the user's namespace?
or
they are for the eclipse-che namespace only?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only when CM is created in eclipse-che namespace

Copy link
Member

@RomanNikitenko RomanNikitenko Apr 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The current doc is for the user's namespace ConfigMap:
image

We only have a tip, that the same ConfigMap can be used for the eclipse-che namespace:
image

So, maybe it makes sense to add some additional info about those labels and a difference for user's namespace vs eclipse-che namespace

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

btw
for the eclipse-che namespace we have example of CM here https://eclipse.dev/che/docs/stable/administration-guide/configuring-a-user-namespace/
so - should these 2 labels be part of that example?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RomanNikitenko make sense for me

@tolusha tolusha force-pushed the updateeditorconfigurationarticle branch from 98945ed to b0e5159 Compare April 11, 2025 07:53
@tolusha tolusha requested a review from deerskindoll April 11, 2025 07:54
@tolusha tolusha requested a review from RomanNikitenko April 11, 2025 08:05
Copy link
Contributor

@deerskindoll deerskindoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@tolusha tolusha merged commit 822d059 into main Apr 15, 2025
10 checks passed
@tolusha tolusha deleted the updateeditorconfigurationarticle branch April 15, 2025 07:23
tolusha added a commit that referenced this pull request Apr 15, 2025
* chore: Add labels to prevent mounting CM into user containers

Signed-off-by: Anatolii Bazko <[email protected]>
tolusha added a commit that referenced this pull request Apr 15, 2025
…#2898)

* chore: Add labels to prevent mounting CM into user containers

Signed-off-by: Anatolii Bazko <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants