From c58fbcb8a6af4dcd5e0567696134277a9c35a29a Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Wed, 21 Feb 2024 14:40:23 +0200 Subject: [PATCH] syncthing - allow 0 for puid/pgid (#2202) --- library/ix-dev/charts/syncthing/Chart.yaml | 2 +- library/ix-dev/charts/syncthing/questions.yaml | 4 ++-- library/ix-dev/charts/syncthing/templates/_syncthing.tpl | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/library/ix-dev/charts/syncthing/Chart.yaml b/library/ix-dev/charts/syncthing/Chart.yaml index 34d1a64ed0..d785d84156 100644 --- a/library/ix-dev/charts/syncthing/Chart.yaml +++ b/library/ix-dev/charts/syncthing/Chart.yaml @@ -3,7 +3,7 @@ description: Syncthing is a continuous file synchronization program. annotations: title: Syncthing type: application -version: 2.0.0 +version: 2.0.1 apiVersion: v2 appVersion: 1.27.3 kubeVersion: '>=1.16.0-0' diff --git a/library/ix-dev/charts/syncthing/questions.yaml b/library/ix-dev/charts/syncthing/questions.yaml index c006268287..874f724ebe 100644 --- a/library/ix-dev/charts/syncthing/questions.yaml +++ b/library/ix-dev/charts/syncthing/questions.yaml @@ -63,7 +63,7 @@ questions: description: The user id that Syncthing files will be owned by. schema: type: int - min: 568 + min: 0 default: 568 required: true - variable: group @@ -71,7 +71,7 @@ questions: description: The group id that Syncthing files will be owned by. schema: type: int - min: 568 + min: 0 default: 568 required: true diff --git a/library/ix-dev/charts/syncthing/templates/_syncthing.tpl b/library/ix-dev/charts/syncthing/templates/_syncthing.tpl index d34d2b7408..52cd2aa20a 100644 --- a/library/ix-dev/charts/syncthing/templates/_syncthing.tpl +++ b/library/ix-dev/charts/syncthing/templates/_syncthing.tpl @@ -5,7 +5,7 @@ workload: primary: true type: Deployment podSpec: - securityContenxt: + securityContext: fsGroup: {{ .Values.syncthingID.group }} hostNetwork: {{ .Values.syncthingNetwork.hostNetwork }} containers: