Please check the type of change your PR introduces:
[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):
What is the current behavior?
Scenario:
I am a ydb user
created Storage object with config
created Database object without config
Then I need to include some kind of thing in ydb configuration:
I'm editing the configuration in Storage object
After I'll restart all Storage and all Databases
Result:
I get new configuration for Storage
But on in the Database it did not turn
Issue Number: YDBOPS-9635
What is the new behavior?
Check field .spec.configuration in Database object:
if config is not defined (spec.configuration == "") and encryption is not enabled (.spec.encryption == nil) then reuse Storage ConfigMap for StatefulSet. That will help to simple and clearly update configuration for YDB cluster.
else create/update separate ConfigMap with Database specific configuration
Other information
TODO: avoid using Database field .spec.configuration and use dynconfig instead (YDBOPS-9608)
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
Pull request type
Please check the type of change your PR introduces:
What is the current behavior?
Scenario:
Then I need to include some kind of thing in ydb configuration:
Result: I get new configuration for Storage But on in the Database it did not turn
Issue Number: YDBOPS-9635
What is the new behavior?
Other information
TODO: avoid using Database field
.spec.configuration
and use dynconfig instead (YDBOPS-9608)