From 59aecafa5a5fd621bf6ba34ed1c61e1e584d7777 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Fri, 17 Jan 2025 16:50:01 -0600 Subject: [PATCH] change permissions --- .../cl01tl/applications/photoview/values.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/clusters/cl01tl/applications/photoview/values.yaml b/clusters/cl01tl/applications/photoview/values.yaml index 9eb3fb14d..bc66caad8 100644 --- a/clusters/cl01tl/applications/photoview/values.yaml +++ b/clusters/cl01tl/applications/photoview/values.yaml @@ -5,6 +5,24 @@ photoview: replicas: 1 strategy: Recreate revisionHistoryLimit: 3 + initContainers: + init-sysctl: + image: + repository: busybox + tag: 1.37.0 + pullPolicy: IfNotPresent + securityContext: + privileged: True + resources: + requests: + cpu: 100m + memory: 128Mi + command: + - /bin/sh + args: + - -ec + - | + chown -R photoview:photoview /app/cache containers: main: image: