Merge "[COMMON] templates for centralized logs"
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Wed, 22 Apr 2020 22:40:29 +0000 (22:40 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 22 Apr 2020 22:40:29 +0000 (22:40 +0000)
1  2 
kubernetes/onap/values.yaml

@@@ -56,10 -56,6 +56,10 @@@ global
    # image pull policy
    pullPolicy: Always
  
 +  # default clusterName
 +  # {{ template "common.fullname" . }}.{{ template "common.namespace" . }}.svc.{{ .Values.global.clusterName }}
 +  clusterName: cluster.local
 +
    # default mount path root directory referenced
    # by persistent volumes and log files
    persistence:
    # if set this element will force or not tls even if serviceMesh.tls is set.
    # tlsEnabled: false
  
+   # Logging
+   # Currently, centralized logging is not in best shape so it's disabled by
+   # default
+   centralizedLoggingEnabled: &centralizedLogging false
  
  # Example of specific for the components where you want to disable TLS only for
  # it:
@@@ -180,8 -181,11 +185,11 @@@ dmaap
    enabled: false
  esr:
    enabled: false
+ # Today, "logging" chart that perform the central part of logging must also be
+ # enabled in order to make it work. So `logging.enabled` must have the same
+ # value than centralizedLoggingEnabled
  log:
-   enabled: false
+   enabled: *centralizedLogging
  sniro-emulator:
    enabled: false
  oof: