-
Notifications
You must be signed in to change notification settings - Fork 88
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: set CHE_NAMESPACE and CHE_CRD_OBJECT_NAME env vars #1248
Conversation
I don't think adding anything regarding workspces into a CheCluster CR is a good idea. |
Could we reconsider? This was the workflow proposed in the issue: eclipse-che/che#20090 (comment) |
Also, why are fields regarding workspaces in the Che CR not a good idea? I think I am missing some context. |
… dashboard Signed-off-by: David Kwon <dakwon@redhat.com>
Signed-off-by: David Kwon <dakwon@redhat.com>
Thank you for the feedback @tolusha , I made some changes |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: dkwon17, ibuziuk, tolusha The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
1 similar comment
/retest |
@dkwon17: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
pls merge |
Signed-off-by: David Kwon dakwon@redhat.com
What does this PR do?
Sets
CHE_NAMESPACE
andCHE_CRD_OBJECT_NAME
vars for the che-dashboard deployment.This is done to use to use the ServerConfigApi from che-dashboard.
The second commit adds the
server.workspacesDefaultPlugins
field in the Che CR. For example:What issues does this PR fix or reference?
eclipse-che/che#20090
How to test this PR?
To deploy:
Can be tested by following these steps: https://github.com/eclipse-che/che-operator#deploy-che-operator-with-chectl-using---installer-olm-flag
I have tested this PR on CRC with this catalog image: quay.io/dkwon17/eclipse-che-openshift-opm-catalog:next.
Example:
To test:
1. Checking the che-dashboard pod's environment variables:
2. Checking the CheCluster CR for the new field:
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.