From 607467c3903601526621b9496bbbe130ffe293d1 Mon Sep 17 00:00:00 2001
From: Thomas Duval <thomas.duval@orange.com>
Date: Fri, 8 Dec 2017 10:46:06 +0100
Subject: Fix some configuration issues

Change-Id: Ic6e9b442b87c2487793a2b6ca65cadf5e40958a1
---
 moonv4/conf/moon.conf                               | 2 +-
 moonv4/kubernetes/templates/db.yaml                 | 2 ++
 moonv4/kubernetes/templates/moon_configuration.yaml | 2 +-
 moonv4/templates/moonforming/moon.conf              | 2 +-
 4 files changed, 5 insertions(+), 3 deletions(-)

(limited to 'moonv4')

diff --git a/moonv4/conf/moon.conf b/moonv4/conf/moon.conf
index e807b1d3..dc498e34 100644
--- a/moonv4/conf/moon.conf
+++ b/moonv4/conf/moon.conf
@@ -29,7 +29,7 @@ components:
     orchestrator:
         port: 8083
         bind: 0.0.0.0
-        hostname: interface
+        hostname: orchestrator
         container: wukongsun/moon_orchestrator:v4.3
     wrapper:
         port: 8080
diff --git a/moonv4/kubernetes/templates/db.yaml b/moonv4/kubernetes/templates/db.yaml
index 0a62c077..38418643 100644
--- a/moonv4/kubernetes/templates/db.yaml
+++ b/moonv4/kubernetes/templates/db.yaml
@@ -31,6 +31,7 @@
 apiVersion: apps/v1beta1
 kind: Deployment
 metadata:
+  namespace: moon
   name: db
 spec:
   replicas: 1
@@ -73,6 +74,7 @@ spec:
 apiVersion: v1
 kind: Service
 metadata:
+  namespace: moon
   name: db
 spec:
   ports:
diff --git a/moonv4/kubernetes/templates/moon_configuration.yaml b/moonv4/kubernetes/templates/moon_configuration.yaml
index 14234cc1..3bcaa533 100644
--- a/moonv4/kubernetes/templates/moon_configuration.yaml
+++ b/moonv4/kubernetes/templates/moon_configuration.yaml
@@ -10,7 +10,7 @@ spec:
     spec:
       containers:
       - name: moonforming
-        image: asteroide/moonforming:v1.2
+        image: asteroide/moonforming:v1.3
         env:
         - name: POPULATE_ARGS
           value: "--verbose" # debug mode: --debug
diff --git a/moonv4/templates/moonforming/moon.conf b/moonv4/templates/moonforming/moon.conf
index e807b1d3..dc498e34 100644
--- a/moonv4/templates/moonforming/moon.conf
+++ b/moonv4/templates/moonforming/moon.conf
@@ -29,7 +29,7 @@ components:
     orchestrator:
         port: 8083
         bind: 0.0.0.0
-        hostname: interface
+        hostname: orchestrator
         container: wukongsun/moon_orchestrator:v4.3
     wrapper:
         port: 8080
-- 
cgit