From 6a1e8f1fcd616537d052b5ad43908c83e1ec2171 Mon Sep 17 00:00:00 2001
From: Leo LAIOLO <llaiolo@takima.fr>
Date: Wed, 14 Aug 2024 16:02:59 +0200
Subject: [PATCH] [ARGO-CD] feat: create a second env

---
 values.prod.yaml | 20 ++++++++++++++++++++
 values.yaml      |  6 +++---
 2 files changed, 23 insertions(+), 3 deletions(-)
 create mode 100644 values.prod.yaml

diff --git a/values.prod.yaml b/values.prod.yaml
new file mode 100644
index 0000000..b59e0f5
--- /dev/null
+++ b/values.prod.yaml
@@ -0,0 +1,20 @@
+# Default values for CDB app.
+# This is a YAML-formatted file.
+# Declare variables to be passed into your templates.
+# We have only done front for now
+name: app
+
+api:
+  ingress:
+    tlsEnabled: true
+    host: api.llaiolo.takima.school
+
+front:
+  enabled: true
+  image:
+    repository: registry.gitlab.com/takima-school/images/cdb/www
+    tag: latest
+  replicaCount: 1
+  ingress:
+    tlsEnabled: true
+    host: app.llaiolo.takima.school
\ No newline at end of file
diff --git a/values.yaml b/values.yaml
index a2c0ee0..decbeeb 100644
--- a/values.yaml
+++ b/values.yaml
@@ -2,12 +2,12 @@
 # This is a YAML-formatted file.
 # Declare variables to be passed into your templates.
 # We have only done front for now
-name: cdbapp
+name: dev-app
 
 api:
   ingress:
     tlsEnabled: true
-    host: api.llaiolo.takima.school
+    host: devapi.llaiolo.takima.school
 
 front:
   enabled: true
@@ -17,4 +17,4 @@ front:
   replicaCount: 1
   ingress:
     tlsEnabled: true
-    host: helm.llaiolo.takima.school
\ No newline at end of file
+    host: dev-app.llaiolo.takima.school
\ No newline at end of file
-- 
GitLab