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

chore: Remove some outdated PVC storage properties #330

Closed

Conversation

AObuchow
Copy link
Contributor

What does this PR do?

Removes the following Che-Server properties, as PVC configuration in Eclipse Che is now managed by the devworkspace-operator:

che.workspace.projects.storage.default.size
che.infra.kubernetes.pvc.enabled
che.infra.kubernetes.pvc.strategy
che.infra.kubernetes.pvc.precreate_subpaths
che.infra.kubernetes.pvc.name
che.infra.kubernetes.pvc.storage_class_name
che.infra.kubernetes.pvc.quantity
che.infra.kubernetes.pvc.access_mode
che.infra.kubernetes.pvc.wait_bound
che.workspace.storage.available_types

Screenshot/screencast of this PR

n/a

What issues does this PR fix or reference?

Part of eclipse-che/che#21405

How to test this PR?

n/a

Additional notes:

Additionally, there may be additional properties that can be removed as part of this PR, but I wasn't sure if they were still in use:

che.infra.kubernetes.pvc.jobs.image
che.infra.kubernetes.pvc.jobs.image.pull_policy
che.infra.kubernetes.pvc.jobs.memorylimit

I imagine the maintenance PVC job in che-server is to cleanup a workspace off the common PVC when a workspace is deleted. If that's the case, then this functionality already exists in DWO, and these properties can also be removed.

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

Part of eclipse-che/che#21405

The following che-server properties have been removed as PVC configuration in Eclipse Che is now managed by the devworkspace-operator:
- che.workspace.projects.storage.default.size
- che.infra.kubernetes.pvc.enabled
- che.infra.kubernetes.pvc.strategy
- che.infra.kubernetes.pvc.precreate_subpaths
- che.infra.kubernetes.pvc.name
- che.infra.kubernetes.pvc.storage_class_name
- che.infra.kubernetes.pvc.quantity
- che.infra.kubernetes.pvc.access_mode
- che.infra.kubernetes.pvc.wait_bound
- che.workspace.storage.available_types

Signed-off-by: Andrew Obuchowicz <[email protected]>
@AObuchow
Copy link
Contributor Author

More work on this PR is likely needed to remove the associated Java classes related to these properties.

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.

1 participant