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: Mark /tmp as a container volume #1546

Merged
merged 1 commit into from Apr 26, 2023
Merged

Conversation

charithe
Copy link
Contributor

Explicitly mark /tmp and /.cache as volumes so that the directories
are automatically created within the container.

Ideally /tmp should be a tmpfs mount and /.cache should be a
persistent mount, especially when the bundle driver is in use.

Signed-off-by: Charith Ellawala charith@cerbos.dev

Explicitly mark `/tmp` and `/.cache` as volumes so that the directories
are automatically created within the container.

Ideally `/tmp` should be a `tmpfs` mount and `/.cache` should be a
persistent mount, especially when the `bundle` driver is in use.

Signed-off-by: Charith Ellawala <charith@cerbos.dev>
@codecov
Copy link

codecov bot commented Apr 26, 2023

Codecov Report

Merging #1546 (775832a) into main (9c12c4f) will increase coverage by 0.19%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1546      +/-   ##
==========================================
+ Coverage   53.33%   53.52%   +0.19%     
==========================================
  Files         128      128              
  Lines       14449    14449              
==========================================
+ Hits         7706     7734      +28     
+ Misses       6070     6041      -29     
- Partials      673      674       +1     

see 3 files with indirect coverage changes

@charithe charithe merged commit 8f66068 into cerbos:main Apr 26, 2023
19 checks passed
@charithe charithe deleted the fix/tmp-volume branch April 26, 2023 12:45
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