forked from LaconicNetwork/kompose
add support for "pid" key
solve #610 convert service.pid to Pod.Spec.HostPid set Pod.Spec.HostPid to true if service.pid ="host", to false otherwise update conversion.md on support for the key
This commit is contained in:
@@ -76,6 +76,7 @@ type ServiceConfig struct {
|
||||
CapAdd []string `compose:"cap_add" bundle:""`
|
||||
CapDrop []string `compose:"cap_drop" bundle:""`
|
||||
Expose []string `compose:"expose" bundle:""`
|
||||
Pid string `compose:"pid" bundle:""`
|
||||
Privileged bool `compose:"privileged" bundle:""`
|
||||
Restart string `compose:"restart" bundle:""`
|
||||
User string `compose:"user" bundle:"User"`
|
||||
|
||||
Reference in New Issue
Block a user