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 media files emptyDir if persistence is not enabled #449

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

gertzakis
Copy link
Contributor

@gertzakis gertzakis commented Sep 23, 2024

Fixes: #445

Changed the templates to not create a volumeMount with emptyDir if persistence is not enabled for Media files. That way we are not overwriting the /opt/nautobot/media directory.
Also consolidated pvc-static.yaml and pvc-media.yaml into one file pvc.yaml

@gertzakis gertzakis merged commit 87c6735 into nautobot:develop Sep 24, 2024
3 of 4 checks passed
@gertzakis gertzakis deleted the fix-media-pvc branch September 24, 2024 07:44
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.

Image moved to media folder is removed after deployment
2 participants