add init
This commit is contained in:
@@ -16,6 +16,25 @@ slskd:
|
||||
- 100
|
||||
- 109
|
||||
- 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:
|
||||
main:
|
||||
image:
|
||||
|
Reference in New Issue
Block a user