aai resources and traversal config alignment 95/30595/3
authormayankg2703 <mayank.gupta@amdocs.com>
Wed, 7 Feb 2018 05:48:29 +0000 (05:48 +0000)
committermayankg2703 <mayank.gupta@amdocs.com>
Thu, 8 Feb 2018 18:33:05 +0000 (18:33 +0000)
Change-Id: Ib0b7a59a07e96eb79fd6ca59a5459e4e81de29e2
Issue-ID: OOM-668
Signed-off-by: mayankg2703 <mayank.gupta@amdocs.com>
kubernetes/aai/resources/config/log/resources/logback.xml [moved from kubernetes/aai/resources/resources/conf/logback.xml with 100% similarity]
kubernetes/aai/resources/config/log/traversal/logback.xml [moved from kubernetes/aai/resources/traversal/conf/logback.xml with 100% similarity]
kubernetes/aai/templates/aai-resources-deployment.yaml
kubernetes/aai/templates/aai-resources-traversal-configmap.yaml
kubernetes/aai/templates/aai-traversal-deployment.yaml

index 5ca0c16..2e0b049 100644 (file)
@@ -97,16 +97,8 @@ spec:
         emptyDir: {}
       - name: aai-resources-log-conf
         configMap:
-         name: aai-resources-configmap
+         name: aai-resources-log-configmap
       restartPolicy: Always
       imagePullSecrets:
       - name: "{{ .Values.nsPrefix }}-docker-registry-key"
----
-apiVersion: v1
-kind: ConfigMap
-metadata:
-  name: aai-resources-configmap
-  namespace: {{ .Values.nsPrefix }}-aai
-data:
-{{ (.Files.Glob "resources/resources/conf/logback.xml").AsConfig | indent 2 }}
 #{{ end }}
index 772c3a7..ebd6913 100644 (file)
@@ -14,4 +14,20 @@ metadata:
   namespace: {{ .Values.nsPrefix }}-aai
 data:
 {{ tpl (.Files.Glob "resources/config/aai-data/environments/*").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+  name: aai-resources-log-configmap
+  namespace: {{ .Values.nsPrefix }}-aai
+data:
+{{ tpl (.Files.Glob "resources/config/log/resources/logback.xml").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+  name: aai-traversal-log-configmap
+  namespace: {{ .Values.nsPrefix }}-aai
+data:
+{{ tpl (.Files.Glob "resources/config/log/traversal/logback.xml").AsConfig . | indent 2 }}
 #{{ end }}
index fda0055..a61a83e 100644 (file)
@@ -99,16 +99,8 @@ spec:
         emptyDir: {}
       - name: aai-traversal-log-conf
         configMap:
-         name: aai-traversal-configmap
+         name: aai-traversal-log-configmap
       restartPolicy: Always
       imagePullSecrets:
       - name: "{{ .Values.nsPrefix }}-docker-registry-key"
----
-apiVersion: v1
-kind: ConfigMap
-metadata:
-  name: aai-traversal-configmap
-  namespace: {{ .Values.nsPrefix }}-aai
-data:
-{{ (.Files.Glob "resources/traversal/conf/logback.xml").AsConfig | indent 2 }}
 #{{ end }}