mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
feat: add support for sysctls compose key (#239)
* feat: add support for `sysctls` compose key * lint --------- Co-authored-by: Pasha Sviderski <me@psviderski.name>
This commit is contained in:
1 parent
7e739dd2f0
commit
06c3fba96e
8 files changed
+49
-8
No files matched your search
@@ -125,6 +125,9 @@ func TestServiceSpecFromCompose(t *testing.T) {
|
||||
Memory: 100 * units.MiB,
|
||||
MemoryReservation: 50 * units.MiB,
|
||||
},
|
||||
Sysctls: map[string]string{
|
||||
"net.ipv4.ip_forward": "1",
|
||||
},
|
||||
User: "nginx:nginx",
|
||||
VolumeMounts: []api.VolumeMount{
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user