-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add PROFILE_IMAGE_BACKEND settings for k8s
- Add PROFILE_IMAGE_BACKEND settings in minio so that profile images persist in k8s deployment of openedx.
- Loading branch information
Muhammad Faraz Maqsood
committed
Oct 17, 2024
1 parent
40abeca
commit 68b3c12
Showing
2 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- [BugFix] Add PROFILE_IMAGE_BACKEND settings in minio so that profile images persist in k8s deployment of openedx. (by @Faraz32123) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# LMS-specific media storage | ||
PROFILE_IMAGE_BACKEND = { | ||
"class": "{{ DEFAULT_FILE_STORAGE }}", | ||
"options": { | ||
"bucket_name": "{{ MINIO_BUCKET_NAME }}", | ||
"querystring_auth": False, | ||
"location": PROFILE_IMAGE_BACKEND["options"]["location"].lstrip("/"), | ||
}, | ||
} |