komodorio / helm-charts

Komodor.io public helm charts
Other
70 stars 26 forks source link

Enable Redact for logs #293

Closed sandeebh closed 5 months ago

sandeebh commented 5 months ago

I am trying to redact logs and below is what I am using from the documentation here

    logs:
      namespaceDenylist: ["kube-system"]
      redact:
        - "password=(.+?)\b"
        - "(?U)\"sessionId\": (\".+\"{1})"

This gives me the error :

Error: INSTALLATION FAILED: YAML parse error on komodor-agent/templates/configmap.yaml: error converting YAML to JSON: yaml: control characters are not allowed

any suggestions?

nirbenator commented 5 months ago

A bug on our end, thanks for raising this. will fix. ETA today