mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-13 22:48:20 +00:00
33 lines
785 B
Plaintext
33 lines
785 B
Plaintext
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: notes
|
|
labels:
|
|
app.kubernetes.io/name: notes
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: notes
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/name: notes
|
|
spec:
|
|
containers:
|
|
- name: notes
|
|
image: {{ DOCKER_REGISTRY }}{{ NOTES_DOCKER_IMAGE }}
|
|
ports:
|
|
- containerPort: 8000
|
|
env:
|
|
- name: DJANGO_SETTINGS_MODULE
|
|
value: notesserver.settings.tutor
|
|
volumeMounts:
|
|
- mountPath: /openedx/edx-notes-api/notesserver/settings/tutor.py
|
|
name: settings
|
|
subPath: tutor.py
|
|
volumes:
|
|
- name: settings
|
|
configMap:
|
|
name: notes-settings
|