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

[controller] Remove isDefault field and refactor some logic in lsc controller #39

Merged
merged 10 commits into from
May 31, 2024

Conversation

AleksZimin
Copy link
Member

@AleksZimin AleksZimin commented May 1, 2024

Description

This PR removes the isDefault field and refactors some logic in the lsc controller to simplify and enhance code efficiency.

Why do we need it, and what problem does it solve?

The removal of the isDefault field aims to improve the user experience. This change allows users to leverage the standard Kubernetes mechanism for defining the default StorageClass by using annotations.
The refactoring of logic in the lsc controller aim to simplify the codebase.

What is the expected result?

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

Signed-off-by: Aleksandr Zimin <alexandr.zimin@flant.com>
@AleksZimin AleksZimin self-assigned this May 1, 2024
@AleksZimin AleksZimin added the enhancement New feature or request label May 1, 2024
Signed-off-by: Aleksandr Zimin <alexandr.zimin@flant.com>
@AleksZimin AleksZimin requested a review from dxavx May 3, 2024 12:27
AleksZimin added 3 commits May 8, 2024 01:18
Signed-off-by: Aleksandr Zimin <alexandr.zimin@flant.com>
Signed-off-by: Aleksandr Zimin <alexandr.zimin@flant.com>
Signed-off-by: Aleksandr Zimin <alexandr.zimin@flant.com>
@AleksZimin AleksZimin force-pushed the fix-crd-remove-default-and-filesystem branch 3 times, most recently from bf78c1c to 1e4f07c Compare May 23, 2024 14:52
Signed-off-by: Aleksandr Zimin <alexandr.zimin@flant.com>
@AleksZimin AleksZimin force-pushed the fix-crd-remove-default-and-filesystem branch from 8217c85 to 53ea17d Compare May 27, 2024 06:42
Signed-off-by: Aleksandr Zimin <alexandr.zimin@flant.com>
@AleksZimin AleksZimin force-pushed the fix-crd-remove-default-and-filesystem branch from 986de33 to 82c43d7 Compare May 27, 2024 13:45
Signed-off-by: Aleksandr Zimin <alexandr.zimin@flant.com>
@AleksZimin AleksZimin force-pushed the fix-crd-remove-default-and-filesystem branch from 3cac2d6 to d95800a Compare May 28, 2024 12:41
@AleksZimin AleksZimin marked this pull request as ready for review May 28, 2024 13:34
@AleksZimin AleksZimin requested a review from dxavx May 28, 2024 13:34
Signed-off-by: Aleksandr Zimin <alexandr.zimin@flant.com>
Signed-off-by: Aleksandr Zimin <alexandr.zimin@flant.com>
@AleksZimin AleksZimin merged commit a019e03 into main May 31, 2024
3 checks passed
@AleksZimin AleksZimin deleted the fix-crd-remove-default-and-filesystem branch May 31, 2024 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants