Currently, we can add the contents of some container labels to logs by starting the daemon with --log-opt labels=io.kubernetes.pod.name,io.openshift.tags,vendor or the like, but the journal daemon rejects fields which don't match an expected format, so these values don't get recorded. This PR cherry-picks the upstream fix for this problem from https://github.com/moby/moby/pull/23725, where it was merged in time for 1.13.
Currently, we can add the contents of some container labels to logs by starting the daemon with
--log-opt labels=io.kubernetes.pod.name,io.openshift.tags,vendor
or the like, but the journal daemon rejects fields which don't match an expected format, so these values don't get recorded. This PR cherry-picks the upstream fix for this problem from https://github.com/moby/moby/pull/23725, where it was merged in time for 1.13.