Skip to content

Commit

Permalink
change repo name to csi-driver
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhangx committed Feb 18, 2019
1 parent d69f3db commit 2725839
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: go
go_import_path: github.com/andyzhangx/azuredisk-csi-driver
go_import_path: github.com/csi-driver/azuredisk-csi-driver

env:
global:
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ REV=$(shell git describe --long --tags --dirty)
all: azuredisk

test:
go test github.com/andyzhangx/azuredisk-csi-driver/pkg/... -cover
go vet github.com/andyzhangx/azuredisk-csi-driver/pkg/...
go test github.com/csi-driver/azuredisk-csi-driver/pkg/... -cover
go vet github.com/csi-driver/azuredisk-csi-driver/pkg/...
integration-test:
test/integration/run-tests-all-clouds.sh
azuredisk:
if [ ! -d ./vendor ]; then dep ensure -vendor-only; fi
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-X github.com/andyzhangx/azuredisk-csi-driver/pkg/azuredisk.vendorVersion=$(IMAGE_VERSION) -extldflags "-static"' -o _output/azurediskplugin ./pkg/azurediskplugin
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-X github.com/csi-driver/azuredisk-csi-driver/pkg/azuredisk.vendorVersion=$(IMAGE_VERSION) -extldflags "-static"' -o _output/azurediskplugin ./pkg/azurediskplugin
azuredisk-windows:
if [ ! -d ./vendor ]; then dep ensure -vendor-only; fi
CGO_ENABLED=0 GOOS=windows go build -a -ldflags '-X github.com/andyzhangx/azuredisk-csi-driver/pkg/azuredisk.vendorVersion=$(IMAGE_VERSION) -extldflags "-static"' -o _output/azurediskplugin.exe ./pkg/azurediskplugin
CGO_ENABLED=0 GOOS=windows go build -a -ldflags '-X github.com/csi-driver/azuredisk-csi-driver/pkg/azuredisk.vendorVersion=$(IMAGE_VERSION) -extldflags "-static"' -o _output/azurediskplugin.exe ./pkg/azurediskplugin
azuredisk-container: azuredisk
docker build --no-cache -t $(IMAGE_TAG) -f ./pkg/azurediskplugin/Dockerfile .
push: azuredisk-container
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# azuredisk CSI driver for Kubernetes
![TravisCI](https://travis-ci.com/andyzhangx/azuredisk-csi-driver.svg?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/andyzhangx/azuredisk-csi-driver/badge.svg?branch=master)](https://coveralls.io/github/andyzhangx/azuredisk-csi-driver?branch=master)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fandyzhangx%2Fazuredisk-csi-driver.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fandyzhangx%2Fazuredisk-csi-driver?ref=badge_shield)
![TravisCI](https://travis-ci.com/csi-driver/azuredisk-csi-driver.svg?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/csi-driver/azuredisk-csi-driver/badge.svg?branch=master)](https://coveralls.io/github/csi-driver/azuredisk-csi-driver?branch=master)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fcsi-driver%2Fazuredisk-csi-driver.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fcsi-driver%2Fazuredisk-csi-driver?ref=badge_shield)

**WARNING**: This driver is in ALPHA currently. Do NOT use this driver in a production environment in its current state.

Expand Down Expand Up @@ -40,25 +40,25 @@ Please refer to [install azuredisk csi driver](./docs/install-azuredisk-csi-driv
##### Option#1: Azuredisk Dynamic Provisioning
- Create an azuredisk CSI storage class
```
kubectl create -f https://raw.githubusercontent.com/andyzhangx/azuredisk-csi-driver/master/deploy/example/storageclass-azuredisk-csi.yaml
kubectl create -f https://raw.githubusercontent.com/csi-driver/azuredisk-csi-driver/master/deploy/example/storageclass-azuredisk-csi.yaml
```

- Create an azuredisk CSI PVC
```
kubectl create -f https://raw.githubusercontent.com/andyzhangx/azuredisk-csi-driver/master/deploy/example/pvc-azuredisk-csi.yaml
kubectl create -f https://raw.githubusercontent.com/csi-driver/azuredisk-csi-driver/master/deploy/example/pvc-azuredisk-csi.yaml
```

##### Option#2: Azuredisk Static Provisioning(use an existing azure disk)
- Create an azuredisk CSI PV, download `pv-azuredisk-csi.yaml` file and edit `diskName`, `diskURI` in `volumeAttributes`
```
wget https://raw.githubusercontent.com/andyzhangx/azuredisk-csi-driver/master/deploy/example/pv-azuredisk-csi.yaml
wget https://raw.githubusercontent.com/csi-driver/azuredisk-csi-driver/master/deploy/example/pv-azuredisk-csi.yaml
vi pv-azuredisk-csi.yaml
kubectl create -f pv-azuredisk-csi.yaml
```

- Create an azuredisk CSI PVC which would be bound to the above PV
```
kubectl create -f https://raw.githubusercontent.com/andyzhangx/azuredisk-csi-driver/master/deploy/example/pvc-azuredisk-csi-static.yaml
kubectl create -f https://raw.githubusercontent.com/csi-driver/azuredisk-csi-driver/master/deploy/example/pvc-azuredisk-csi-static.yaml
```

#### 2. validate PVC status and create an nginx pod
Expand All @@ -69,7 +69,7 @@ watch kubectl describe pvc pvc-azuredisk

- create a pod with azuredisk CSI PVC
```
kubectl create -f https://raw.githubusercontent.com/andyzhangx/azuredisk-csi-driver/master/deploy/example/nginx-pod-azuredisk.yaml
kubectl create -f https://raw.githubusercontent.com/csi-driver/azuredisk-csi-driver/master/deploy/example/nginx-pod-azuredisk.yaml
```

#### 3. enter the pod container to do validation
Expand Down
6 changes: 3 additions & 3 deletions docs/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ Support volume size grow | Pending | Not ready on upstream: [Feature request: CS
Support raw block size | to-do | upstream feature is beta in 1.14: [Add resizing support to CSI volumes](https://github.com/kubernetes/enhancements/issues/556)|
Support snapshot | to-do | upstream feature is beta in 1.14: [Snapshot / Restore Volume Support for Kubernetes (CRD + External Controller) ](https://github.com/kubernetes/enhancements/issues/177) |
Enable CI on Windows | done | |
Complete all unit tests | In Progress | https://github.com/andyzhangx/azuredisk-csi-driver/issues/7 |
Set up sanity test | In Progress | https://github.com/andyzhangx/azuredisk-csi-driver/issues/9 |
Set up E2E test | In Progress | https://github.com/andyzhangx/azuredisk-csi-driver/issues/6 |
Complete all unit tests | In Progress | https://github.com/csi-driver/azuredisk-csi-driver/issues/7 |
Set up sanity test | In Progress | https://github.com/csi-driver/azuredisk-csi-driver/issues/9 |
Set up E2E test | In Progress | https://github.com/csi-driver/azuredisk-csi-driver/issues/6 |
Support zone | to-do | need verification since csi has different zone usage compared to original usage |
Implement azure disk csi driver on Windows | to-do | |

Expand Down
18 changes: 9 additions & 9 deletions docs/install-azuredisk-csi-driver.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Install azuredisk CSI driver on a kubernetes cluster
```
kubectl apply -f https://raw.githubusercontent.com/andyzhangx/azuredisk-csi-driver/master/deploy/crd-csi-driver-registry.yaml --validate=false
kubectl apply -f https://raw.githubusercontent.com/andyzhangx/azuredisk-csi-driver/master/deploy/crd-csi-node-info.yaml --validate=false
kubectl apply -f https://raw.githubusercontent.com/andyzhangx/azuredisk-csi-driver/master/deploy/rbac-csi-attacher.yaml
kubectl apply -f https://raw.githubusercontent.com/andyzhangx/azuredisk-csi-driver/master/deploy/rbac-csi-driver-registrar.yaml
kubectl apply -f https://raw.githubusercontent.com/andyzhangx/azuredisk-csi-driver/master/deploy/rbac-csi-provisioner.yaml
kubectl apply -f https://raw.githubusercontent.com/andyzhangx/azuredisk-csi-driver/master/deploy/rbac-csi-snapshotter.yaml
kubectl apply -f https://raw.githubusercontent.com/andyzhangx/azuredisk-csi-driver/master/deploy/csi-azuredisk-provisioner.yaml
kubectl apply -f https://raw.githubusercontent.com/andyzhangx/azuredisk-csi-driver/master/deploy/csi-azuredisk-attacher.yaml
kubectl apply -f https://raw.githubusercontent.com/andyzhangx/azuredisk-csi-driver/master/deploy/azuredisk-csi-driver.yaml
kubectl apply -f https://raw.githubusercontent.com/csi-driver/azuredisk-csi-driver/master/deploy/crd-csi-driver-registry.yaml --validate=false
kubectl apply -f https://raw.githubusercontent.com/csi-driver/azuredisk-csi-driver/master/deploy/crd-csi-node-info.yaml --validate=false
kubectl apply -f https://raw.githubusercontent.com/csi-driver/azuredisk-csi-driver/master/deploy/rbac-csi-attacher.yaml
kubectl apply -f https://raw.githubusercontent.com/csi-driver/azuredisk-csi-driver/master/deploy/rbac-csi-driver-registrar.yaml
kubectl apply -f https://raw.githubusercontent.com/csi-driver/azuredisk-csi-driver/master/deploy/rbac-csi-provisioner.yaml
kubectl apply -f https://raw.githubusercontent.com/csi-driver/azuredisk-csi-driver/master/deploy/rbac-csi-snapshotter.yaml
kubectl apply -f https://raw.githubusercontent.com/csi-driver/azuredisk-csi-driver/master/deploy/csi-azuredisk-provisioner.yaml
kubectl apply -f https://raw.githubusercontent.com/csi-driver/azuredisk-csi-driver/master/deploy/csi-azuredisk-attacher.yaml
kubectl apply -f https://raw.githubusercontent.com/csi-driver/azuredisk-csi-driver/master/deploy/azuredisk-csi-driver.yaml
```

- check pods status:
Expand Down
2 changes: 1 addition & 1 deletion pkg/azuredisk/azuredisk.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import (
"k8s.io/kubernetes/pkg/cloudprovider/providers/azure"
"k8s.io/kubernetes/pkg/util/mount"

"github.com/andyzhangx/azuredisk-csi-driver/pkg/csi-common"
"github.com/container-storage-interface/spec/lib/go/csi"
"github.com/csi-driver/azuredisk-csi-driver/pkg/csi-common"
"github.com/golang/glog"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/azurediskplugin/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"flag"
"os"

"github.com/andyzhangx/azuredisk-csi-driver/pkg/azuredisk"
"github.com/csi-driver/azuredisk-csi-driver/pkg/azuredisk"
"github.com/golang/glog"
)

Expand Down

0 comments on commit 2725839

Please sign in to comment.