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