From 7208ae5e217a92e572e3ca51c062f4f723540cc4 Mon Sep 17 00:00:00 2001 From: alexlebens Date: Fri, 9 Aug 2024 21:47:41 -0500 Subject: [PATCH] disable ipv6 sysctl --- .../cl01tl/platform/qbittorrent/values.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/clusters/cl01tl/platform/qbittorrent/values.yaml b/clusters/cl01tl/platform/qbittorrent/values.yaml index 5c3a62112..fb9fa3f9b 100644 --- a/clusters/cl01tl/platform/qbittorrent/values.yaml +++ b/clusters/cl01tl/platform/qbittorrent/values.yaml @@ -5,6 +5,24 @@ qbittorrent: replicas: 1 strategy: Recreate revisionHistoryLimit: 3 + initContainers: + init-sysctl: + image: + repository: busybox + tag: 1.36.1 + pullPolicy: IfNotPresent + securityContext: + privileged: True + resources: + requests: + cpu: 100m + memory: 128Mi + command: + - sysctl + args: + - -ec + - | + net.ipv6.conf.all.disable_ipv6=1 containers: qbittorrent: image: @@ -56,6 +74,7 @@ qbittorrent: capabilities: add: - NET_ADMIN + - SYS_MODULE resources: requests: cpu: 100m