From 0b29e75ea31dad2e788740e193ff7c4250cd5681 Mon Sep 17 00:00:00 2001 From: nold Date: Sun, 18 Dec 2022 20:25:02 +0100 Subject: [PATCH] fix(deluge): SSL_CERT_DIR=/etc/ssl/certs --- projects/downloader/values/deluge.yaml | 48 +++----------------------- 1 file changed, 5 insertions(+), 43 deletions(-) diff --git a/projects/downloader/values/deluge.yaml b/projects/downloader/values/deluge.yaml index c914b440..bb4f840e 100644 --- a/projects/downloader/values/deluge.yaml +++ b/projects/downloader/values/deluge.yaml @@ -1,20 +1,11 @@ --- image: repository: lib42/deluge - tag: "2" + tag: "latest" podSecurityContext: fsGroup: 1000 -securityContext: - runAsNonRoot: true - privileged: false - readOnlyRootFilesystem: true - allowPrivilegeEscalation: false - capabilities: - drop: - - ALL - ingress: main: enabled: true @@ -42,6 +33,7 @@ service: env: PUID: 1000 GUID: 1000 + SSL_CERT_DIR: /etc/ssl/certs persistence: config: @@ -98,38 +90,8 @@ addons: initialDelaySeconds: 30 periodSeconds: 30 -initContainers: - init-config: - image: lib42/deluge:2 - command: ["/bin/sh"] - args: [ "-c", "([ ! -f /config/core.conf ] && cp -v /defaults/core.conf /config/core.conf) || true"] - volumeMounts: - - name: config - mountPath: /config - securityContext: - runAsNonRoot: true - privileged: false - readOnlyRootFilesystem: true - allowPrivilegeEscalation: false - capabilities: - drop: - - ALL - additionalContainers: deluge-daemon: - image: lib42/deluge:2 - volumeMounts: - - name: config - mountPath: /config - - name: downloads - mountPath: /downloads - - name: cache - mountPath: /home/deluge/.cache - securityContext: - runAsNonRoot: true - privileged: false - readOnlyRootFilesystem: true - allowPrivilegeEscalation: false - capabilities: - drop: - - ALL + env: + - name: SSL_CERT_DIR + value: /etc/ssl/certs