add init
This commit is contained in:
@@ -16,6 +16,25 @@ slskd:
|
|||||||
- 100
|
- 100
|
||||||
- 109
|
- 109
|
||||||
- 65539
|
- 65539
|
||||||
|
initContainers:
|
||||||
|
init-sysctl:
|
||||||
|
image:
|
||||||
|
repository: busybox
|
||||||
|
tag: 1.37.0
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
securityContext:
|
||||||
|
privileged: True
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 128Mi
|
||||||
|
command:
|
||||||
|
- /bin/sh
|
||||||
|
args:
|
||||||
|
- -ec
|
||||||
|
- |
|
||||||
|
sysctl -w net.ipv4.ip_forward=1;
|
||||||
|
sysctl -w net.ipv6.conf.all.disable_ipv6=1
|
||||||
containers:
|
containers:
|
||||||
main:
|
main:
|
||||||
image:
|
image:
|
||||||
|
Reference in New Issue
Block a user