Update the resources deployment and traversal
[oom.git] / kubernetes / aai / templates / aai-resources-deployment.yaml
index c61bc6f..6c78ca8 100644 (file)
@@ -37,7 +37,7 @@ spec:
               "imagePullPolicy": "{{ .Values.pullPolicy }}",
               "name": "aai-resources-readiness"
           }
-        ]'      
+        ]'
     spec:
       containers:
       - name: aai-resources
@@ -54,16 +54,16 @@ spec:
           value: /var/chef/aai-data/environments
         - name: CHEF_GIT_URL
           value: http://gerrit.onap.org/r/aai
+        - name: LOCAL_USER_ID
+          value: "0"
         volumeMounts:
         - mountPath: /etc/localtime
           name: localtime
           readOnly: true
-        - mountPath: /opt/aai/logroot/
+        - mountPath: /opt/aai/logroot/AAI-RES
           name: aai-resources-logs
         - mountPath: /var/chef/aai-data/
           name: aai-data
-        - mountPath: /docker-entrypoint.sh
-          name: entrypoint-override
         ports:
         - containerPort: 8447
         readinessProbe:
@@ -81,9 +81,6 @@ spec:
       - name: aai-data
         hostPath:
           path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/aai-data/"
-      - name: entrypoint-override
-        hostPath:
-          path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/aai-resources/docker-entrypoint.sh"
       restartPolicy: Always
       imagePullSecrets:
       - name: "{{ .Values.nsPrefix }}-docker-registry-key"