aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaegen2-services/components/dcae-pm-mapper
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2022-01-10 13:24:25 +0000
committerGerrit Code Review <gerrit@onap.org>2022-01-10 13:24:25 +0000
commit8e637854c51af29ee91ffbeacfe0815c86f2ca92 (patch)
tree2599f77f24c63bc64b3d75991eab6ef9d8db270c /kubernetes/dcaegen2-services/components/dcae-pm-mapper
parent0e916e98320fe9bc8ba7f78196d9e5cc5690d3f0 (diff)
parent7000a7c8ad6acdbfbaed54c81b030f9b7ad190b1 (diff)
Merge "[DCAEGEN2] Use common.log template"
Diffstat (limited to 'kubernetes/dcaegen2-services/components/dcae-pm-mapper')
-rw-r--r--kubernetes/dcaegen2-services/components/dcae-pm-mapper/values.yaml8
1 files changed, 6 insertions, 2 deletions
diff --git a/kubernetes/dcaegen2-services/components/dcae-pm-mapper/values.yaml b/kubernetes/dcaegen2-services/components/dcae-pm-mapper/values.yaml
index caae1c319e..39c4a8ed50 100644
--- a/kubernetes/dcaegen2-services/components/dcae-pm-mapper/values.yaml
+++ b/kubernetes/dcaegen2-services/components/dcae-pm-mapper/values.yaml
@@ -21,6 +21,7 @@
global:
nodePortPrefix: 302
nodePortPrefixExt: 304
+ centralizedLoggingEnabled: true
#################################################################
# Filebeat Configuration Defaults.
@@ -58,8 +59,11 @@ image: onap/org.onap.dcaegen2.services.pm-mapper:1.7.2
pullPolicy: Always
# Log directory where logging sidecar should look for log files
-# if absent, no sidecar will be deployed
-logDirectory: /var/log/ONAP/dcaegen2/services/pm-mapper
+# if path is set to null sidecar won't be deployed in spite of
+# global.centralizedLoggingEnabled setting.
+log:
+ path: /var/log/ONAP/dcaegen2/services/pm-mapper
+logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
# Directory where TLS certs should be stored
# if absent, no certs will be retrieved and stored