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

bug: panic when create object with .spec.pause is true #285

Closed
kobzonega opened this issue Jan 27, 2025 · 0 comments
Closed

bug: panic when create object with .spec.pause is true #285

kobzonega opened this issue Jan 27, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@kobzonega
Copy link
Contributor

kobzonega commented Jan 27, 2025

Bug Report

YDB Kubernetes Operator version: 0.5.32

Environment

Current behavior:

An attempt to create a Storage and/or Dabase manifest with value true for spec.pause results in a panic error

Expected behavior:

The ability to create a Storage and/or Database object with a value true in the .spec.pause field

Steps to reproduce:

see above

Related code:

Storage controller
https://github.com/ydb-platform/ydb-kubernetes-operator/blob/master/internal/controllers/storage/sync.go#L293-L302

Database controller
https://github.com/ydb-platform/ydb-kubernetes-operator/blob/master/internal/controllers/database/sync.go#L360-L366

Other information:

@kobzonega kobzonega added the bug Something isn't working label Jan 27, 2025
@kobzonega kobzonega changed the title bug: panic with create object with .spec.pause: true bug: panic when create object with .spec.pause is true Jan 27, 2025
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

No branches or pull requests

1 participant