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

Creates the shared image dir so os.Rename can work #1103

Merged
merged 4 commits into from
Aug 29, 2022

Conversation

0sewa0
Copy link
Contributor

@0sewa0 0sewa0 commented Aug 29, 2022

Description

The /data/codemodules directory is not created, and the os.Rename is not smart enough to move a dir from /data/tmp_zip to /data/codemodules/<image-digest>
This causes that the CSI driver can't finish the download if codeModulesImage is used

How can this be tested?

Deploy the operator on a fresh cluster (where /data/codemodules doesn't exist)
and create a Dynakube that uses the CSI driver with codeModulesImage

Checklist

  • Unit tests have been updated/added
  • PR is labeled accordingly
  • I have read and understood the contribution guidelines

@0sewa0 0sewa0 added the bug Something isn't working label Aug 29, 2022
@0sewa0 0sewa0 requested a review from a team as a code owner August 29, 2022 07:52
@0sewa0 0sewa0 requested a review from luhi-DT August 29, 2022 09:08
@0sewa0 0sewa0 enabled auto-merge (squash) August 29, 2022 10:29
@0sewa0 0sewa0 merged commit 8de3bb6 into release-0.8 Aug 29, 2022
@0sewa0 0sewa0 deleted the fix/codemodules-dir-create branch August 29, 2022 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants