Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tutor_contrib_k8s_deploy_tasks-18.0.2.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

tutor_contrib_k8s_deploy_tasks-18.0.2-py2.py3-none-any.whl (24.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file tutor_contrib_k8s_deploy_tasks-18.0.2.tar.gz.

File metadata

File hashes

Hashes for tutor_contrib_k8s_deploy_tasks-18.0.2.tar.gz
Algorithm Hash digest
SHA256 812421555444339df6fc53435bac94ba765f7ec3b2f71fb21ec10e84010ff032
MD5 0c98020aea285147f7e0a0aaa15f7ea2
BLAKE2b-256 fd4e7bc9b1a0f2d91f547b8715e13afddaa61498f19c6d9e578514183cfd93b6

See more details on using hashes here.

File details

Details for the file tutor_contrib_k8s_deploy_tasks-18.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for tutor_contrib_k8s_deploy_tasks-18.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f8d3811ac3a72f7ec2008f4a679da6f2aec990637ac9f4e01ea28a16b7c27c19
MD5 405dfcd5206a510b252f82a03d0bfd0a
BLAKE2b-256 ce893bd1d68305284cbae090deedf1fe1daf9d01e4bfe69abc939ca1779c067e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page