Skip to content

Conversation

@kobzonega
Copy link
Contributor

@kobzonega kobzonega commented Jul 14, 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?

No way to configure additional pod labels - only for Pod resource

What is the new behavior?

  • new field additionalPodLabels for Storage and Database CRD
  • new method buildPodTemplateLabels to append additionalPodLabels for statefulset builders
  • refactor package labels to separate methods buildLabels, buildSelectorLabels and buildNodeSetLabels for each resource
  • propagate labels ydb.tech/database-nodeset, ydb.tech/storage-nodeset and ydb.tech/remote-cluster with method makeCommonLabels between resource recasting

Other information

additional kind worker to maintain affinity rules for blobstorage init job

@kobzonega kobzonega changed the title Additional pod labels additional pod labels Jul 15, 2024
@kobzonega kobzonega force-pushed the additionalPodLabels branch 2 times, most recently from 2e4cc09 to 80e1d53 Compare July 16, 2024 05:32
@kobzonega kobzonega force-pushed the additionalPodLabels branch from 80e1d53 to 5512cfa Compare July 16, 2024 21:51
@kobzonega kobzonega changed the title additional pod labels New field additionalPodLabels Aug 27, 2024
@kobzonega kobzonega force-pushed the additionalPodLabels branch from 192344a to a508cb2 Compare October 3, 2024 15:13
@kobzonega kobzonega force-pushed the additionalPodLabels branch from a508cb2 to df64bf5 Compare October 3, 2024 15:14
@kobzonega kobzonega requested a review from nikitka January 14, 2025 03:36
@kobzonega kobzonega merged commit 97f0b97 into master Jan 15, 2025
3 checks passed
@kobzonega kobzonega deleted the additionalPodLabels branch January 15, 2025 13:07
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.

3 participants