rename repo org to kubernetes-sigs
This commit is contained in:
parent
038335f060
commit
5ad9586afc
|
|
@ -1,34 +1,34 @@
|
|||
# v0.1.0-alpha
|
||||
|
||||
## [v0.1.0-alpha](https://github.com/csi-driver/azurefile-csi-driver/tree/v0.1.0-alpha) (2019-02-12)
|
||||
## [v0.1.0-alpha](https://github.com/kubernetes-sigs/azurefile-csi-driver/tree/v0.1.0-alpha) (2019-02-12)
|
||||
|
||||
[Documentation](https://github.com/csi-driver/azurefile-csi-driver/blob/v0.1.0-alpha/README.md)
|
||||
[Documentation](https://github.com/kubernetes-sigs/azurefile-csi-driver/blob/v0.1.0-alpha/README.md)
|
||||
|
||||
**Downloads for v0.1.0**
|
||||
|
||||
filename | sha512 hash
|
||||
--------- | ------------
|
||||
[v0.1.0-alpha.zip](https://github.com/csi-driver/azurefile-csi-driver/archive/v0.1.0-alpha.zip) | `68a029a2a95a895e6c0351d556ac4c0ebb59cf188a60393a407b9a6787f5f3f81dceefc91e5b2173c155d69ad987bf57402d0f4fb6067dfb49acacd3d56e31de`
|
||||
[v0.1.0-alpha.tar.gz](https://github.com/csi-driver/azurefile-csi-driver/archive/v0.1.0-alpha.tar.gz) | `901817aefbec1a57f45bcb62e6c20c3789926f9e0fe3fafb2d83a04c36f15dcfe2e9323e02d5e6dc35e74ce2491ae2500c9ca61929d1bbcc5216674ee2a6adbf`
|
||||
[v0.1.0-alpha.zip](https://github.com/kubernetes-sigs/azurefile-csi-driver/archive/v0.1.0-alpha.zip) | `68a029a2a95a895e6c0351d556ac4c0ebb59cf188a60393a407b9a6787f5f3f81dceefc91e5b2173c155d69ad987bf57402d0f4fb6067dfb49acacd3d56e31de`
|
||||
[v0.1.0-alpha.tar.gz](https://github.com/kubernetes-sigs/azurefile-csi-driver/archive/v0.1.0-alpha.tar.gz) | `901817aefbec1a57f45bcb62e6c20c3789926f9e0fe3fafb2d83a04c36f15dcfe2e9323e02d5e6dc35e74ce2491ae2500c9ca61929d1bbcc5216674ee2a6adbf`
|
||||
|
||||
**Closed issues:**
|
||||
|
||||
- \[warm up\] write a few unit tests [\#1](https://github.com/csi-driver/azurefile-csi-driver/issues/1)
|
||||
- \[warm up\] write a few unit tests [\#1](https://github.com/kubernetes-sigs/azurefile-csi-driver/issues/1)
|
||||
|
||||
**Merged pull requests:**
|
||||
|
||||
- change test config [\#16](https://github.com/csi-driver/azurefile-csi-driver/pull/16) ([andyzhangx](https://github.com/andyzhangx))
|
||||
- change test config [\#15](https://github.com/csi-driver/azurefile-csi-driver/pull/15) ([andyzhangx](https://github.com/andyzhangx))
|
||||
- add china cloud integration test [\#14](https://github.com/csi-driver/azurefile-csi-driver/pull/14) ([andyzhangx](https://github.com/andyzhangx))
|
||||
- make integration test run on other cloud [\#13](https://github.com/csi-driver/azurefile-csi-driver/pull/13) ([andyzhangx](https://github.com/andyzhangx))
|
||||
- add mount/unmount integration test [\#12](https://github.com/csi-driver/azurefile-csi-driver/pull/12) ([andyzhangx](https://github.com/andyzhangx))
|
||||
- add create/delete volume tests [\#11](https://github.com/csi-driver/azurefile-csi-driver/pull/11) ([andyzhangx](https://github.com/andyzhangx))
|
||||
- skip integration test if azure cred not set [\#10](https://github.com/csi-driver/azurefile-csi-driver/pull/10) ([andyzhangx](https://github.com/andyzhangx))
|
||||
- rename current e2e test to integration test [\#9](https://github.com/csi-driver/azurefile-csi-driver/pull/9) ([andyzhangx](https://github.com/andyzhangx))
|
||||
- add cred for e2e test [\#8](https://github.com/csi-driver/azurefile-csi-driver/pull/8) ([andyzhangx](https://github.com/andyzhangx))
|
||||
- E2e test [\#7](https://github.com/csi-driver/azurefile-csi-driver/pull/7) ([andyzhangx](https://github.com/andyzhangx))
|
||||
- Move to CSI 1.0.0 [\#6](https://github.com/csi-driver/azurefile-csi-driver/pull/6) ([andyzhangx](https://github.com/andyzhangx))
|
||||
- Add test for azurefile.go [\#5](https://github.com/csi-driver/azurefile-csi-driver/pull/5) ([Masquerade0097](https://github.com/Masquerade0097))
|
||||
- Add coverage report and status badge [\#4](https://github.com/csi-driver/azurefile-csi-driver/pull/4) ([Masquerade0097](https://github.com/Masquerade0097))
|
||||
- Add license scan report and status [\#3](https://github.com/csi-driver/azurefile-csi-driver/pull/3) ([fossabot](https://github.com/fossabot))
|
||||
- Confirm to Kubernetes repo requirements [\#2](https://github.com/csi-driver/azurefile-csi-driver/pull/2) ([Masquerade0097](https://github.com/Masquerade0097))
|
||||
- change test config [\#16](https://github.com/kubernetes-sigs/azurefile-csi-driver/pull/16) ([andyzhangx](https://github.com/andyzhangx))
|
||||
- change test config [\#15](https://github.com/kubernetes-sigs/azurefile-csi-driver/pull/15) ([andyzhangx](https://github.com/andyzhangx))
|
||||
- add china cloud integration test [\#14](https://github.com/kubernetes-sigs/azurefile-csi-driver/pull/14) ([andyzhangx](https://github.com/andyzhangx))
|
||||
- make integration test run on other cloud [\#13](https://github.com/kubernetes-sigs/azurefile-csi-driver/pull/13) ([andyzhangx](https://github.com/andyzhangx))
|
||||
- add mount/unmount integration test [\#12](https://github.com/kubernetes-sigs/azurefile-csi-driver/pull/12) ([andyzhangx](https://github.com/andyzhangx))
|
||||
- add create/delete volume tests [\#11](https://github.com/kubernetes-sigs/azurefile-csi-driver/pull/11) ([andyzhangx](https://github.com/andyzhangx))
|
||||
- skip integration test if azure cred not set [\#10](https://github.com/kubernetes-sigs/azurefile-csi-driver/pull/10) ([andyzhangx](https://github.com/andyzhangx))
|
||||
- rename current e2e test to integration test [\#9](https://github.com/kubernetes-sigs/azurefile-csi-driver/pull/9) ([andyzhangx](https://github.com/andyzhangx))
|
||||
- add cred for e2e test [\#8](https://github.com/kubernetes-sigs/azurefile-csi-driver/pull/8) ([andyzhangx](https://github.com/andyzhangx))
|
||||
- E2e test [\#7](https://github.com/kubernetes-sigs/azurefile-csi-driver/pull/7) ([andyzhangx](https://github.com/andyzhangx))
|
||||
- Move to CSI 1.0.0 [\#6](https://github.com/kubernetes-sigs/azurefile-csi-driver/pull/6) ([andyzhangx](https://github.com/andyzhangx))
|
||||
- Add test for azurefile.go [\#5](https://github.com/kubernetes-sigs/azurefile-csi-driver/pull/5) ([Masquerade0097](https://github.com/Masquerade0097))
|
||||
- Add coverage report and status badge [\#4](https://github.com/kubernetes-sigs/azurefile-csi-driver/pull/4) ([Masquerade0097](https://github.com/Masquerade0097))
|
||||
- Add license scan report and status [\#3](https://github.com/kubernetes-sigs/azurefile-csi-driver/pull/3) ([fossabot](https://github.com/fossabot))
|
||||
- Confirm to Kubernetes repo requirements [\#2](https://github.com/kubernetes-sigs/azurefile-csi-driver/pull/2) ([Masquerade0097](https://github.com/Masquerade0097))
|
||||
|
|
|
|||
4
Makefile
4
Makefile
|
|
@ -32,10 +32,10 @@ test-sanity:
|
|||
go test -v ./test/sanity/...
|
||||
azurefile:
|
||||
if [ ! -d ./vendor ]; then dep ensure -vendor-only; fi
|
||||
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-X github.com/csi-driver/azurefile-csi-driver/pkg/azurefile.vendorVersion=$(IMAGE_VERSION) -extldflags "-static"' -o _output/azurefileplugin ./pkg/azurefileplugin
|
||||
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-X github.com/kubernetes-sigs/azurefile-csi-driver/pkg/azurefile.vendorVersion=$(IMAGE_VERSION) -extldflags "-static"' -o _output/azurefileplugin ./pkg/azurefileplugin
|
||||
azurefile-windows:
|
||||
if [ ! -d ./vendor ]; then dep ensure -vendor-only; fi
|
||||
CGO_ENABLED=0 GOOS=windows go build -a -ldflags '-X github.com/csi-driver/azurefile-csi-driver/pkg/azurefile.vendorVersion=$(IMAGE_VERSION) -extldflags "-static"' -o _output/azurefileplugin.exe ./pkg/azurefileplugin
|
||||
CGO_ENABLED=0 GOOS=windows go build -a -ldflags '-X github.com/kubernetes-sigs/azurefile-csi-driver/pkg/azurefile.vendorVersion=$(IMAGE_VERSION) -extldflags "-static"' -o _output/azurefileplugin.exe ./pkg/azurefileplugin
|
||||
azurefile-container: azurefile
|
||||
docker build --no-cache -t $(IMAGE_TAG) -f ./pkg/azurefileplugin/Dockerfile .
|
||||
push: azurefile-container
|
||||
|
|
|
|||
18
README.md
18
README.md
|
|
@ -1,7 +1,7 @@
|
|||
# azurefile CSI driver for Kubernetes
|
||||

|
||||
[](https://coveralls.io/github/csi-driver/azurefile-csi-driver?branch=master)
|
||||
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fcsi-driver%2Fazurefile-csi-driver?ref=badge_shield)
|
||||

|
||||
[](https://coveralls.io/github/kubernetes-sigs/azurefile-csi-driver?branch=master)
|
||||
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fkubernetes-sigs%2Fazurefile-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.
|
||||
|
||||
|
|
@ -33,19 +33,19 @@ Please refer to [`file.csi.azure.com` driver parameters](./docs/driver-parameter
|
|||
- The driver initialization depends on a [Cloud provider config file](https://github.com/kubernetes/cloud-provider-azure/blob/master/docs/cloud-provider-config.md), usually it's `/etc/kubernetes/azure.json` on all k8s nodes deployed by AKS or aks-engine, here is an [azure.json example](./deploy/example/azure.json)
|
||||
|
||||
### Install azurefile CSI driver on a kubernetes cluster
|
||||
Please refer to [install azurefile csi driver](https://github.com/csi-driver/azurefile-csi-driver/blob/master/docs/install-azurefile-csi-driver.md)
|
||||
Please refer to [install azurefile csi driver](https://github.com/kubernetes-sigs/azurefile-csi-driver/blob/master/docs/install-azurefile-csi-driver.md)
|
||||
|
||||
### E2E Usage example
|
||||
#### 1. create a pod with csi azurefile driver mount on linux
|
||||
##### Option#1: Azurefile Dynamic Provisioning
|
||||
- Create an azurefile CSI storage class
|
||||
```
|
||||
kubectl create -f https://raw.githubusercontent.com/csi-driver/azurefile-csi-driver/master/deploy/example/storageclass-azurefile-csi.yaml
|
||||
kubectl create -f https://raw.githubusercontent.com/kubernetes-sigs/azurefile-csi-driver/master/deploy/example/storageclass-azurefile-csi.yaml
|
||||
```
|
||||
|
||||
- Create an azurefile CSI PVC
|
||||
```
|
||||
kubectl create -f https://raw.githubusercontent.com/csi-driver/azurefile-csi-driver/master/deploy/example/pvc-azurefile-csi.yaml
|
||||
kubectl create -f https://raw.githubusercontent.com/kubernetes-sigs/azurefile-csi-driver/master/deploy/example/pvc-azurefile-csi.yaml
|
||||
```
|
||||
|
||||
##### Option#2: Azurefile Static Provisioning(use an existing azure file share)
|
||||
|
|
@ -56,14 +56,14 @@ kubectl create secret generic azure-secret --from-literal accountname=NAME --fro
|
|||
|
||||
- Create an azurefile CSI PV, download `pv-azurefile-csi.yaml` file and edit `sharename` in `volumeAttributes`
|
||||
```
|
||||
wget https://raw.githubusercontent.com/csi-driver/azurefile-csi-driver/master/deploy/example/pv-azurefile-csi.yaml
|
||||
wget https://raw.githubusercontent.com/kubernetes-sigs/azurefile-csi-driver/master/deploy/example/pv-azurefile-csi.yaml
|
||||
vi pv-azurefile-csi.yaml
|
||||
kubectl create -f pv-azurefile-csi.yaml
|
||||
```
|
||||
|
||||
- Create an azurefile CSI PVC which would be bound to the above PV
|
||||
```
|
||||
kubectl create -f https://raw.githubusercontent.com/csi-driver/azurefile-csi-driver/master/deploy/example/pvc-azurefile-csi-static.yaml
|
||||
kubectl create -f https://raw.githubusercontent.com/kubernetes-sigs/azurefile-csi-driver/master/deploy/example/pvc-azurefile-csi-static.yaml
|
||||
```
|
||||
|
||||
#### 2. validate PVC status and create an nginx pod
|
||||
|
|
@ -74,7 +74,7 @@ watch kubectl describe pvc pvc-azurefile
|
|||
|
||||
- create a pod with azurefile CSI PVC
|
||||
```
|
||||
kubectl create -f https://raw.githubusercontent.com/csi-driver/azurefile-csi-driver/master/deploy/example/nginx-pod-azurefile.yaml
|
||||
kubectl create -f https://raw.githubusercontent.com/kubernetes-sigs/azurefile-csi-driver/master/deploy/example/nginx-pod-azurefile.yaml
|
||||
```
|
||||
|
||||
#### 3. enter the pod container to do validation
|
||||
|
|
|
|||
|
|
@ -5,15 +5,15 @@ If you have already installed Helm, you can also use it to install azurefile CSI
|
|||
## Installation with kubectl
|
||||
|
||||
```
|
||||
kubectl apply -f https://raw.githubusercontent.com/csi-driver/azurefile-csi-driver/master/deploy/crd-csi-driver-registry.yaml
|
||||
kubectl apply -f https://raw.githubusercontent.com/csi-driver/azurefile-csi-driver/master/deploy/crd-csi-node-info.yaml
|
||||
kubectl apply -f https://raw.githubusercontent.com/csi-driver/azurefile-csi-driver/master/deploy/rbac-csi-attacher.yaml
|
||||
kubectl apply -f https://raw.githubusercontent.com/csi-driver/azurefile-csi-driver/master/deploy/rbac-csi-driver-registrar.yaml
|
||||
kubectl apply -f https://raw.githubusercontent.com/csi-driver/azurefile-csi-driver/master/deploy/rbac-csi-provisioner.yaml
|
||||
kubectl apply -f https://raw.githubusercontent.com/csi-driver/azurefile-csi-driver/master/deploy/rbac-csi-snapshotter.yaml
|
||||
kubectl apply -f https://raw.githubusercontent.com/csi-driver/azurefile-csi-driver/master/deploy/csi-azurefile-provisioner.yaml
|
||||
kubectl apply -f https://raw.githubusercontent.com/csi-driver/azurefile-csi-driver/master/deploy/csi-azurefile-attacher.yaml
|
||||
kubectl apply -f https://raw.githubusercontent.com/csi-driver/azurefile-csi-driver/master/deploy/azurefile-csi-driver.yaml
|
||||
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/azurefile-csi-driver/master/deploy/crd-csi-driver-registry.yaml
|
||||
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/azurefile-csi-driver/master/deploy/crd-csi-node-info.yaml
|
||||
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/azurefile-csi-driver/master/deploy/rbac-csi-attacher.yaml
|
||||
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/azurefile-csi-driver/master/deploy/rbac-csi-driver-registrar.yaml
|
||||
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/azurefile-csi-driver/master/deploy/rbac-csi-provisioner.yaml
|
||||
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/azurefile-csi-driver/master/deploy/rbac-csi-snapshotter.yaml
|
||||
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/azurefile-csi-driver/master/deploy/csi-azurefile-provisioner.yaml
|
||||
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/azurefile-csi-driver/master/deploy/csi-azurefile-attacher.yaml
|
||||
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/azurefile-csi-driver/master/deploy/azurefile-csi-driver.yaml
|
||||
```
|
||||
|
||||
- check pods status:
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ import (
|
|||
"k8s.io/kubernetes/pkg/util/mount"
|
||||
|
||||
"github.com/container-storage-interface/spec/lib/go/csi"
|
||||
csicommon "github.com/csi-driver/azurefile-csi-driver/pkg/csi-common"
|
||||
csicommon "github.com/kubernetes-sigs/azurefile-csi-driver/pkg/csi-common"
|
||||
"k8s.io/klog"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ import (
|
|||
"flag"
|
||||
"os"
|
||||
|
||||
"github.com/csi-driver/azurefile-csi-driver/pkg/azurefile"
|
||||
"github.com/kubernetes-sigs/azurefile-csi-driver/pkg/azurefile"
|
||||
"k8s.io/klog"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ import (
|
|||
|
||||
sanity "github.com/kubernetes-csi/csi-test/pkg/sanity"
|
||||
|
||||
azurefile "github.com/csi-driver/azurefile-csi-driver/pkg/azurefile"
|
||||
azurefile "github.com/kubernetes-sigs/azurefile-csi-driver/pkg/azurefile"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
Loading…
Reference in New Issue