diff options
-rw-r--r-- | resources/config/log/resources/logback.xml (renamed from resources/resources/conf/logback.xml) | 0 | ||||
-rw-r--r-- | resources/config/log/sparky-be/logback.xml (renamed from resources/sparky-be/conf/logback.xml) | 0 | ||||
-rw-r--r-- | resources/config/log/traversal/logback.xml (renamed from resources/traversal/conf/logback.xml) | 0 | ||||
-rw-r--r-- | templates/aai-resources-deployment.yaml | 10 | ||||
-rw-r--r-- | templates/aai-resources-traversal-configmap.yaml | 16 | ||||
-rw-r--r-- | templates/aai-traversal-deployment.yaml | 10 | ||||
-rw-r--r-- | templates/sparky-be-deployment-configmap.yaml | 8 | ||||
-rw-r--r-- | templates/sparky-be-deployment.yaml | 10 |
8 files changed, 27 insertions, 27 deletions
diff --git a/resources/resources/conf/logback.xml b/resources/config/log/resources/logback.xml index 6cfc293..6cfc293 100644 --- a/resources/resources/conf/logback.xml +++ b/resources/config/log/resources/logback.xml diff --git a/resources/sparky-be/conf/logback.xml b/resources/config/log/sparky-be/logback.xml index c1b99c1..c1b99c1 100644 --- a/resources/sparky-be/conf/logback.xml +++ b/resources/config/log/sparky-be/logback.xml diff --git a/resources/traversal/conf/logback.xml b/resources/config/log/traversal/logback.xml index fb8d8a5..fb8d8a5 100644 --- a/resources/traversal/conf/logback.xml +++ b/resources/config/log/traversal/logback.xml diff --git a/templates/aai-resources-deployment.yaml b/templates/aai-resources-deployment.yaml index 5ca0c16..2e0b049 100644 --- a/templates/aai-resources-deployment.yaml +++ b/templates/aai-resources-deployment.yaml @@ -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 }} diff --git a/templates/aai-resources-traversal-configmap.yaml b/templates/aai-resources-traversal-configmap.yaml index 772c3a7..ebd6913 100644 --- a/templates/aai-resources-traversal-configmap.yaml +++ b/templates/aai-resources-traversal-configmap.yaml @@ -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 }} diff --git a/templates/aai-traversal-deployment.yaml b/templates/aai-traversal-deployment.yaml index fda0055..a61a83e 100644 --- a/templates/aai-traversal-deployment.yaml +++ b/templates/aai-traversal-deployment.yaml @@ -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 }} 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 }} |