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-16.0.3.tar.gz (377.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tutor_contrib_k8s_deploy_tasks-16.0.3-py2.py3-none-any.whl (412.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file tutor-contrib-k8s-deploy-tasks-16.0.3.tar.gz.

File metadata

File hashes

Hashes for tutor-contrib-k8s-deploy-tasks-16.0.3.tar.gz
Algorithm Hash digest
SHA256 a196a74a0e30a2bb36113538cb0bd47b8a567ae77fd29e35cb3e74f6ec9f4305
MD5 8a6c5e89ca2f7c1e54faca9228caa7a9
BLAKE2b-256 51c284a05fa520b699c9f0f98091fae29246c1a1f3d6c8ebbe43af2aa86c4878

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tutor_contrib_k8s_deploy_tasks-16.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 68961675c285d59e22da89c838d1d5d51d2e2904fd640db1a2b72d97b56ff884
MD5 67aeeb7224e3bb59d4a93d345f0447b5
BLAKE2b-256 bf7bfd20867f0e15616215920c764101419bd19746b03344a9de80f072c87f32

See more details on using hashes here.

Supported by

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