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

YDBOPS-9679 dynconfig CMS ReplaceConfig #214

Merged
merged 89 commits into from
Sep 26, 2024
Merged

YDBOPS-9679 dynconfig CMS ReplaceConfig #214

merged 89 commits into from
Sep 26, 2024

Conversation

kobzonega
Copy link
Contributor

@kobzonega kobzonega commented Jun 12, 2024

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:

  • 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?

Issue Number: YDBOPS-9679

What is the new behavior?

  • validate dynconfig for kubernetes (must contain mandatory blobstorage fields)
  • insert .config field without changes from dynconfig into ConfigMap as static config
  • check the need for ReplaceConfig by compare metadata.version with CMS GetConfig request
  • update config in cluster by send dynconfig with CMS ReplaceConfig request

Other information

ydb.MergeOptions(opts...),
)
if err != nil {
logger.Error(err, "Error connecting to YDB storage")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

то же самое, что и с другим коннектом

@nmerkulov
Copy link

few nits

overall lgtm

kobzonega and others added 12 commits June 21, 2024 00:47
* use statefulset status instead of list pod by labels

* fix missing "ydb.tech/remote-cluster" label

* bump helm chart version
* ignore CREATE event from owns objects

* unit-test detect StatefulSet delete event

* compare only lastApplied annotation

* fix misspell lint

* bump helm chart version
* use concurrency group

* using gotestsum

* retry docker pull kube-webhook-certgen
@kobzonega kobzonega merged commit d8d4809 into master Sep 26, 2024
7 of 8 checks passed
@kobzonega kobzonega deleted the YDBOPS-9679 branch September 26, 2024 12:20
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.

4 participants