From b54c3099f85df1bc2fdff2ef6a1759564767eacb Mon Sep 17 00:00:00 2001
From: Thomas  MENARD <thomas.menard@pasteur.fr>
Date: Wed, 27 May 2020 16:12:40 +0200
Subject: [PATCH] update kustomize cm mysql

---
 .gitlab-ci.yml                    | 4 +++-
 tutor/templates/kustomization.yml | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d0ed32d..43068fb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,7 +14,9 @@ test:
     - pip install .
     - make ci-install-python-requirements
     - make test
-
+  only:
+    - dev
+    
 build:binary:
   image: python:3.6-stretch
   script:
diff --git a/tutor/templates/kustomization.yml b/tutor/templates/kustomization.yml
index 2dd8b76..8fa7788 100644
--- a/tutor/templates/kustomization.yml
+++ b/tutor/templates/kustomization.yml
@@ -38,7 +38,7 @@ configMapGenerator:
 - name: mysql-config
   env: apps/mysql/auth.env
 - name: mysql-cnf
-  env: apps/mysql/my.cnf
+  files: apps/mysql/my.cnf
 {{ patch("kustomization-configmapgenerator") }}
 
 {{ patch("kustomization") }}
-- 
GitLab