Skip to content

Commit

Permalink
first stable release
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek committed Feb 14, 2020
1 parent 0d93b53 commit 0cb158e
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `csi-gcs`

[![Docker Repository on Quay](https://quay.io/repository/ofek/csi-gcs/status "Docker Repository on Quay")](https://quay.io/repository/ofek/csi-gcs)
[![Docker - Pulls](https://img.shields.io/docker/pulls/ofekmeister/csi-gcs.svg)](https://hub.docker.com/r/ofekmeister/csi-gcs)
[![License - MIT/Apache-2.0](https://img.shields.io/badge/license-MIT%2FApache--2.0-9400d3.svg)](https://choosealicense.com/licenses)
[![Say Thanks](https://img.shields.io/badge/say-thanks-ff69b4.svg)](https://saythanks.io/to/ofek)

Expand Down Expand Up @@ -58,8 +58,8 @@ pod/csi-gcs-95xgx 2/2 Running 0 1m
NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
daemonset.extensions/csi-gcs 1 1 1 1 1 <none> 1m
NAME CREATED AT
csidriver.storage.k8s.io/storage.csi.cloud.google.com 2020-01-26T15:49:44Z
NAME CREATED AT
csidriver.storage.k8s.io/gcs.csi.ofek.dev 2020-01-26T15:49:44Z
```

## Usage
Expand Down
6 changes: 3 additions & 3 deletions deploy/base/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
args:
- "--v=5"
- "--csi-address=/csi/csi.sock"
- "--kubelet-registration-path=/var/lib/kubelet/plugins/storage.csi.cloud.google.com/csi.sock"
- "--kubelet-registration-path=/var/lib/kubelet/plugins/gcs.csi.ofek.dev/csi.sock"
env:
- name: KUBE_NODE_NAME
valueFrom:
Expand All @@ -38,7 +38,7 @@ spec:
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
image: quay.io/ofek/csi-gcs:latest
image: docker.io/ofekmeister/csi-gcs:latest
imagePullPolicy: Always
args:
- "--node-name=$(KUBE_NODE_NAME)"
Expand All @@ -64,7 +64,7 @@ spec:
# https://kubernetes-csi.github.io/docs/deploying.html#driver-volume-mounts
- name: socket-dir
hostPath:
path: /var/lib/kubelet/plugins/storage.csi.cloud.google.com
path: /var/lib/kubelet/plugins/gcs.csi.ofek.dev
type: DirectoryOrCreate
- name: mountpoint-dir
hostPath:
Expand Down
2 changes: 1 addition & 1 deletion deploy/base/driver.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: storage.k8s.io/v1beta1
kind: CSIDriver
metadata:
name: storage.csi.cloud.google.com
name: gcs.csi.ofek.dev
# https://kubernetes-csi.github.io/docs/csi-driver-object.html
spec:
attachRequired: false
Expand Down
2 changes: 1 addition & 1 deletion deploy/overlays/dev/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Kustomization
bases:
- ../../base
images:
- name: quay.io/ofek/csi-gcs
- name: docker.io/ofekmeister/csi-gcs
newTag: dev
patchesStrategicMerge:
- uselocalimage.yaml
2 changes: 1 addition & 1 deletion deploy/overlays/stable/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Kustomization
bases:
- ../../base
images:
- name: quay.io/ofek/csi-gcs
- name: docker.io/ofekmeister/csi-gcs
newTag: v0.1.0
- name: quay.io/k8scsi/csi-node-driver-registrar
newName: gcr.io/gke-release/csi-node-driver-registrar
Expand Down
2 changes: 1 addition & 1 deletion examples/dynamic/sc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: csi-gcs
provisioner: storage.csi.cloud.google.com
provisioner: gcs.csi.ofek.dev
volumeBindingMode: Immediate
allowVolumeExpansion: false
reclaimPolicy: Retain
Expand Down
2 changes: 1 addition & 1 deletion examples/static/pv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
persistentVolumeReclaimPolicy: Retain
storageClassName: csi-gcs-test-sc
csi:
driver: storage.csi.cloud.google.com
driver: gcs.csi.ofek.dev
volumeHandle: csi-gcs
nodePublishSecretRef:
name: csi-gcs-secret
Expand Down
2 changes: 1 addition & 1 deletion pkg/driver/constants.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package driver

const (
CSIDriverName = "storage.csi.cloud.google.com"
CSIDriverName = "gcs.csi.ofek.dev"
BucketMountPath = "/var/lib/kubelet/pods"
KeyStoragePath = "/tmp/keys"
)
4 changes: 2 additions & 2 deletions tasks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
VERSION = '0.1.0'
GCSFUSE_VERSION = '0.27.0'

REPO = 'ofek'
REPO = 'ofekmeister'
IMAGE = 'csi-gcs'
DRIVER_NAME = f'quay.io/{REPO}/{IMAGE}'
DRIVER_NAME = f'{REPO}/{IMAGE}'
IMAGE_LATEST = f'{DRIVER_NAME}:latest'
IMAGE_DEV = f'{DRIVER_NAME}:dev'

Expand Down

0 comments on commit 0cb158e

Please sign in to comment.