feat(Duplicati): use official docker container (#1222)

* feat(Duplicati): use official docker container

* remove PUID

* bump

* try enabling this

* mount data with readonly

* set mountpath

* sync questions.yaml
This commit is contained in:
Kjeld Schouten-Lebbing
2021-10-22 20:37:39 +02:00
committed by GitHub
parent d9d198ad7f
commit d3c16e582c
3 changed files with 9 additions and 36 deletions

View File

@@ -18,10 +18,9 @@ name: duplicati
sources:
- https://hub.docker.com/r/linuxserver/duplicati/
- https://github.com/duplicati/duplicati
version: 3.0.19
version: 3.0.20
annotations:
truecharts.org/catagories: |
- media
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@@ -73,12 +73,6 @@ questions:
type: dict
attrs:
# Include{fixedEnv}
- variable: PUID
label: "PUID"
description: "Sets the userID inside the container"
schema:
type: string
default: "568"
# Include{containerConfig}
@@ -290,7 +284,7 @@ questions:
description: "Path inside the container the storage is mounted"
schema:
type: string
default: "/config"
default: "/data"
hidden: true
valid_chars: '^\/([a-zA-Z0-9._-]+\/?)+$'
- variable: medium
@@ -362,7 +356,7 @@ questions:
label: "ReadOnly Root Filesystem"
schema:
type: boolean
default: false
default: true
- variable: allowPrivilegeEscalation
label: "Allow Privilege Escalation"
schema:
@@ -372,7 +366,7 @@ questions:
label: "runAsNonRoot"
schema:
type: boolean
default: false
default: true
- variable: podSecurityContext
group: "Security and Permissions"
@@ -385,13 +379,13 @@ questions:
description: "The UserID of the user running the application"
schema:
type: int
default: 0
default: 568
- variable: runAsGroup
label: "runAsGroup"
description: The groupID this App of the user running the application"
schema:
type: int
default: 0
default: 568
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."

View File

@@ -1,33 +1,16 @@
#
# IMPORTANT NOTE
#
# This chart inherits from our common library chart. You can check the default values/options here:
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
#
image:
# -- image repository
repository: ghcr.io/linuxserver/duplicati
repository: duplicati/duplicati
# -- image tag
tag: latest@sha256:2d3a1b3dde2e737c2ae9b789d276cc0359259bf1c2f735ac25de9236bd569934
tag: beta@sha256:3080419dc8612ac852db3a8e66407fd386efd2a27d467970ef7161bf27dd9717
# -- image pull policy
pullPolicy: IfNotPresent
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
# See more environment variables in the [duplicati documentation](https://github.com/linuxserver/docker-duplicati#parameters)
# @default -- See below
env:
# -- Set the container timezone
TZ: UTC
# -- Specify the user ID the application will run as
PUID: 568
# -- Configures service settings for the chart.
# @default -- See values.yaml
@@ -45,7 +28,4 @@ persistence:
type: pvc
accessMode: ReadWriteOnce
size: "100Gi"
source:
enabled: false
backups:
enabled: false
mountPath: "/data"