Skip to main content

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.

Release files for tutor-contrib-k8s-deploy-tasks 18.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tutor-contrib-k8s-deploy-tasks 18.0.3
File Size Uploaded
tutor_contrib_k8s_deploy_tasks-18.0.3.tar.gz 380.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tutor-contrib-k8s-deploy-tasks 18.0.3
File Interpreter ABI Platform
tutor_contrib_k8s_deploy_tasks-18.0.3-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 797.1 kB

Release files / tutor_contrib_k8s_deploy_tasks-18.0.3.tar.gz

Download URL tutor_contrib_k8s_deploy_tasks-18.0.3.tar.gz
Size 380.7 kB
Tags Source
SHA-256 checksum
How to use checksums
cb2e649c3622f1c6de34f0a46e7c4d157846fd51272487178e07270f9d54af62
BLAKE2b-256 checksum
How to use checksums
3df845cc7c70e9ee197f6da9afc7bdf791e5ad4fba27c7517c6b9f6369c04319
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.13

Release files / tutor_contrib_k8s_deploy_tasks-18.0.3-py2.py3-none-any.whl

Download URL tutor_contrib_k8s_deploy_tasks-18.0.3-py2.py3-none-any.whl
Size 416.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9381de465b1fe8763103700d4436aeb80a8896f545119e7f90a2d53e53119057
BLAKE2b-256 checksum
How to use checksums
8c968e3d2e385e7c799bea989bf4664fe94726cbd71c00aacff7e7604e6aa1c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.13
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page