From 29d8638215ac4764bd5b7f613f67a49898e6dbb3 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Thu, 14 Nov 2024 12:18:41 +0100 Subject: [PATCH] Try some options for pvc --- portal/base/portal-deployment.yml | 2 ++ portal/base/portal-pvc.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/portal/base/portal-deployment.yml b/portal/base/portal-deployment.yml index de910e6..42386f1 100644 --- a/portal/base/portal-deployment.yml +++ b/portal/base/portal-deployment.yml @@ -30,6 +30,7 @@ spec: - name: init-config mountPath: /config subPath: config + readOnly: true resources: {} initContainers: - image: docker.sunet.se/drive/portal:0.1.0-4 @@ -38,6 +39,7 @@ spec: - name: init-config mountPath: /config subPath: config + readOnly: false env: - name: DRIVE_DOMAIN value: "https://drive.test.sunet.se" diff --git a/portal/base/portal-pvc.yml b/portal/base/portal-pvc.yml index 194f0d1..bcf0528 100644 --- a/portal/base/portal-pvc.yml +++ b/portal/base/portal-pvc.yml @@ -6,7 +6,7 @@ metadata: spec: storageClassName: csi-sc-cinderplugin accessModes: - - ReadWriteOnce + - ReadWriteMany resources: requests: storage: 1Gi