From 9f54397e8390a57bdf30b14c8bdf3f693ac0f9c9 Mon Sep 17 00:00:00 2001 From: Michel Hollands Date: Fri, 7 Jul 2023 14:23:23 +0100 Subject: [PATCH] Add documentation for the regex Signed-off-by: Michel Hollands --- charts/meta-monitoring/values.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/charts/meta-monitoring/values.yaml b/charts/meta-monitoring/values.yaml index 8336126..10b578c 100644 --- a/charts/meta-monitoring/values.yaml +++ b/charts/meta-monitoring/values.yaml @@ -32,6 +32,12 @@ cloud: username: password: +# Adding regexes here will add a stage.replace block that parses the log lines using a regular expression +# and replaces the capture group in the regex with "*****". +# For example the regex "password (\\S+)" will replace the line +# we should not be logging the password xyzabc at all +# with: +# we should not be logging the password ***** at all logs: PIIregexes: