Skip to content

Commit

Permalink
Prepare Release v1.3.1 (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
LKaemmerling authored May 12, 2020
1 parent 5b6756c commit 257ac44
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 11 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changes

## v1.3.1

- Add correct deployment file for latest version

## v1.3.0

- Update `csi-attacher` sidecar to v2.2.0
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ enabling you to use Volumes within Kubernetes. Please note that this driver **re

Have a look at our [Version Matrix](README.md#version-matrix) to pick the correct deployment file.
```
kubectl apply -f https://raw.githubusercontent.com/hetznercloud/csi-driver/v1.3.0/deploy/kubernetes/hcloud-csi.yml
kubectl apply -f https://raw.githubusercontent.com/hetznercloud/csi-driver/v1.3.1/deploy/kubernetes/hcloud-csi.yml
```

4. To verify everything is working, create a persistent volume claim and a pod
Expand Down Expand Up @@ -78,7 +78,7 @@ enabling you to use Volumes within Kubernetes. Please note that this driver **re

| Kubernetes | CSI Driver | Deployment File |
| ------------- | -----:| ------------------------------------------------------------------------------------------------------:|
| 1.16-1.18 | 1.3.0 | https://raw.githubusercontent.com/hetznercloud/csi-driver/v1.3.0/deploy/kubernetes/hcloud-csi.yml |
| 1.16-1.18 | 1.3.1 | https://raw.githubusercontent.com/hetznercloud/csi-driver/v1.3.1/deploy/kubernetes/hcloud-csi.yml |
| 1.14-1.15 | 1.1.5 | https://raw.githubusercontent.com/hetznercloud/csi-driver/v1.1.5/deploy/kubernetes/hcloud-csi.yml |
| 1.13 | 1.1.5 | https://raw.githubusercontent.com/hetznercloud/csi-driver/v1.1.5/deploy/kubernetes/hcloud-csi-1.13.yml |

Expand Down
54 changes: 46 additions & 8 deletions deploy/kubernetes/hcloud-csi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ rules:
resources: ["secrets"]
verbs: ["get", "list"]
- apiGroups: [""]
resources: ["persistentvolumes", "persistentvolumeclaims/status"]
resources: ["persistentvolumes"]
verbs: ["get", "list", "watch", "create", "delete", "patch"]
- apiGroups: [""]
resources: ["persistentvolumeclaims"]
verbs: ["get", "list", "watch", "update"]
resources: ["persistentvolumeclaims", "persistentvolumeclaims/status"]
verbs: ["get", "list", "watch", "update", "patch"]
- apiGroups: ["storage.k8s.io"]
resources: ["storageclasses"]
verbs: ["get", "list", "watch"]
Expand Down Expand Up @@ -106,7 +106,7 @@ spec:
serviceAccount: hcloud-csi
containers:
- name: csi-attacher
image: quay.io/k8scsi/csi-attacher:v1.2.1
image: quay.io/k8scsi/csi-attacher:v2.2.0
args:
- --csi-address=/var/lib/csi/sockets/pluginproxy/csi.sock
- --v=5
Expand All @@ -132,7 +132,7 @@ spec:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
- name: csi-provisioner
image: quay.io/k8scsi/csi-provisioner:v1.3.1
image: quay.io/k8scsi/csi-provisioner:v1.6.0
args:
- --provisioner=csi.hetzner.cloud
- --csi-address=/var/lib/csi/sockets/pluginproxy/csi.sock
Expand All @@ -147,7 +147,7 @@ spec:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
- name: hcloud-csi-driver
image: hetznercloud/hcloud-csi-driver:1.3.0
image: hetznercloud/hcloud-csi-driver:1.3.1
imagePullPolicy: Always
env:
- name: CSI_ENDPOINT
Expand All @@ -165,11 +165,30 @@ spec:
ports:
- containerPort: 9189
name: metrics
- name: healthz
containerPort: 9808
protocol: TCP
livenessProbe:
failureThreshold: 5
httpGet:
path: /healthz
port: healthz
initialDelaySeconds: 10
timeoutSeconds: 3
periodSeconds: 2
securityContext:
privileged: true
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
- name: liveness-probe
imagePullPolicy: Always
image: quay.io/k8scsi/livenessprobe:v1.1.0
args:
- --csi-address=/var/lib/csi/sockets/pluginproxy/csi.sock
volumeMounts:
- mountPath: /var/lib/csi/sockets/pluginproxy/
name: socket-dir
volumes:
- name: socket-dir
emptyDir: {}
Expand All @@ -193,7 +212,7 @@ spec:
serviceAccount: hcloud-csi
containers:
- name: csi-node-driver-registrar
image: quay.io/k8scsi/csi-node-driver-registrar:v1.2.0
image: quay.io/k8scsi/csi-node-driver-registrar:v1.3.0
args:
- --v=5
- --csi-address=/csi/csi.sock
Expand All @@ -212,7 +231,7 @@ spec:
securityContext:
privileged: true
- name: hcloud-csi-driver
image: hetznercloud/hcloud-csi-driver:1.3.0
image: hetznercloud/hcloud-csi-driver:1.3.1
imagePullPolicy: Always
env:
- name: CSI_ENDPOINT
Expand All @@ -237,6 +256,25 @@ spec:
ports:
- containerPort: 9189
name: metrics
- name: healthz
containerPort: 9808
protocol: TCP
livenessProbe:
failureThreshold: 5
httpGet:
path: /healthz
port: healthz
initialDelaySeconds: 10
timeoutSeconds: 3
periodSeconds: 2
- name: liveness-probe
imagePullPolicy: Always
image: quay.io/k8scsi/livenessprobe:v1.1.0
args:
- --csi-address=/csi/csi.sock
volumeMounts:
- mountPath: /csi
name: plugin-dir
volumes:
- name: kubelet-dir
hostPath:
Expand Down
2 changes: 1 addition & 1 deletion driver/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package driver

const (
PluginName = "csi.hetzner.cloud"
PluginVersion = "1.3.0"
PluginVersion = "1.3.1"

MaxVolumesPerNode = 16
MinVolumeSize = 10 // GB
Expand Down

0 comments on commit 257ac44

Please sign in to comment.