diff --git a/tutorxqueue/__about__.py b/tutorxqueue/__about__.py index 1276d02..0a8da88 100644 --- a/tutorxqueue/__about__.py +++ b/tutorxqueue/__about__.py @@ -1 +1 @@ -__version__ = "0.1.5" +__version__ = "0.1.6" diff --git a/tutorxqueue/patches/k8s-jobs b/tutorxqueue/patches/k8s-jobs new file mode 100644 index 0000000..869fb23 --- /dev/null +++ b/tutorxqueue/patches/k8s-jobs @@ -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 \ No newline at end of file diff --git a/tutorxqueue/patches/kustomization-configmapgenerator b/tutorxqueue/patches/kustomization-configmapgenerator index baba3f8..e775454 100644 --- a/tutorxqueue/patches/kustomization-configmapgenerator +++ b/tutorxqueue/patches/kustomization-configmapgenerator @@ -1,3 +1,3 @@ - name: xqueue-settings files: - - plugins/xqueue/apps/xqueue/settings/tutor.py \ No newline at end of file + - plugins/xqueue/apps/settings/tutor.py \ No newline at end of file