diff options
author | mayankg2703 <mayank.gupta@amdocs.com> | 2018-02-07 05:29:22 +0000 |
---|---|---|
committer | mayankg2703 <mayank.gupta@amdocs.com> | 2018-02-08 18:29:54 +0000 |
commit | 38d6d7b99c5fb2f137ba4b22a23f2291fcc554d7 (patch) | |
tree | 24505bb02481d3b6cb08e2d0c921c53aae1b7f7a | |
parent | 18c2dbcdf7904d6a4030efa141fe232009362800 (diff) |
aai sparky be config alignment
Change-Id: I7c8f8732763a39cf0bccec9af4149736c9108ea5
Issue-ID: OOM-666
Signed-off-by: mayankg2703 <mayank.gupta@amdocs.com>
-rw-r--r-- | kubernetes/aai/resources/config/log/sparky-be/logback.xml (renamed from kubernetes/aai/resources/sparky-be/conf/logback.xml) | 0 | ||||
-rw-r--r-- | kubernetes/aai/templates/sparky-be-deployment-configmap.yaml | 8 | ||||
-rw-r--r-- | kubernetes/aai/templates/sparky-be-deployment.yaml | 10 |
3 files changed, 9 insertions, 9 deletions
diff --git a/kubernetes/aai/resources/sparky-be/conf/logback.xml b/kubernetes/aai/resources/config/log/sparky-be/logback.xml index c1b99c183f..c1b99c183f 100644 --- a/kubernetes/aai/resources/sparky-be/conf/logback.xml +++ b/kubernetes/aai/resources/config/log/sparky-be/logback.xml diff --git a/kubernetes/aai/templates/sparky-be-deployment-configmap.yaml b/kubernetes/aai/templates/sparky-be-deployment-configmap.yaml index 55dea653cd..590608b566 100644 --- a/kubernetes/aai/templates/sparky-be-deployment-configmap.yaml +++ b/kubernetes/aai/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/kubernetes/aai/templates/sparky-be-deployment.yaml b/kubernetes/aai/templates/sparky-be-deployment.yaml index dfeab6a394..9fe324a817 100644 --- a/kubernetes/aai/templates/sparky-be-deployment.yaml +++ b/kubernetes/aai/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 }} |