Fix k8s deployment
This commit is contained in:
parent
273dcfb948
commit
721c8d3ced
@ -1 +1 @@
|
||||
__version__ = "0.1.5"
|
||||
__version__ = "0.1.6"
|
||||
|
||||
25
tutorxqueue/patches/k8s-jobs
Normal file
25
tutorxqueue/patches/k8s-jobs
Normal file
@ -0,0 +1,25 @@
|
||||
---
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
name: xqueue-job
|
||||
labels:
|
||||
app.kubernetes.io/component: job
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
restartPolicy: Never
|
||||
containers:
|
||||
- name: xqueue
|
||||
image: {{ DOCKER_REGISTRY }}{{ XQUEUE_DOCKER_IMAGE }}
|
||||
env:
|
||||
- name: DJANGO_SETTINGS_MODULE
|
||||
value: xqueue.tutor
|
||||
volumeMounts:
|
||||
- mountPath: /openedx/xqueue/xqueue/tutor.py
|
||||
name: settings
|
||||
subPath: tutor.py
|
||||
volumes:
|
||||
- name: settings
|
||||
configMap:
|
||||
name: xqueue-settings
|
||||
@ -1,3 +1,3 @@
|
||||
- name: xqueue-settings
|
||||
files:
|
||||
- plugins/xqueue/apps/xqueue/settings/tutor.py
|
||||
- plugins/xqueue/apps/settings/tutor.py
|
||||
Loading…
x
Reference in New Issue
Block a user