From d3c16e582c8ae32a24c1eb02ca477b4ab7141bf5 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten-Lebbing Date: Fri, 22 Oct 2021 20:37:39 +0200 Subject: [PATCH] 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 --- charts/stable/duplicati/Chart.yaml | 3 +-- charts/stable/duplicati/questions.yaml | 16 +++++----------- charts/stable/duplicati/values.yaml | 26 +++----------------------- 3 files changed, 9 insertions(+), 36 deletions(-) diff --git a/charts/stable/duplicati/Chart.yaml b/charts/stable/duplicati/Chart.yaml index 55fc1dddaba..ac04608f8d9 100644 --- a/charts/stable/duplicati/Chart.yaml +++ b/charts/stable/duplicati/Chart.yaml @@ -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 diff --git a/charts/stable/duplicati/questions.yaml b/charts/stable/duplicati/questions.yaml index 2f8fa6642ed..da17ef0baf7 100644 --- a/charts/stable/duplicati/questions.yaml +++ b/charts/stable/duplicati/questions.yaml @@ -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." diff --git a/charts/stable/duplicati/values.yaml b/charts/stable/duplicati/values.yaml index abe10bcf291..7661dbf491b 100644 --- a/charts/stable/duplicati/values.yaml +++ b/charts/stable/duplicati/values.yaml @@ -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"