mirror of
https://github.com/containers/podman.git
synced 2025-10-25 02:04:43 +08:00
Quadlet Kube: Set SyslogIdentifier if was not set
Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
This commit is contained in:
@ -638,6 +638,10 @@ func ConvertKube(kube *parser.UnitFile) (*parser.UnitFile, error) {
|
||||
"Type", "notify",
|
||||
"NotifyAccess", "all")
|
||||
|
||||
if !kube.HasKey(ServiceGroup, "SyslogIdentifier") {
|
||||
service.Set(ServiceGroup, "SyslogIdentifier", "%N")
|
||||
}
|
||||
|
||||
execStart := NewPodmanCmdline("kube", "play")
|
||||
|
||||
execStart.add(
|
||||
|
||||
Reference in New Issue
Block a user