onap 1.1 deployment files work in progress...
[oom.git] / kubernetes / aai / modelloader-deployment.yaml
index e649fc0..7f31bda 100644 (file)
@@ -82,8 +82,26 @@ spec:
           value: ModelLoader
         - name: APP_SERVER_AUTH_PASSWORD
           value: OBF:1qvu1v2h1sov1sar1wfw1j7j1wg21saj1sov1v1x1qxw
-        image: nexus3.onap.org:10001/openecomp/model-loader:1.0-STAGING-latest
+        - name: CONFIG_HOME
+          value: /opt/app/model-loader/config/
+        - name: PATH
+          value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+        - name: JAVA_HOME
+          value: usr/lib/jvm/java-8-openjdk-amd64
+        image: nexus3.onap.org:10001/openecomp/model-loader:1.1-STAGING-latest
         name: model-loader-service
+        volumeMounts:
+        - mountPath: /opt/app/model-loader/config/
+          name: aai-model-loader-config
+        - mountPath: /logs/
+          name: aai-model-loader-config
+      volumes:
+        - name: aai-model-loader-config
+          hostPath:
+            path: /dockerdata/onapdemo/aai/model-loader/config/
+        - name: aai-model-loader-logs
+          hostPath:
+            path: /dockerdata/onapdemo/aai/model-loader/logs/
         ports:
         - containerPort: 8080
         - containerPort: 8443