diff options
-rw-r--r-- | resources/config/log/search-data-service/logback.xml (renamed from resources/search-data-service/conf/logback.xml) | 0 | ||||
-rw-r--r-- | templates/search-data-service-configmap.yaml | 8 | ||||
-rw-r--r-- | templates/search-data-service-deployment.yaml | 10 |
3 files changed, 9 insertions, 9 deletions
diff --git a/resources/search-data-service/conf/logback.xml b/resources/config/log/search-data-service/logback.xml index 14ed414..14ed414 100644 --- a/resources/search-data-service/conf/logback.xml +++ b/resources/config/log/search-data-service/logback.xml diff --git a/templates/search-data-service-configmap.yaml b/templates/search-data-service-configmap.yaml index c392e41..8f707d4 100644 --- a/templates/search-data-service-configmap.yaml +++ b/templates/search-data-service-configmap.yaml @@ -23,4 +23,12 @@ metadata: namespace: {{ .Values.nsPrefix }}-aai data: {{ tpl (.Files.Glob "resources/config/search-data-service/appconfig/auth/search_policy.json").AsSecrets . | indent 2 }} +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: aai-search-data-service-log-configmap + namespace: {{ .Values.nsPrefix }}-aai +data: +{{ tpl (.Files.Glob "resources/config/log/search-data-service/logback.xml").AsConfig . | indent 2 }} #{{ end }} diff --git a/templates/search-data-service-deployment.yaml b/templates/search-data-service-deployment.yaml index 392a754..5f66710 100644 --- a/templates/search-data-service-deployment.yaml +++ b/templates/search-data-service-deployment.yaml @@ -89,16 +89,8 @@ spec: emptyDir: {} - name: aai-search-data-service-log-conf configMap: - name: aai-search-data-service-configmap + name: aai-search-data-service-log-configmap restartPolicy: Always imagePullSecrets: - name: "{{ .Values.nsPrefix }}-docker-registry-key" ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: aai-search-data-service-configmap - namespace: {{ .Values.nsPrefix }}-aai -data: -{{ (.Files.Glob "resources/search-data-service/conf/logback.xml").AsConfig | indent 2 }} #{{ end }} |