Try some options for pvc

This commit is contained in:
Micke Nordin 2024-11-14 12:18:41 +01:00
parent 42e500e2cb
commit 29d8638215
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257
2 changed files with 3 additions and 1 deletions

View file

@ -30,6 +30,7 @@ spec:
- name: init-config - name: init-config
mountPath: /config mountPath: /config
subPath: config subPath: config
readOnly: true
resources: {} resources: {}
initContainers: initContainers:
- image: docker.sunet.se/drive/portal:0.1.0-4 - image: docker.sunet.se/drive/portal:0.1.0-4
@ -38,6 +39,7 @@ spec:
- name: init-config - name: init-config
mountPath: /config mountPath: /config
subPath: config subPath: config
readOnly: false
env: env:
- name: DRIVE_DOMAIN - name: DRIVE_DOMAIN
value: "https://drive.test.sunet.se" value: "https://drive.test.sunet.se"

View file

@ -6,7 +6,7 @@ metadata:
spec: spec:
storageClassName: csi-sc-cinderplugin storageClassName: csi-sc-cinderplugin
accessModes: accessModes:
- ReadWriteOnce - ReadWriteMany
resources: resources:
requests: requests:
storage: 1Gi storage: 1Gi