Skip to content

Commit

Permalink
Add required accessModes to csi pvc (#88)
Browse files Browse the repository at this point in the history
* add required accessModes

* add new line EOF

* fix test
  • Loading branch information
ssz1997 authored Nov 1, 2023
1 parent 36e12dd commit 275c62e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deploy/charts/alluxio/templates/csi/pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ metadata:
name: {{ $fullName }}-alluxio-csi-fuse-pvc
spec:
storageClassName: {{ $fullName }}-csi-storage-class
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Mi # The storage here is only for mount, so the size doesn't matter
storage: 1Mi # The storage here is only for mount, so the size doesn't matter
2 changes: 2 additions & 0 deletions tests/helm/expectedTemplates/csi/pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ metadata:
name: dummy-alluxio-alluxio-csi-fuse-pvc
spec:
storageClassName: dummy-alluxio-csi-storage-class
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Mi # The storage here is only for mount, so the size doesn't matter

0 comments on commit 275c62e

Please sign in to comment.