From 831acedc6df6a3ecaf47ddd588c6d7bf8a3cd2e9 Mon Sep 17 00:00:00 2001 From: Omar Siam Date: Mon, 13 May 2024 21:36:54 +0200 Subject: [PATCH] Be much more selective when changing ownership and access rights --- chart/templates/deployment-iipsrv.yaml | 2 +- chart/templates/deployment-node.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chart/templates/deployment-iipsrv.yaml b/chart/templates/deployment-iipsrv.yaml index ae6a6bd..3efeda0 100644 --- a/chart/templates/deployment-iipsrv.yaml +++ b/chart/templates/deployment-iipsrv.yaml @@ -66,7 +66,7 @@ spec: dnsPolicy: ClusterFirst initContainers: - args: - - mkdir -p /data/forIIIF && chown -R 100:82 /data && chmod -R g+w /data + - mkdir -p /data/forIIIF && chown -R 100:82 /data/forIIIF && chmod -R g+w /data/forIIIF command: - /bin/sh - -c diff --git a/chart/templates/deployment-node.yaml b/chart/templates/deployment-node.yaml index 71cb9d6..62217d2 100644 --- a/chart/templates/deployment-node.yaml +++ b/chart/templates/deployment-node.yaml @@ -59,7 +59,7 @@ spec: dnsPolicy: ClusterFirst initContainers: - args: - - mkdir -p /data/upload/md5 && chown -R 100:82 /data/upload && chmod -R g+w /data + - mkdir -p /data/upload/md5 && chown -R 100:82 /data/upload && chmod -R g+w /data/upload command: - /bin/sh - -c