Remove the root user id to use default user

Change the way kubernetes install to ensure
that the user is not root as all of the aai scripts
expect the user to be non root and this affects
some key functionality and also add an hbase
artificial delay of 60 seconds to ensure
that resources container waits the appropriate
amount of time before trying to connect to hbase
the current implementation of the probe doesn't
work too well since when port is up doesn't
truly tell whether the hbase container is ready

Issue-ID: OOM-334
Change-Id: I290feabb56a9e7f99d538b02bf6f563824eb198e
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
diff --git a/kubernetes/aai/templates/aai-resources-deployment.yaml b/kubernetes/aai/templates/aai-resources-deployment.yaml
index 6c78ca8..cb9fe51 100644
--- a/kubernetes/aai/templates/aai-resources-deployment.yaml
+++ b/kubernetes/aai/templates/aai-resources-deployment.yaml
@@ -54,8 +54,8 @@
           value: /var/chef/aai-data/environments
         - name: CHEF_GIT_URL
           value: http://gerrit.onap.org/r/aai
-        - name: LOCAL_USER_ID
-          value: "0"
+        - name: HBASE_STARTUP_ARTIFICIAL_DELAY
+          value: "60"
         volumeMounts:
         - mountPath: /etc/localtime
           name: localtime
diff --git a/kubernetes/aai/templates/aai-traversal-deployment.yaml b/kubernetes/aai/templates/aai-traversal-deployment.yaml
index a566080..88cf2b1 100644
--- a/kubernetes/aai/templates/aai-traversal-deployment.yaml
+++ b/kubernetes/aai/templates/aai-traversal-deployment.yaml
@@ -58,8 +58,6 @@
           value: http://gerrit.onap.org/r/aai
         - name: RESOURCES_HOSTNAME
           value: aai-resources.{{ .Values.nsPrefix }}-aai
-        - name: LOCAL_USER_ID
-          value: "0"
         volumeMounts:
         - mountPath: /etc/localtime
           name: localtime