diff --git a/chart/tautulli/templates/statefulset.yaml b/chart/tautulli/templates/statefulset.yaml index b3930e1..f97c485 100644 --- a/chart/tautulli/templates/statefulset.yaml +++ b/chart/tautulli/templates/statefulset.yaml @@ -45,6 +45,25 @@ spec: volumeMounts: - name: tautulli-config mountPath: /config + initContainers: + - command: + - chown + - -R + - "1027:1027" + - /config + image: busybox + imagePullPolicy: Always + name: init + resources: + limits: + cpu: 200m + memory: 256Mi + requests: + cpu: 50m + memory: 256Mi + volumeMounts: + - mountPath: /config + name: tautulli-config volumes: - name: tautulli-config persistentVolumeClaim: