aai search data config alignment 03/30603/3
authormayankg2703 <mayank.gupta@amdocs.com>
Wed, 7 Feb 2018 06:02:17 +0000 (06:02 +0000)
committermayankg2703 <mayank.gupta@amdocs.com>
Thu, 8 Feb 2018 18:37:04 +0000 (18:37 +0000)
Change-Id: I690bf6863c38265c2ef10f315f0638be65211585
Issue-ID: OOM-671
Signed-off-by: mayankg2703 <mayank.gupta@amdocs.com>
kubernetes/aai/resources/config/log/search-data-service/logback.xml [moved from kubernetes/aai/resources/search-data-service/conf/logback.xml with 100% similarity]
kubernetes/aai/templates/search-data-service-configmap.yaml
kubernetes/aai/templates/search-data-service-deployment.yaml

index c392e41..8f707d4 100644 (file)
@@ -23,4 +23,12 @@ metadata:
   namespace: {{ .Values.nsPrefix }}-aai
 data:
 {{ tpl (.Files.Glob "resources/config/search-data-service/appconfig/auth/search_policy.json").AsSecrets . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+  name: aai-search-data-service-log-configmap
+  namespace: {{ .Values.nsPrefix }}-aai
+data:
+{{ tpl (.Files.Glob "resources/config/log/search-data-service/logback.xml").AsConfig . | indent 2 }}
 #{{ end }}
index 392a754..5f66710 100644 (file)
@@ -89,16 +89,8 @@ spec:
         emptyDir: {}
       - name: aai-search-data-service-log-conf
         configMap:
-         name: aai-search-data-service-configmap
+         name: aai-search-data-service-log-configmap
       restartPolicy: Always
       imagePullSecrets:
       - name: "{{ .Values.nsPrefix }}-docker-registry-key"
----
-apiVersion: v1
-kind: ConfigMap
-metadata:
-  name: aai-search-data-service-configmap
-  namespace: {{ .Values.nsPrefix }}-aai
-data:
-{{ (.Files.Glob "resources/search-data-service/conf/logback.xml").AsConfig | indent 2 }}
 #{{ end }}