fix(deluge): SSL_CERT_DIR=/etc/ssl/certs

This commit is contained in:
nold 2022-12-18 20:25:02 +01:00
parent c83122a28f
commit 0b29e75ea3

View file

@ -1,20 +1,11 @@
--- ---
image: image:
repository: lib42/deluge repository: lib42/deluge
tag: "2" tag: "latest"
podSecurityContext: podSecurityContext:
fsGroup: 1000 fsGroup: 1000
securityContext:
runAsNonRoot: true
privileged: false
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
ingress: ingress:
main: main:
enabled: true enabled: true
@ -42,6 +33,7 @@ service:
env: env:
PUID: 1000 PUID: 1000
GUID: 1000 GUID: 1000
SSL_CERT_DIR: /etc/ssl/certs
persistence: persistence:
config: config:
@ -98,38 +90,8 @@ addons:
initialDelaySeconds: 30 initialDelaySeconds: 30
periodSeconds: 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: additionalContainers:
deluge-daemon: deluge-daemon:
image: lib42/deluge:2 env:
volumeMounts: - name: SSL_CERT_DIR
- name: config value: /etc/ssl/certs
mountPath: /config
- name: downloads
mountPath: /downloads
- name: cache
mountPath: /home/deluge/.cache
securityContext:
runAsNonRoot: true
privileged: false
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL