Skip to content

append secrets and volumes from storage spec to init-job volumes #282

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

Merged
merged 6 commits into from
Jan 29, 2025

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