diff options
author | Mandeep Khinda <mandeep.khinda@amdocs.com> | 2017-08-25 03:31:17 +0000 |
---|---|---|
committer | Mandeep Khinda <mandeep.khinda@amdocs.com> | 2017-08-25 03:41:20 +0000 |
commit | 26f54265aae6c9fc40c479aa10dada6b7e8b63dc (patch) | |
tree | 4d4b9595a14ee90c9581b43e7fc5a684d10a9374 /templates/robot-deployment.yaml | |
parent | 4b69a8c35b9c8a96ada9f1c4cf9247fe5fe7cdad (diff) |
refactor helm files to use namespace prefix
-removed the full namespace from each template. better lets us reuse
variables.
-made secret end up in a configurable namespace
-fixed some bugs where secrets were missing
-updated createAll and delete to make use of namespace prefix
removing the need for seds to replace the word onap.
*** all containers at this point come up in my env. except for
aai model loader which is failing cause its still at 1.0
and its trying to talk to a 1.1 sdc and it doesnt auth properly. ***
Issue-ID:OOM-215
Change-Id: I15815a01469786a391e272fde4bdaa53ff48091c
Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
Diffstat (limited to 'templates/robot-deployment.yaml')
-rw-r--r-- | templates/robot-deployment.yaml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/robot-deployment.yaml b/templates/robot-deployment.yaml index c4bc954..a1b07dc 100644 --- a/templates/robot-deployment.yaml +++ b/templates/robot-deployment.yaml @@ -2,7 +2,7 @@ apiVersion: extensions/v1beta1 kind: Deployment metadata: name: robot - namespace: {{ .Values.NS }} + namespace: "{{ .Values.nsPrefix }}-robot" spec: selector: matchLabels: @@ -38,18 +38,18 @@ spec: volumes: - name: robot-eteshare hostPath: - path: /dockerdata-nfs/onap/robot/eteshare + path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/eteshare - name: robot-assets hostPath: - path: /dockerdata-nfs/onap/robot/robot/assets + path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/assets - name: robot-resources hostPath: - path: /dockerdata-nfs/onap/robot/robot/resources + path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/resources - name: robot-testsuites hostPath: - path: /dockerdata-nfs/onap/robot/robot/testsuites + path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/robot/testsuites - name: lighttpd-authorization hostPath: - path: /dockerdata-nfs/onap/robot/authorization + path: /dockerdata-nfs/{{ .Values.nsPrefix }}/robot/authorization imagePullSecrets: - - name: onap-docker-registry-key + - name: "{{ .Values.nsPrefix }}-docker-registry-key" |