mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-05-30 04:40:49 +00:00
84f2060d33
The k8s quickstart command is now functional, with suppport for https, xqueue, notes and minio. There are still a few bugs to get rid of, though.
42 lines
1.3 KiB
YAML
42 lines
1.3 KiB
YAML
---
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
resources:
|
|
- k8s/namespace.yml
|
|
- k8s/deployments.yml
|
|
- k8s/ingress.yml
|
|
- k8s/services.yml
|
|
- k8s/volumes.yml
|
|
|
|
# namespace to deploy all Resources to
|
|
namespace: {{ K8S_NAMESPACE }}
|
|
|
|
# labels added to all Resources
|
|
# https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/
|
|
commonLabels:
|
|
app.kubernetes.io/instance: openedx-{{ ID }}
|
|
app.kubernetes.io/version: {{ TUTOR_VERSION }}
|
|
app.kubernetes.io/part-of: openedx
|
|
app.kubernetes.io/managed-by: tutor
|
|
|
|
configMapGenerator:
|
|
- name: openedx-settings-lms
|
|
files:{% for file in "apps/openedx/settings/lms"|walk_templates %}
|
|
- {{ file }}{% endfor %}
|
|
- name: openedx-settings-cms
|
|
files:{% for file in "apps/openedx/settings/cms"|walk_templates %}
|
|
- {{ file }}{% endfor %}
|
|
- name: openedx-config
|
|
files:{% for file in "apps/openedx/config"|walk_templates %}
|
|
- {{ file }}{% endfor %}
|
|
- name: nginx-config
|
|
files:{% for file in "apps/nginx"|walk_templates %}
|
|
- {{ file }}{% endfor %}
|
|
{% if ACTIVATE_MYSQL %}- name: mysql-config
|
|
env: apps/mysql/auth.env{% endif %}
|
|
{% if ACTIVATE_NOTES %}- name: notes-settings
|
|
files:
|
|
- apps/notes/settings/tutor.py{% endif %}
|
|
{% if ACTIVATE_XQUEUE %}- name: xqueue-settings
|
|
files:
|
|
- apps/xqueue/settings/tutor.py{% endif %} |