-
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
Add devWorkspace.runningLimit field to CheCluster schema #1335
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: olexii4 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 |
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.
Let's use spec.devworkspace.runningLimit
- eclipse-che/che-dashboard#475 (comment)
I believe you need to change |
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.
The correct way to add new fields to CheCluster CRD is:
|
Signed-off-by: Oleksii Orel <oorel@redhat.com>
Codecov Report
@@ Coverage Diff @@
## main #1335 +/- ##
=======================================
Coverage 60.52% 60.52%
=======================================
Files 77 77
Lines 6346 6346
=======================================
Hits 3841 3841
Misses 2119 2119
Partials 386 386 Continue to review full report at Codecov.
|
Signed-off-by: Oleksii Orel oorel@redhat.com
What does this PR do?
Add devWorkspace.runningLimit field into CheCluster schema:
Screenshot/screencast of this PR
You can test it with Dashboard swagger ${CHE_HOST}/dashboard/api/swagger/static/index.html#/clusterConfig/get_dashboard_api_cluster_config
![2022-03-14_12_14_09](https://user-images.githubusercontent.com/6310786/158158582-dad183d5-8190-41a7-9cfc-c20a370869f6.png)
What issues does this PR fix or reference?
fixes eclipse-che/che#21032
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-operator-flag
I have tested it with platform minikube and this che-operator image: docker.io/olexii4dockerid/che-operator:next.
Example:
docker.io/olexii4dockerid/che-operator:next
.checlusters/eclipse-che
with commandclusterConfig
. The running limit should be 2.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.