aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/robot/templates
diff options
context:
space:
mode:
authorMandeep Khinda <mandeep.khinda@amdocs.com>2018-03-20 21:00:33 +0000
committerMandeep Khinda <mandeep.khinda@amdocs.com>2018-03-22 14:16:02 +0000
commit930bd69e63894941e4b2e4612f5c43bd6276a604 (patch)
treec89c68f5cfbd4e1bc669378622064348e4fd5aa6 /kubernetes/robot/templates
parente04b2feb855e5ab20e28c867d2bd7f89f6b8c425 (diff)
fixing standardized robot
-fixed communication via kube dns -using fullname to avoid possible conflicts -removed unused values -set image to 1.2-STAGING-latest (for master) -set demo artifacts to the master version 1.2.0-SNAPSHOT -removed dependency on other reviews Issue-ID: OOM-728 Change-Id: I60530215374149dd9d0e0706e37712ed8291ab6c Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
Diffstat (limited to 'kubernetes/robot/templates')
-rw-r--r--kubernetes/robot/templates/configmap.yaml6
-rw-r--r--kubernetes/robot/templates/deployment.yaml8
-rw-r--r--kubernetes/robot/templates/service.yaml2
3 files changed, 8 insertions, 8 deletions
diff --git a/kubernetes/robot/templates/configmap.yaml b/kubernetes/robot/templates/configmap.yaml
index dad3af43f9..ab4a10bf9b 100644
--- a/kubernetes/robot/templates/configmap.yaml
+++ b/kubernetes/robot/templates/configmap.yaml
@@ -15,7 +15,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
- name: {{ include "common.name" . }}-eteshare-configmap
+ name: {{ include "common.fullname" . }}-eteshare-configmap
namespace: {{ include "common.namespace" . }}
data:
{{ tpl (.Files.Glob "resources/config/eteshare/config/*").AsConfig . | indent 2 }}
@@ -23,7 +23,7 @@ data:
apiVersion: v1
kind: ConfigMap
metadata:
- name: {{ include "common.name" . }}-resources-configmap
+ name: {{ include "common.fullname" . }}-resources-configmap
namespace: {{ include "common.namespace" . }}
data:
{{ tpl (.Files.Glob "resources/config/robot/resources/*").AsConfig . | indent 2 }}
@@ -31,7 +31,7 @@ data:
apiVersion: v1
kind: ConfigMap
metadata:
- name: {{ include "common.name" . }}-lighttpd-authorization-configmap
+ name: {{ include "common.fullname" . }}-lighttpd-authorization-configmap
namespace: {{ include "common.namespace" . }}
data:
{{ tpl (.Files.Glob "resources/config/authorization").AsConfig . | indent 2 }}
diff --git a/kubernetes/robot/templates/deployment.yaml b/kubernetes/robot/templates/deployment.yaml
index 513e4cec7e..3403810d20 100644
--- a/kubernetes/robot/templates/deployment.yaml
+++ b/kubernetes/robot/templates/deployment.yaml
@@ -15,7 +15,7 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
- name: {{ include "common.name" . }}
+ name: {{ include "common.fullname" . }}
namespace: {{ include "common.namespace" . }}
labels:
app: {{ include "common.name" . }}
@@ -84,13 +84,13 @@ spec:
path: /etc/localtime
- name: robot-eteshare
configMap:
- name: {{ include "common.name" . }}-eteshare-configmap
+ name: {{ include "common.fullname" . }}-eteshare-configmap
defaultMode: 0755
- name: robot-resources
configMap:
- name: {{ include "common.name" . }}-resources-configmap
+ name: {{ include "common.fullname" . }}-resources-configmap
- name: robot-lighttpd-authorization
configMap:
- name: {{ include "common.name" . }}-lighttpd-authorization-configmap
+ name: {{ include "common.fullname" . }}-lighttpd-authorization-configmap
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"
diff --git a/kubernetes/robot/templates/service.yaml b/kubernetes/robot/templates/service.yaml
index c71fca5ff6..f9f2805f00 100644
--- a/kubernetes/robot/templates/service.yaml
+++ b/kubernetes/robot/templates/service.yaml
@@ -15,7 +15,7 @@
apiVersion: v1
kind: Service
metadata:
- name: {{ include "common.name" . }}
+ name: {{ include "common.fullname" . }}
namespace: {{ include "common.namespace" . }}
labels:
app: {{ include "common.name" . }}