From b01e66f6df46b8ebfdfbc74af0530a393229d52f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Thu, 11 Jul 2019 10:32:40 +0800 Subject: [PATCH] Add a few kustomization patches --- tutor/templates/kustomization.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tutor/templates/kustomization.yml b/tutor/templates/kustomization.yml index f0c9e0f..0096157 100644 --- a/tutor/templates/kustomization.yml +++ b/tutor/templates/kustomization.yml @@ -7,6 +7,7 @@ resources: - k8s/ingress.yml - k8s/services.yml - k8s/volumes.yml +{{ patch("kustomization-resources") }} # namespace to deploy all Resources to namespace: {{ K8S_NAMESPACE }} @@ -18,6 +19,7 @@ commonLabels: app.kubernetes.io/version: {{ TUTOR_VERSION }} app.kubernetes.io/part-of: openedx app.kubernetes.io/managed-by: tutor + {{ patch("kustomization-commonlabels")|indent(2) }} configMapGenerator: - name: openedx-settings-lms @@ -35,3 +37,5 @@ configMapGenerator: {% if ACTIVATE_MYSQL %}- name: mysql-config env: apps/mysql/auth.env{% endif %} {{ patch("kustomization-configmapgenerator") }} + +{{ patch("kustomization") }} \ No newline at end of file