diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-03-28 08:41:55 +0100 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-04-17 14:56:52 +0200 |
commit | ca06856557a33f8203d1c5550d436471784dc374 (patch) | |
tree | 307d48230b421988a0f46dd10684f77cb26c5825 /kubernetes/aai/components/aai-modelloader/templates | |
parent | 6d5a8690d675f65a8ec38b2c03f6fde2c2d2d9b8 (diff) |
[AAI] Add model-loader tracing config
- mount application.properties file that is used by Spring [1]
- add tracing config to that file
- deploy model-loader version 1.13.5
[1] this is also a prerequisite for replacing the model-loader.properties file
that is loaded by the service via some custom logic.
Spring does this out of the box for application-*.properties files.
Issue-ID: AAI-3812
Change-Id: I0a101fd246b8313f90cfc3ebca5a65dae769d3d6
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'kubernetes/aai/components/aai-modelloader/templates')
-rw-r--r-- | kubernetes/aai/components/aai-modelloader/templates/configmap.yaml | 1 | ||||
-rw-r--r-- | kubernetes/aai/components/aai-modelloader/templates/deployment.yaml | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/kubernetes/aai/components/aai-modelloader/templates/configmap.yaml b/kubernetes/aai/components/aai-modelloader/templates/configmap.yaml index 534fd021da..d3fd509dcd 100644 --- a/kubernetes/aai/components/aai-modelloader/templates/configmap.yaml +++ b/kubernetes/aai/components/aai-modelloader/templates/configmap.yaml @@ -26,6 +26,7 @@ metadata: heritage: {{ .Release.Service }} data: {{ tpl (.Files.Glob "resources/config/model-loader.properties").AsConfig . | indent 2 }} +{{ tpl (.Files.Glob "resources/application.properties").AsConfig . | indent 2 }} --- apiVersion: v1 kind: ConfigMap diff --git a/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml b/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml index 139c254736..8dee92f77e 100644 --- a/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml +++ b/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml @@ -80,6 +80,9 @@ spec: - mountPath: /opt/app/model-loader/config/model-loader.properties subPath: model-loader.properties name: prop-config + - mountPath: /opt/app/model-loader/application.properties + subPath: application.properties + name: prop-config - mountPath: {{ .Values.log.path }} name: logs - mountPath: /opt/app/model-loader/logback.xml |