Skip to content

Commit

Permalink
fix: add PROFILE_IMAGE_BACKEND settings for k8s
Browse files Browse the repository at this point in the history
- 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
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/20241010_170607_faraz.maqsood.md
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)
9 changes: 9 additions & 0 deletions tutorminio/patches/openedx-lms-common-settings
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("/"),
},
}

0 comments on commit 68b3c12

Please sign in to comment.