diff --git a/projects/downloader/charts/deluge/values.yaml b/projects/downloader/charts/deluge/values.yaml index ffbf9c35..46b09c50 100644 --- a/projects/downloader/charts/deluge/values.yaml +++ b/projects/downloader/charts/deluge/values.yaml @@ -1,7 +1,7 @@ --- image: - repository: reg.dc/deluge - tag: 2.1.1 + repository: lib42/deluge + tag: 2.1.1-r6 command: [ "/usr/bin/deluge-web" ] args: [ "-d", "-c", "/config", "-L", "info" ] @@ -101,9 +101,15 @@ addons: initialDelaySeconds: 30 periodSeconds: 30 +initContainers: + init-config: + image: lib42/deluge:2.1.1-r6 + command: ["/bin/sh"] + args: [ "-c", "[ ! -f /config/core.conf ] && cp -v /defaults/core.conf /config/core.conf"] + additionalContainers: deluge-daemon: - image: reg.dc/deluge:2.1.1 + image: lib42/deluge:2.1.1-r6 volumeMounts: - name: config mountPath: /config diff --git a/projects/downloader/values/deluge.yaml b/projects/downloader/values/deluge.yaml index ffbf9c35..4bf87224 100644 --- a/projects/downloader/values/deluge.yaml +++ b/projects/downloader/values/deluge.yaml @@ -1,11 +1,14 @@ --- image: - repository: reg.dc/deluge - tag: 2.1.1 + repository: lib42/deluge + tag: 2.1.1-r6 command: [ "/usr/bin/deluge-web" ] args: [ "-d", "-c", "/config", "-L", "info" ] +podSecurityContext: + fsGroup: 1000 + securityContext: runAsNonRoot: true privileged: false @@ -101,9 +104,18 @@ addons: initialDelaySeconds: 30 periodSeconds: 30 +initContainers: + init-config: + image: lib42/deluge:2.1.1-r6 + command: ["/bin/sh"] + args: [ "-c", "([ ! -f /config/core.conf ] && cp -v /defaults/core.conf /config/core.conf) || true"] + volumeMounts: + - name: config + mountPath: /config + additionalContainers: deluge-daemon: - image: reg.dc/deluge:2.1.1 + image: lib42/deluge:2.1.1-r6 volumeMounts: - name: config mountPath: /config