summaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaegen2-services/components/dcae-snmptrap-collector/values.yaml
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-snmptrap-collector/values.yaml
parent0e916e98320fe9bc8ba7f78196d9e5cc5690d3f0 (diff)
parent7000a7c8ad6acdbfbaed54c81b030f9b7ad190b1 (diff)
Merge "[DCAEGEN2] Use common.log template"
Diffstat (limited to 'kubernetes/dcaegen2-services/components/dcae-snmptrap-collector/values.yaml')
-rw-r--r--kubernetes/dcaegen2-services/components/dcae-snmptrap-collector/values.yaml8
1 files changed, 6 insertions, 2 deletions
diff --git a/kubernetes/dcaegen2-services/components/dcae-snmptrap-collector/values.yaml b/kubernetes/dcaegen2-services/components/dcae-snmptrap-collector/values.yaml
index 266da24f7a..e2501729ec 100644
--- a/kubernetes/dcaegen2-services/components/dcae-snmptrap-collector/values.yaml
+++ b/kubernetes/dcaegen2-services/components/dcae-snmptrap-collector/values.yaml
@@ -21,6 +21,7 @@
global:
nodePortPrefix: 302
nodePortPrefixExt: 304
+ centralizedLoggingEnabled: true
#################################################################
# Filebeat Configuration Defaults.
@@ -44,8 +45,11 @@ image: onap/org.onap.dcaegen2.collectors.snmptrap:2.0.5
pullPolicy: Always
# Log directory where logging sidecar should look for log files
-# if absent, no sidecar will be deployed
-logDirectory: /opt/app/snmptrap/logs
+# if path is set to null sidecar won't be deployed in spite of
+# global.centralizedLoggingEnabled setting.
+log:
+ path: /opt/app/snmptrap/logs
+logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
# TLS role -- set to true if microservice acts as server