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

🐛 fix: remove unnecessary bundle cache volume #964

Merged

Conversation

joelanford
Copy link
Member

Description

When I removed the flag that controlled the bundle cache root directory in #941, I missed the fact that we also had a volumeMount for it, which is a child of our broader /var/cache volume emptyDir volume.

This commit eliminates the unnecessary extra volume and instead just creates the /var/cache/bundles directory in the existing volume.

This is important to eliminate the potential for issues when attempting to rename files across filesystem boundaries using os.Rename (e.g. if we ever needed to do something like rename /var/cache/tmp/foobar.txt to /var/cache/bundles/foobar.txt)

Reviewer Checklist

  • API Go Documentation
  • Tests: Unit Tests (and E2E Tests, if appropriate)
  • Comprehensive Commit Messages
  • Links to related GitHub Issue(s)

Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
@joelanford joelanford requested a review from a team as a code owner June 21, 2024 15:44
Copy link

netlify bot commented Jun 21, 2024

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit f2f8862
🔍 Latest deploy log https://app.netlify.com/sites/olmv1/deploys/66759fcd79e1040008ccc9c2
😎 Deploy Preview https://deploy-preview-964--olmv1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@perdasilva perdasilva left a comment

Choose a reason for hiding this comment

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

lgtm

@joelanford joelanford added this pull request to the merge queue Jun 21, 2024
Merged via the queue into operator-framework:main with commit ed4e40e Jun 21, 2024
15 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.

None yet

2 participants