From 4354c2102f992b41eefa72934c8dad0485c9c235 Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Wed, 19 May 2021 15:52:15 -0300 Subject: [PATCH] Added debug option --- charts/nsx-ncp-operator/v0.1.0/questions.yaml | 12 ++++++++++++ charts/nsx-ncp-operator/v0.1.0/values.yaml | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/charts/nsx-ncp-operator/v0.1.0/questions.yaml b/charts/nsx-ncp-operator/v0.1.0/questions.yaml index 7d9f164..d42bcc5 100644 --- a/charts/nsx-ncp-operator/v0.1.0/questions.yaml +++ b/charts/nsx-ncp-operator/v0.1.0/questions.yaml @@ -168,3 +168,15 @@ questions: type: string group: NSX required: false + +# Logging and Debug +- variable: ncp.default.debug + default: "False" + description: "If set to true, the logging level will be set to DEBUG instead of the default INFO level." + label: "Debug?" + type: enum + options: + - True + - False + group: Logging and Debug + required: false diff --git a/charts/nsx-ncp-operator/v0.1.0/values.yaml b/charts/nsx-ncp-operator/v0.1.0/values.yaml index 364ee19..f3dfd72 100644 --- a/charts/nsx-ncp-operator/v0.1.0/values.yaml +++ b/charts/nsx-ncp-operator/v0.1.0/values.yaml @@ -64,10 +64,10 @@ ncp: # Enable system health status report for SHA #enable_sha: True - default: {} + default: # If set to true, the logging level will be set to DEBUG instead of the # default INFO level. - #debug: False + debug: False # If set to true, log output to standard error. #use_stderr: True