summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKajur, Harish (vk250x) <vk250x@att.com>2018-11-07 12:51:35 -0500
committerKajur, Harish (vk250x) <vk250x@att.com>2018-11-07 14:45:16 -0500
commit829a7b393e2ba2806a9164e5dd47716b191a93d3 (patch)
tree9de34da5f085ef941f89056b7519cd0de8aaaf74
parent375bd6b005aa6afa3cae297b1aca09f5a3f6a583 (diff)
Wait for aaf if enabled
Issue-ID: AAI-1759 Change-Id: I8f6ed2586f7d90f053627af42b33e629017f73fd Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
-rw-r--r--kubernetes/aai/charts/aai-traversal/templates/job.yaml4
-rw-r--r--kubernetes/aai/values.yaml1
2 files changed, 5 insertions, 0 deletions
diff --git a/kubernetes/aai/charts/aai-traversal/templates/job.yaml b/kubernetes/aai/charts/aai-traversal/templates/job.yaml
index c8efed74ae..e2fe395b95 100644
--- a/kubernetes/aai/charts/aai-traversal/templates/job.yaml
+++ b/kubernetes/aai/charts/aai-traversal/templates/job.yaml
@@ -39,6 +39,10 @@ spec:
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 e216b35cf6..d5a5db0494 100644
--- a/kubernetes/aai/values.yaml
+++ b/kubernetes/aai/values.yaml
@@ -31,6 +31,7 @@ global: # global defaults
restartPolicy: Always
installSidecarSecurity: false
+ aafEnabled: true
fproxy:
name: forward-proxy