Skip to content

Commit

Permalink
Add ReadOnly field for mount path mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
iychoi committed Aug 27, 2021
1 parent 2ab52c0 commit adff2bb
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FUSE_CLIENT_BUILD_IMAGE=irods_fuse_client_build
FUSE_CLIENT_BUILD_DOCKERFILE=deploy/image/irods_fuse_build.dockerfile
CSI_DRIVER_IMAGE?=cyverse/irods-csi-driver
CSI_DRIVER_DOCKERFILE=deploy/image/irods_csi_driver_image.dockerfile
VERSION=v0.4.1
VERSION=v0.4.2
GIT_COMMIT?=$(shell git rev-parse HEAD)
BUILD_DATE?=$(shell date -u +"%Y-%m-%dT%H:%M:%SZ")
LDFLAGS?="-X ${PKG}/pkg/driver.driverVersion=${VERSION} -X ${PKG}/pkg/driver.gitCommit=${GIT_COMMIT} -X ${PKG}/pkg/driver.buildDate=${BUILD_DATE}"
Expand Down
2 changes: 1 addition & 1 deletion deploy/image/irods_fuse_build.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ LABEL description="iRODS FUSE Lite Build Image"
WORKDIR /opt/
RUN git clone https://github.com/cyverse/irodsfs.git
WORKDIR /opt/irodsfs
RUN git checkout tags/v0.3.3
RUN git checkout tags/v0.3.4

# Build
RUN make build
2 changes: 1 addition & 1 deletion deploy/kubernetes/overlays/stable/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ bases:
- ../../base
images:
- name: cyverse/irods-csi-driver
newTag: v0.4.1
newTag: v0.4.2
- name: quay.io/k8scsi/csi-provisioner
newTag: v1.6.0
- name: quay.io/k8scsi/livenessprobe
Expand Down
4 changes: 2 additions & 2 deletions helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: "0.4.1"
appVersion: "0.4.2"
name: irods-csi-driver
description: A Helm chart for iRODS CSI Driver
version: 0.4.1
version: 0.4.2
kubeVersion: ">=1.14.0-0"
home: https://github.com/cyverse/irods-csi-driver
sources:
Expand Down
2 changes: 1 addition & 1 deletion helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ helm install irods-csi-driver -f user_values.yaml --namespace kube-system .
```shell script
helm upgrade irods-csi-driver \
--install . \
--version 0.4.1 \
--version 0.4.2 \
--namespace kube-system \
-f values.yaml
```
Expand Down
4 changes: 2 additions & 2 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ controllerService:
irodsPlugin:
image:
repository: cyverse/irods-csi-driver
tag: v0.4.1
tag: v0.4.2
pullPolicy: IfNotPresent

extraArgs:
Expand Down Expand Up @@ -53,7 +53,7 @@ nodeService:
irodsPlugin:
image:
repository: cyverse/irods-csi-driver
tag: v0.4.1
tag: v0.4.2
pullPolicy: IfNotPresent

extraArgs:
Expand Down
1 change: 1 addition & 0 deletions pkg/driver/irodsfs_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ type IRODSFSPathMapping struct {
IRODSPath string `yaml:"irods_path" json:"irods_path"`
MappingPath string `yaml:"mapping_path" json:"mapping_path"`
ResourceType string `yaml:"resource_type" json:"resource_type"` // file or dir
ReadOnly bool `yaml:"read_only" json:"read_only"`
CreateDir bool `yaml:"create_dir" json:"create_dir"`
IgnoreNotExist bool `yaml:"ignore_not_exist" json:"ignore_not_exist"`
}
Expand Down

0 comments on commit adff2bb

Please sign in to comment.