commit | 33e3cc0ad06c0253aab8a0f285b9eadc1149fed2 | [log] [tgz] |
---|---|---|
author | mayankg2703 <mayank.gupta@amdocs.com> | Wed Feb 07 05:56:34 2018 +0000 |
committer | mayankg2703 <mayank.gupta@amdocs.com> | Thu Feb 08 18:34:57 2018 +0000 |
tree | b01485ef3adcdd18c63ec46aa1d9db4a9799a32e | |
parent | 18c2dbcdf7904d6a4030efa141fe232009362800 [diff] |
aai model loader config alignment Change-Id: Ifc5db843fb45c458c2d2a9294c52201fc27f425e Issue-ID: OOM-669 Signed-off-by: mayankg2703 <mayank.gupta@amdocs.com>
diff --git a/kubernetes/aai/resources/model-loader/conf/logback.xml b/kubernetes/aai/resources/config/log/model-loader/logback.xml similarity index 100% rename from kubernetes/aai/resources/model-loader/conf/logback.xml rename to kubernetes/aai/resources/config/log/model-loader/logback.xml
diff --git a/kubernetes/aai/templates/modelloader-deployment-configmap.yaml b/kubernetes/aai/templates/modelloader-deployment-configmap.yaml index 7f37bd6..e5a59a1 100644 --- a/kubernetes/aai/templates/modelloader-deployment-configmap.yaml +++ b/kubernetes/aai/templates/modelloader-deployment-configmap.yaml
@@ -15,4 +15,12 @@ type: Opaque data: {{ tpl (.Files.Glob "resources/config/model-loader/appconfig/auth/*").AsSecrets . | indent 2 }} +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: aai-model-loader-log-configmap + namespace: {{ .Values.nsPrefix }}-aai +data: +{{ tpl (.Files.Glob "resources/config/log/model-loader/logback.xml").AsConfig . | indent 2 }} #{{ end }}
diff --git a/kubernetes/aai/templates/modelloader-deployment.yaml b/kubernetes/aai/templates/modelloader-deployment.yaml index c813058..2508446 100644 --- a/kubernetes/aai/templates/modelloader-deployment.yaml +++ b/kubernetes/aai/templates/modelloader-deployment.yaml
@@ -68,16 +68,8 @@ emptyDir: {} - name: aai-model-loader-log-conf configMap: - name: aai-model-loader-configmap + name: aai-model-loader-log-configmap restartPolicy: Always imagePullSecrets: - name: "{{ .Values.nsPrefix }}-docker-registry-key" ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: aai-model-loader-configmap - namespace: {{ .Values.nsPrefix }}-aai -data: -{{ (.Files.Glob "resources/model-loader/conf/logback.xml").AsConfig | indent 2 }} #{{ end }}