A Tutor plugin to manage deployment tasks that are exclusively (or mostly) specific to Kubernetes deployments
Project description
tutor plugin to manage deployment tasks that are exclusively (or mostly) specific to Kubernetes deployments.
oauth misconfiguration. tutor relies on an environment variable ENABLE_HTTPS to determine the protocol of the production oauth client for applications that rely on the LMS oauth service. For Kubernetes installations however, this value needs to be set to false which results in ./manage.py lms create_dot_application misconfiguring the oauth client for some, but not all, of these oauth clients. This plugin reconfigures the oauth clients of cms, discovery, ecommerce and credentials to use https protocol for redirect URI.
Nutmeg upgrade and initializataion tasks There are a few manage.py tasks that need to run for platforms that are upgrading to Nutmeg or newer from Maple or older. This plugin runs those tasks for you. For more information see Open edX Nutmeg Release
Missing user profile records. User accounts created with manage.py lack a corresponding auth_userprofile record, which causes a 500 exception during login for that account. Adds a blank record in cases where a record is missing.
MFE misconfiguration. tutor-mfe relies on the value of ENABLE_HTTPS when generating the dict MFE_CONFIG, which in the case of k8s deployments will result in the browser blocking content due to “Mixed content”. This plugin overrides the results of tutor-mfe openedx-lms-production-settings, replacing protocol produced by logic relying on ENABLE_HTTPS (assumed to result in ‘http’) with the hard-coded value ‘https’.
Xblock storage configuration. creates this custom storage configuration designed to leverage this custom kubernetes ExternalService and ingress created by Cookiecutter for supporting AWS S3 storage for Xblocks.
Installation
pip install tutor-contrib-k8s-deploy-tasks
Usage
tutor plugins enable k8s_deploy_tasks
License
This software is licensed under the terms of the AGPLv3.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tutor_contrib_k8s_deploy_tasks-18.0.0.tar.gz
.
File metadata
- Download URL: tutor_contrib_k8s_deploy_tasks-18.0.0.tar.gz
- Upload date:
- Size: 380.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05457f978793a705e7d23ef4bf4907ff71439a54135b6a576d67892d4008a705 |
|
MD5 | 3e3b20ae1f38d34de44d33f2fe1e1650 |
|
BLAKE2b-256 | 7237cc028dc05a94125aa77714f1bee187993de3164b881b9471bed9b123c9a9 |
File details
Details for the file tutor_contrib_k8s_deploy_tasks-18.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: tutor_contrib_k8s_deploy_tasks-18.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 415.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 426b6dc2cfbb904e8ad76817f3115f36e8df29e69010fa3d7f6e7c96e4145928 |
|
MD5 | 15e41fde89a46ffc92aa735a90d20067 |
|
BLAKE2b-256 | 7ed7a75bfc79bc3524abff7f6738749bea9c3a712b513f6c1c9979e0c13c5bce |