Skip to content

Commit

Permalink
Release v0.4.0 (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwennrich authored Feb 26, 2021
1 parent f864404 commit dbf82ef
Show file tree
Hide file tree
Showing 41 changed files with 28 additions and 3,518 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
/bin
/tests/files/helm
/tests/files/.dockerenv
/tests/files/.kubeconfig
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ dockerbuildpush:

.PHONY: cidockerbuildpush
cidockerbuildpush:
docker build -t metalstack/csi-lvmplugin-provisioner:${DOCKER_TAG} . -f cmd/provisioner/Dockerfile
docker build -t metalstack/lvmplugin:${DOCKER_TAG} .
docker push metalstack/lvmplugin:${DOCKER_TAG}
docker push metalstack/csi-lvmplugin-provisioner:${DOCKER_TAG}
docker build -t metalstack/csi-lvmplugin-provisioner:${TEST_TAG} . -f cmd/provisioner/Dockerfile
docker build -t metalstack/lvmplugin:${TEST_TAG} .
docker push metalstack/lvmplugin:${TEST_TAG}
docker push metalstack/csi-lvmplugin-provisioner:${TEST_TAG}

.PHONY: tests
tests: | start-test build-provisioner build-plugin build-test do-test clean-test
Expand Down
2 changes: 1 addition & 1 deletion cmd/lvmplugin/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func init() {

var (
endpoint = flag.String("endpoint", "unix://tmp/csi.sock", "CSI endpoint")
driverName = flag.String("drivername", "lvm.csi.k8s.io", "name of the driver")
driverName = flag.String("drivername", "lvm.csi.metal-stack.io", "name of the driver")
nodeID = flag.String("nodeid", "", "node id")
ephemeral = flag.Bool("ephemeral", false, "publish volumes in ephemeral mode even if kubelet did not ask for it (only needed for Kubernetes 1.15)")
maxVolumesPerNode = flag.Int64("maxvolumespernode", 0, "limit of volumes per node")
Expand Down
2 changes: 1 addition & 1 deletion examples/csi-app-mirror.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ spec:
volumes:
- name: my-csi-volume-mirror
persistentVolumeClaim:
claimName: csi-pvc-mirror # defined in csi-pvs.yaml
claimName: csi-pvc-mirror
2 changes: 1 addition & 1 deletion examples/csi-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ spec:
volumes:
- name: my-csi-volume
persistentVolumeClaim:
claimName: csi-pvc # defined in csi-pvs.yaml
claimName: csi-pvc
2 changes: 1 addition & 1 deletion examples/csi-pvc-mirror.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ spec:
resources:
requests:
storage: 100Mi
storageClassName: csi-lvm-sc-mirror # defined in csi-setup.yaml
storageClassName: csi-lvm-sc-mirror
2 changes: 1 addition & 1 deletion examples/csi-pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ spec:
resources:
requests:
storage: 100Mi
storageClassName: csi-lvm-sc-linear # defined in csi-setup.yaml
storageClassName: csi-lvm-sc-linear
2 changes: 1 addition & 1 deletion examples/csi-storageclass-linear.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-lvm-sc-linear
provisioner: lvm.csi.k8s.io
provisioner: lvm.csi.metal-stack.io
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
Expand Down
2 changes: 1 addition & 1 deletion examples/csi-storageclass-mirror.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-lvm-sc-mirror
provisioner: lvm.csi.k8s.io
provisioner: lvm.csi.metal-stack.io
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
Expand Down
2 changes: 1 addition & 1 deletion examples/csi-storageclass-striped.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-lvm-sc-striped
provisioner: lvm.csi.k8s.io
provisioner: lvm.csi.metal-stack.io
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
Expand Down
4 changes: 2 additions & 2 deletions examples/mytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ spec:
resources:
requests:
storage: 100Mi
storageClassName: csi-lvm-sc-linear # defined in csi-setup.yaml
storageClassName: csi-lvm-sc-linear
---
kind: Pod
apiVersion: v1
Expand All @@ -25,4 +25,4 @@ spec:
volumes:
- name: my-csi-volume
persistentVolumeClaim:
claimName: csi-pvc # defined in csi-pvs.yaml
claimName: csi-pvc
23 changes: 0 additions & 23 deletions examples/rook/README.md

This file was deleted.

122 changes: 0 additions & 122 deletions examples/rook/cluster-on-lvm.yaml

This file was deleted.

Loading

0 comments on commit dbf82ef

Please sign in to comment.