Wait for aaf if enabled

Issue-ID: AAI-1759
Change-Id: I8f6ed2586f7d90f053627af42b33e629017f73fd
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
diff --git a/kubernetes/aai/charts/aai-traversal/templates/job.yaml b/kubernetes/aai/charts/aai-traversal/templates/job.yaml
index c8efed7..e2fe395 100644
--- a/kubernetes/aai/charts/aai-traversal/templates/job.yaml
+++ b/kubernetes/aai/charts/aai-traversal/templates/job.yaml
@@ -39,6 +39,10 @@
         args:
         - --container-name
         - aai
+        {{ if eq .Values.global.aafEnabled true }}
+        - --container-name
+        - aaf-locate
+        {{ end }}
         env:
         - name: NAMESPACE
           valueFrom:
diff --git a/kubernetes/aai/values.yaml b/kubernetes/aai/values.yaml
index e216b35..d5a5db0 100644
--- a/kubernetes/aai/values.yaml
+++ b/kubernetes/aai/values.yaml
@@ -31,6 +31,7 @@
   restartPolicy: Always
 
   installSidecarSecurity: false
+  aafEnabled: true
 
   fproxy:
     name: forward-proxy