Régis Behmo a1eef4cd78 chore: simplify DJANGO_SETTINGS_MODULE configuration
The Docker image now defaults to the tutor production settings, which allows us
to remove the environment variable from the docker-compose and k8s
configuration files.
2022-07-04 06:24:49 +02:00

27 lines
623 B
Plaintext

---
apiVersion: batch/v1
kind: Job
metadata:
name: discovery-job
labels:
app.kubernetes.io/component: job
spec:
template:
spec:
restartPolicy: Never
containers:
- name: discovery
image: {{ DISCOVERY_DOCKER_IMAGE }}
env:
- name: DEFAULT_PARTNER_CODE
value: openedx
volumeMounts:
- mountPath: /openedx/discovery/course_discovery/settings/tutor/production.py
name: settings
subPath: production.py
volumes:
- name: settings
configMap:
name: discovery-settings