aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authormayankg2703 <mayank.gupta@amdocs.com>2018-02-07 05:29:22 +0000
committermayankg2703 <mayank.gupta@amdocs.com>2018-02-08 18:29:54 +0000
commit4e5976499f610abb40e9bf77dca31c5fc16b7a65 (patch)
tree89b483e537896c3e69c55814c2055b1c2a6dea5b /templates
parent07fa21bac7ad6fd1592955909be4d3eccb3d995e (diff)
aai sparky be config alignment
Change-Id: I7c8f8732763a39cf0bccec9af4149736c9108ea5 Issue-ID: OOM-666 Signed-off-by: mayankg2703 <mayank.gupta@amdocs.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/sparky-be-deployment-configmap.yaml8
-rw-r--r--templates/sparky-be-deployment.yaml10
2 files changed, 9 insertions, 9 deletions
diff --git a/templates/sparky-be-deployment-configmap.yaml b/templates/sparky-be-deployment-configmap.yaml
index 55dea65..590608b 100644
--- a/templates/sparky-be-deployment-configmap.yaml
+++ b/templates/sparky-be-deployment-configmap.yaml
@@ -31,4 +31,12 @@ metadata:
type: Opaque
data:
{{ tpl (.Files.Glob "resources/config/sparky-be/appconfig/auth/*").AsSecrets . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: aai-sparky-be-log-configmap
+ namespace: {{ .Values.nsPrefix }}-aai
+data:
+{{ tpl (.Files.Glob "resources/config/log/sparky-be/logback.xml").AsConfig . | indent 2 }}
#{{ end }}
diff --git a/templates/sparky-be-deployment.yaml b/templates/sparky-be-deployment.yaml
index dfeab6a..9fe324a 100644
--- a/templates/sparky-be-deployment.yaml
+++ b/templates/sparky-be-deployment.yaml
@@ -101,16 +101,8 @@ spec:
emptyDir: {}
- name: aai-sparky-be-log-conf
configMap:
- name: aai-sparky-be-configmap
+ name: aai-sparky-be-log-configmap
restartPolicy: Always
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
----
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: aai-sparky-be-configmap
- namespace: {{ .Values.nsPrefix }}-aai
-data:
-{{ (.Files.Glob "resources/sparky-be/conf/logback.xml").AsConfig | indent 2 }}
#{{ end }}