-
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
update Che CRD for DWO per-user strategy storage configuration #1442
update Che CRD for DWO per-user strategy storage configuration #1442
Conversation
Hi @AObuchow. Thanks for your PR. I'm waiting for a eclipse-che member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
Sounds good. Could you also update [1]:
[1] che-operator/api/v2/checluster_types.go Lines 363 to 364 in 885d623
|
0617b6d
to
1ed7526
Compare
Pls run |
Codecov Report
@@ Coverage Diff @@
## main #1442 +/- ##
==========================================
- Coverage 60.41% 60.38% -0.04%
==========================================
Files 74 74
Lines 6286 6247 -39
==========================================
- Hits 3798 3772 -26
+ Misses 2118 2107 -11
+ Partials 370 368 -2
Continue to review full report at Codecov.
|
I just updated my existing Eclipse.org account to use my Red Hat email again (it was previously set up to my personal email). The update will take a bit of time since I have changed employers and the legal team must reply. Will follow up once this update is completed. |
Hi.
- controller-gen.kubebuilder.io/version: v0.7.0
+ controller-gen.kubebuilder.io/version: v0.4.1
|
@@ -14,7 +14,7 @@ apiVersion: apiextensions.k8s.io/v1 | |||
kind: CustomResourceDefinition | |||
metadata: | |||
annotations: | |||
controller-gen.kubebuilder.io/version: v0.4.1 | |||
controller-gen.kubebuilder.io/version: v0.7.0 |
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.
Hm I deleted the bin directory and this still occurred after running make update-dev-resources
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.
I may be wrong, but after a quick check, it seems the makefile is currently set up to download controller-gen@v0.7.0. I can locally update it to 0.4.1?
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.
No, I've checked PR and it looks good now.
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.
Sounds great :) Once the ECA situation is resolved, I'll squash my fix up commits for final PR approval
8356598
to
3650ba7
Compare
@tolusha Can you approve running the CI workflow please? I rebased my patch. Once the workflows succeed, I will squash the fixup commits. Thank you :) |
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 wait for PR checks
PR against |
3650ba7
to
8319b0c
Compare
api/v2/checluster_types.go
Outdated
@@ -366,15 +366,16 @@ type TrustedCerts struct { | |||
|
|||
// Configuration settings related to the workspaces persistent storage. | |||
type WorkspaceStorage struct { | |||
// PVC settings. | |||
// PVC settings when using the "per-user" PVC strategy. |
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.
I don't think that's only for per-user
(i.e. the pvcStrategy
is configured in this same struct).
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.
And I would make it clear that those settings are about the Development environments PVCs.
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.
Ok sorry my bad, the comment above is for the perUserStrategyPvcConfig
. The diff confused me. Don't consider my comments above.
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.
LGTM
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: AObuchow, ibuziuk, l0rd, 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 |
@ibuziuk that's fine to add the |
f938363
to
8aa10b5
Compare
New changes are detected. LGTM label has been removed. |
Sounds good @ibuziuk, I will submit a followup PR to add the equivalent configuration for the perWorkspace PVC strategy |
9b1de93
to
d3a5697
Compare
d3a5697
to
43dc048
Compare
/retest |
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
43dc048
to
caab811
Compare
/test v11-devworkspace-happy-path |
/retest |
@AObuchow: The following tests 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. |
/test v10-upgrade-stable-to-next |
What does this PR do?
This PR updates the Eclipse Che CRD regarding the workspace storage to align it with the discussion held in eclipse-che/che#21405 (comment)
The previously named field
pvc
has been renamed toperUserStrategyPvcConfig
to make it clear that these PVC settings only are in effect when using the "per-user" (or "common") PVC strategy.Screenshot/screencast of this PR
n/a
What issues does this PR fix or reference?
eclipse-che/che#21405
How to test this PR?
There is not much to test for this PR as it is essentially just renaming the CRD field
CheClusterDevEnvironments.Storage.Pvc
->CheClusterDevEnvironments.Storage.PerUserStrategyPvcConfig
.However, this field is being used in the automated tests, so running the tests is recommended, e.g.
make test
PR Checklist
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.