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] Fix a bug with labels containing spaces. #89

Merged
merged 2 commits into from
Aug 29, 2024

Conversation

ViktorKram
Copy link
Contributor

@ViktorKram ViktorKram commented Aug 28, 2024

Description

As some of BlockDevice status values might have spaces within themselves, and the CR labels do not support spaces, we have to replace them with "-" sign with slug pkg.

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

Because of the bug some of BlockDevice resources are not able to be created.

What is the expected result?

Any BlockDevice resource might be created.

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: Viktor Kramarenko <[email protected]>
@ViktorKram ViktorKram added the bug Something isn't working label Aug 28, 2024
@ViktorKram ViktorKram self-assigned this Aug 28, 2024
Signed-off-by: Viktor Kramarenko <[email protected]>
@ViktorKram ViktorKram force-pushed the v-kramarebko-hot-fix-labels branch from 5cfda70 to 734ed79 Compare August 29, 2024 08:49
@AleksZimin AleksZimin merged commit 6fa875a into main Aug 29, 2024
7 checks passed
@AleksZimin AleksZimin deleted the v-kramarebko-hot-fix-labels branch August 29, 2024 08:53
ViktorKram added a commit that referenced this pull request Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants