Workhorse default log format is unstructured
There is currently not a config option other than GITLAB_WORKHORSE_EXTRA_ARGS
to enable json logging. To enable this in cloudnative the following has to be set in values:
workhorse:
+ extraArgs: '-logFormat json'
This should probably be the default, actually it would be even better if this was the default for workhorse gitlab-org/gitlab-workhorse#223 (moved)
If we are willing to say that cloudnative means json logs, then I think it would be reasonable to hardcode this in CNG, otherwise having it as an explicit option would be helpful. Or we see if workhorse is willing to change the default?