File tree Expand file tree Collapse file tree 9 files changed +14
-14
lines changed Expand file tree Collapse file tree 9 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 11# ` csi-gcs `
22
3- [ ![ Docker Repository on Quay ] ( https://quay. io/repository/ofek/ csi-gcs/status " Docker Repository on Quay " )]( https://quay.io/repository/ofek /csi-gcs )
3+ [ ![ Docker - Pulls ] ( https://img.shields. io/docker/pulls/ofekmeister/ csi-gcs.svg )] ( https://hub.docker.com/r/ofekmeister /csi-gcs )
44[ ![ License - MIT/Apache-2.0] ( https://img.shields.io/badge/license-MIT%2FApache--2.0-9400d3.svg )] ( https://choosealicense.com/licenses )
55[ ![ Say Thanks] ( https://img.shields.io/badge/say-thanks-ff69b4.svg )] ( https://saythanks.io/to/ofek )
66
@@ -58,8 +58,8 @@ pod/csi-gcs-95xgx 2/2 Running 0 1m
5858NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
5959daemonset.extensions/csi-gcs 1 1 1 1 1 <none> 1m
6060
61- NAME CREATED AT
62- csidriver.storage.k8s.io/storage .csi.cloud.google.com 2020-01-26T15:49:44Z
61+ NAME CREATED AT
62+ csidriver.storage.k8s.io/gcs .csi.ofek.dev 2020-01-26T15:49:44Z
6363```
6464
6565## Usage
Original file line number Diff line number Diff line change 2020 args :
2121 - " --v=5"
2222 - " --csi-address=/csi/csi.sock"
23- - " --kubelet-registration-path=/var/lib/kubelet/plugins/storage .csi.cloud.google.com /csi.sock"
23+ - " --kubelet-registration-path=/var/lib/kubelet/plugins/gcs .csi.ofek.dev /csi.sock"
2424 env :
2525 - name : KUBE_NODE_NAME
2626 valueFrom :
3838 capabilities :
3939 add : ["SYS_ADMIN"]
4040 allowPrivilegeEscalation : true
41- image : quay .io/ofek /csi-gcs:latest
41+ image : docker .io/ofekmeister /csi-gcs:latest
4242 imagePullPolicy : Always
4343 args :
4444 - " --node-name=$(KUBE_NODE_NAME)"
6464 # https://kubernetes-csi.github.io/docs/deploying.html#driver-volume-mounts
6565 - name : socket-dir
6666 hostPath :
67- path : /var/lib/kubelet/plugins/storage .csi.cloud.google.com
67+ path : /var/lib/kubelet/plugins/gcs .csi.ofek.dev
6868 type : DirectoryOrCreate
6969 - name : mountpoint-dir
7070 hostPath :
Original file line number Diff line number Diff line change 11apiVersion : storage.k8s.io/v1beta1
22kind : CSIDriver
33metadata :
4- name : storage .csi.cloud.google.com
4+ name : gcs .csi.ofek.dev
55# https://kubernetes-csi.github.io/docs/csi-driver-object.html
66spec :
77 attachRequired : false
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ kind: Kustomization
33bases :
44- ../../base
55images :
6- - name : quay .io/ofek /csi-gcs
6+ - name : docker .io/ofekmeister /csi-gcs
77 newTag : dev
88patchesStrategicMerge :
99- uselocalimage.yaml
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ kind: Kustomization
33bases :
44- ../../base
55images :
6- - name : quay .io/ofek /csi-gcs
6+ - name : docker .io/ofekmeister /csi-gcs
77 newTag : v0.1.0
88- name : quay.io/k8scsi/csi-node-driver-registrar
99 newName : gcr.io/gke-release/csi-node-driver-registrar
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: storage.k8s.io/v1
22kind : StorageClass
33metadata :
44 name : csi-gcs
5- provisioner : storage .csi.cloud.google.com
5+ provisioner : gcs .csi.ofek.dev
66volumeBindingMode : Immediate
77allowVolumeExpansion : false
88reclaimPolicy : Retain
Original file line number Diff line number Diff line change 1010 persistentVolumeReclaimPolicy : Retain
1111 storageClassName : csi-gcs-test-sc
1212 csi :
13- driver : storage .csi.cloud.google.com
13+ driver : gcs .csi.ofek.dev
1414 volumeHandle : csi-gcs
1515 nodePublishSecretRef :
1616 name : csi-gcs-secret
Original file line number Diff line number Diff line change 11package driver
22
33const (
4- CSIDriverName = "storage .csi.cloud.google.com "
4+ CSIDriverName = "gcs .csi.ofek.dev "
55 BucketMountPath = "/var/lib/kubelet/pods"
66 KeyStoragePath = "/tmp/keys"
77)
Original file line number Diff line number Diff line change 66VERSION = '0.1.0'
77GCSFUSE_VERSION = '0.27.0'
88
9- REPO = 'ofek '
9+ REPO = 'ofekmeister '
1010IMAGE = 'csi-gcs'
11- DRIVER_NAME = f'quay.io/ { REPO } /{ IMAGE } '
11+ DRIVER_NAME = f'{ REPO } /{ IMAGE } '
1212IMAGE_LATEST = f'{ DRIVER_NAME } :latest'
1313IMAGE_DEV = f'{ DRIVER_NAME } :dev'
1414
You can’t perform that action at this time.
0 commit comments