sse-secure-systems / connaisseur

An admission controller that integrates Container Image Signature Verification into a Kubernetes cluster
https://sse-secure-systems.github.io/connaisseur/
Apache License 2.0
442 stars 62 forks source link

feat: support single-line json as log format #1842

Open czenker opened 1 week ago

czenker commented 1 week ago

Also introduces a structure to add more log formats should the need arise. Does not change the default of logging prettified json.

Description

Log Shippers are usually less complex and less error-prone when they only have to handle single-line logs. This PR adds the ability to change the log format to single-line json, but does not change the default multi-line json.

Checklist