changed robot k8s deployment to support helm parameterization. updated image to 1.1
Issue-ID: OOM-52
Change-Id: Ibd7cd5a73589abb42940897a5a524cb44f53dd98
Signed-off-by: kerenj <keren.joseph@amdocs.com>
-HELM_APPS=('mso' 'message-router' 'sdnc' 'vid')
-ONAP_APPS=('sdc' 'aai' 'robot' 'portal' 'policy' 'appc')
+HELM_APPS=('mso' 'message-router' 'sdnc' 'vid' 'robot')
+ONAP_APPS=('sdc' 'aai' 'portal' 'policy' 'appc')
ONAP_DOCKER_REGISTRY_KEY=${ONAP_DOCKER_REGISTRY_KEY:-onap-docker-registry-key}
ONAP_DOCKER_REGISTRY=${ONAP_DOCKER_REGISTRY:-nexus3.onap.org:10001}
ONAP_DOCKER_USER=${ONAP_DOCKER_USER:-docker}
ONAP_DOCKER_REGISTRY_KEY=${ONAP_DOCKER_REGISTRY_KEY:-onap-docker-registry-key}
ONAP_DOCKER_REGISTRY=${ONAP_DOCKER_REGISTRY:-nexus3.onap.org:10001}
ONAP_DOCKER_USER=${ONAP_DOCKER_USER:-docker}
--- /dev/null
+apiVersion: v1
+description: A Helm chart for Kubernetes
+name: robot
+version: 0.1.0
--- /dev/null
+apiVersion: v1
+kind: Service
+metadata:
+ labels:
+ app: robot
+ name: robot
+ namespace: {{ .Values.NS }}
+spec:
+ ports:
+ - port: 88
+ nodePort: 30209
+ selector:
+ app: robot
+ type: NodePort
kind: Deployment
metadata:
name: robot
kind: Deployment
metadata:
name: robot
+ namespace: {{ .Values.NS }}
spec:
selector:
matchLabels:
spec:
selector:
matchLabels:
name: robot
spec:
containers:
name: robot
spec:
containers:
- - image: nexus3.onap.org:10001/openecomp/testsuite:1.0-STAGING-latest
+ - image: {{ .Values.image.testsuite }}
+ imagePullPolicy: {{ .Values.pullPolicy }}
name: robot
volumeMounts:
- name: robot-eteshare
name: robot
volumeMounts:
- name: robot-eteshare
volumes:
- name: robot-eteshare
hostPath:
volumes:
- name: robot-eteshare
hostPath:
- path: /dockerdata-nfs/onapdemo/robot/eteshare
+ path: /dockerdata-nfs/onap/robot/eteshare
- name: robot-assets
hostPath:
- name: robot-assets
hostPath:
- path: /dockerdata-nfs/onapdemo/robot/robot/assets
+ path: /dockerdata-nfs/onap/robot/robot/assets
- name: robot-resources
hostPath:
- name: robot-resources
hostPath:
- path: /dockerdata-nfs/onapdemo/robot/robot/resources
+ path: /dockerdata-nfs/onap/robot/robot/resources
- name: robot-testsuites
hostPath:
- name: robot-testsuites
hostPath:
- path: /dockerdata-nfs/onapdemo/robot/robot/testsuites
+ path: /dockerdata-nfs/onap/robot/robot/testsuites
- name: lighttpd-authorization
hostPath:
- name: lighttpd-authorization
hostPath:
- path: /dockerdata-nfs/onapdemo/robot/authorization
+ path: /dockerdata-nfs/onap/robot/authorization
imagePullSecrets:
- name: onap-docker-registry-key
imagePullSecrets:
- name: onap-docker-registry-key
--- /dev/null
+NS: onap-robot
+pullPolicy: Always
+image:
+ testsuite: nexus3.onap.org:10001/openecomp/testsuite:1.1-STAGING-latest
+