From e4137cb9e3f3d171a5c1bef721b4b6cb7461890c Mon Sep 17 00:00:00 2001
From: Bensidhoum Wissem <wbensidhoum@takima.fr>
Date: Wed, 2 Aug 2023 17:57:04 +0200
Subject: [PATCH] update values

---
 values-preprod.yaml  | 17 ++---------------
 values-prod.yaml     | 17 ++---------------
 values-stagging.yaml |  7 +++++++
 values.yaml          |  4 ++--
 4 files changed, 13 insertions(+), 32 deletions(-)
 create mode 100644 values-stagging.yaml

diff --git a/values-preprod.yaml b/values-preprod.yaml
index 52e6c9f..2c66a57 100644
--- a/values-preprod.yaml
+++ b/values-preprod.yaml
@@ -1,20 +1,7 @@
-# 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: cdb
-
 api:
   ingress:
-    tlsEnabled: true
-    host: api.preprod.wbensidhoum.takima.school
+    host: api-preprod.wbensidhoum.takima.school
 
 front:
-  enabled: true
-  image:
-    repository: registry.gitlab.com/takima-school/images/cdb/www
-    tag: latest
-  replicaCount: 1
   ingress:
-    tlsEnabled: true
-    host: www.preprod.wbensidhoum.takima.school
+    host: www-preprod.wbensidhoum.takima.school
diff --git a/values-prod.yaml b/values-prod.yaml
index bc761b0..a6f0fa6 100644
--- a/values-prod.yaml
+++ b/values-prod.yaml
@@ -1,20 +1,7 @@
-# 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: cdb
-
 api:
   ingress:
-    tlsEnabled: true
-    host: api.prod.wbensidhoum.takima.school
+    host: api-prod.wbensidhoum.takima.school
 
 front:
-  enabled: true
-  image:
-    repository: registry.gitlab.com/takima-school/images/cdb/www
-    tag: latest
-  replicaCount: 1
   ingress:
-    tlsEnabled: true
-    host: www.prod.wbensidhoum.takima.school
+    host: www-prod.wbensidhoum.takima.school
diff --git a/values-stagging.yaml b/values-stagging.yaml
new file mode 100644
index 0000000..1f63da8
--- /dev/null
+++ b/values-stagging.yaml
@@ -0,0 +1,7 @@
+api:
+  ingress:
+    host: api-staging.wbensidhoum.takima.school
+
+front:
+  ingress:
+    host: www-staging.wbensidhoum.takima.school
diff --git a/values.yaml b/values.yaml
index 5f6aa14..d31f952 100644
--- a/values.yaml
+++ b/values.yaml
@@ -7,7 +7,7 @@ name: cdb
 api:
   ingress:
     tlsEnabled: true
-    host: api.staging.wbensidhoum.takima.school
+    host: api.wbensidhoum.takima.school
 
 front:
   enabled: true
@@ -17,4 +17,4 @@ front:
   replicaCount: 1
   ingress:
     tlsEnabled: true
-    host: www.staging.wbensidhoum.takima.school
+    host: www.wbensidhoum.takima.school
-- 
GitLab