summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/modelloader-deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/aai/modelloader-deployment.yaml')
-rw-r--r--kubernetes/aai/modelloader-deployment.yaml20
1 files changed, 19 insertions, 1 deletions
diff --git a/kubernetes/aai/modelloader-deployment.yaml b/kubernetes/aai/modelloader-deployment.yaml
index e649fc0565..7f31bdaa78 100644
--- a/kubernetes/aai/modelloader-deployment.yaml
+++ b/kubernetes/aai/modelloader-deployment.yaml
@@ -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