Prechádzať zdrojové kódy

syncthing - allow 0 for puid/pgid (#2202)

Stavros Kois 1 rok pred
rodič
commit
c58fbcb8a6

+ 1 - 1
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'

+ 2 - 2
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
 

+ 1 - 1
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: