Skip to content

Conversation

@nikitka
Copy link
Contributor

@nikitka nikitka commented Jan 21, 2025

Now is impossible to run init-job if you have storage init container and this init container is using some files from secrets or volumes. This PR fixes this by adding secrets and volumes declared in storage spec to init-job volumes

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?

Warning  InitializingStorage  10s (x12 over 21s)  Storage  Failed to create init blobstorage Job, error: Job.batch "storage-blobstorage-init" is invalid: spec.template.spec.initContainers[1].volumeMounts[2].name: Not found: "trust-bundle"

Issue Number: N/A

What is the new behavior?

Other information

@nikitka nikitka changed the title apend secrets and volumes from storage spec to init-job volumes append secrets and volumes from storage spec to init-job volumes Jan 23, 2025
@nikitka nikitka force-pushed the fix-init-job-tls branch 2 times, most recently from 505b811 to cb88751 Compare January 29, 2025 10:50
@Jorres Jorres self-requested a review January 29, 2025 15:14
@nikitka nikitka merged commit c3f7de5 into ydb-platform:master Jan 29, 2025
3 checks passed
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.

2 participants