Skip to content

Commit 79ef0c0

Browse files
authored
Merge pull request #178 from cofyc/release-v2.3.4
release v2.3.4
2 parents 0fe6e99 + 41dd08f commit 79ef0c0

20 files changed

+165
-152
lines changed

CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# HEAD
22

3+
# [v2.3.4](https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/releases/tag/v2.3.4)
4+
5+
Image updates:
6+
7+
- A readiness check is added to expose discovery state
8+
Refer to [docs](https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/blob/v2.3.4/docs/provisioner.md#readiness) for more information.
9+
([#135](https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/pull/135))
10+
- A new metric `local_volume_provisioner_persistentvolume_capacity_bytes` is
11+
added to report the capacity in bytes of the local volumes discovered
12+
([#160](https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/pull/160))
13+
- Fix an issue that may cause released PVs not to be recycled
14+
([#174](https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/pull/174))
15+
316
# [v2.3.3](https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/releases/tag/v2.3.3)
417

518
Image updates:

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,15 +93,15 @@ Recommended provisioner versions with Kubernetes versions
9393

9494
| Provisioner version | K8s version | Reason |
9595
| ------------------- | ------------- | ------------------------- |
96-
| [2.3.3][4] | 1.12 | fs on block support |
96+
| [2.3.4][4] | 1.12+ | fs on block support |
9797
| [2.2.0][3] | 1.10 | Beta API default, block |
9898
| [2.0.0][2] | 1.8, 1.9 | Mount propagation |
9999
| [1.0.1][1] | 1.7 | |
100100

101101
[1]: https://github.com/kubernetes-incubator/external-storage/tree/local-volume-provisioner-v1.0.1/local-volume
102102
[2]: https://github.com/kubernetes-incubator/external-storage/tree/local-volume-provisioner-v2.0.0/local-volume
103103
[3]: https://github.com/kubernetes-incubator/external-storage/tree/local-volume-provisioner-v2.2.0/local-volume
104-
[4]: https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/tree/v2.3.3
104+
[4]: https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/tree/v2.3.4
105105

106106
## K8s Feature Status
107107

helm/generated_examples/baremetal-cleanbyjobs.yaml

+11-11
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ metadata:
88
labels:
99
heritage: "Tiller"
1010
release: "RELEASE-NAME"
11-
chart: provisioner-2.3.3
11+
chart: provisioner-2.3.4
1212
data:
1313
useJobForCleaning: "yes"
1414
storageClassMap: |
@@ -28,7 +28,7 @@ metadata:
2828
app: local-volume-provisioner
2929
heritage: "Tiller"
3030
release: "RELEASE-NAME"
31-
chart: provisioner-2.3.3
31+
chart: provisioner-2.3.4
3232
spec:
3333
selector:
3434
matchLabels:
@@ -40,7 +40,7 @@ spec:
4040
spec:
4141
serviceAccountName: local-storage-admin
4242
containers:
43-
- image: "quay.io/external_storage/local-volume-provisioner:v2.3.3"
43+
- image: "quay.io/external_storage/local-volume-provisioner:v2.3.4"
4444
name: provisioner
4545
securityContext:
4646
privileged: true
@@ -54,7 +54,7 @@ spec:
5454
fieldRef:
5555
fieldPath: metadata.namespace
5656
- name: JOB_CONTAINER_IMAGE
57-
value: "quay.io/external_storage/local-volume-provisioner:v2.3.3"
57+
value: "quay.io/external_storage/local-volume-provisioner:v2.3.4"
5858
volumeMounts:
5959
- mountPath: /etc/provisioner/config
6060
name: provisioner-config
@@ -82,7 +82,7 @@ metadata:
8282
labels:
8383
heritage: "Tiller"
8484
release: "RELEASE-NAME"
85-
chart: provisioner-2.3.3
85+
chart: provisioner-2.3.4
8686
provisioner: kubernetes.io/no-provisioner
8787
volumeBindingMode: WaitForFirstConsumer
8888
reclaimPolicy: Delete
@@ -98,7 +98,7 @@ metadata:
9898
labels:
9999
heritage: "Tiller"
100100
release: "RELEASE-NAME"
101-
chart: provisioner-2.3.3
101+
chart: provisioner-2.3.4
102102

103103
---
104104
# Source: provisioner/templates/provisioner-cluster-role-binding.yaml
@@ -110,7 +110,7 @@ metadata:
110110
labels:
111111
heritage: "Tiller"
112112
release: "RELEASE-NAME"
113-
chart: provisioner-2.3.3
113+
chart: provisioner-2.3.4
114114
subjects:
115115
- kind: ServiceAccount
116116
name: local-storage-admin
@@ -127,7 +127,7 @@ metadata:
127127
labels:
128128
heritage: "Tiller"
129129
release: "RELEASE-NAME"
130-
chart: provisioner-2.3.3
130+
chart: provisioner-2.3.4
131131
rules:
132132
- apiGroups: [""]
133133
resources: ["nodes"]
@@ -140,7 +140,7 @@ metadata:
140140
labels:
141141
heritage: "Tiller"
142142
release: "RELEASE-NAME"
143-
chart: provisioner-2.3.3
143+
chart: provisioner-2.3.4
144144
subjects:
145145
- kind: ServiceAccount
146146
name: local-storage-admin
@@ -158,7 +158,7 @@ metadata:
158158
labels:
159159
heritage: "Tiller"
160160
release: "RELEASE-NAME"
161-
chart: provisioner-2.3.3
161+
chart: provisioner-2.3.4
162162
rules:
163163
- apiGroups:
164164
- 'batch'
@@ -175,7 +175,7 @@ metadata:
175175
labels:
176176
heritage: "Tiller"
177177
release: "RELEASE-NAME"
178-
chart: provisioner-2.3.3
178+
chart: provisioner-2.3.4
179179
subjects:
180180
- kind: ServiceAccount
181181
name: local-storage-admin

helm/generated_examples/baremetal-default-storage.yaml

+9-9
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ metadata:
88
labels:
99
heritage: "Tiller"
1010
release: "RELEASE-NAME"
11-
chart: provisioner-2.3.3
11+
chart: provisioner-2.3.4
1212
data:
1313
storageClassMap: |
1414
local-storage:
@@ -25,7 +25,7 @@ metadata:
2525
app: local-volume-provisioner
2626
heritage: "Tiller"
2727
release: "RELEASE-NAME"
28-
chart: provisioner-2.3.3
28+
chart: provisioner-2.3.4
2929
spec:
3030
selector:
3131
matchLabels:
@@ -37,7 +37,7 @@ spec:
3737
spec:
3838
serviceAccountName: local-storage-admin
3939
containers:
40-
- image: "quay.io/external_storage/local-volume-provisioner:v2.3.3"
40+
- image: "quay.io/external_storage/local-volume-provisioner:v2.3.4"
4141
name: provisioner
4242
securityContext:
4343
privileged: true
@@ -51,7 +51,7 @@ spec:
5151
fieldRef:
5252
fieldPath: metadata.namespace
5353
- name: JOB_CONTAINER_IMAGE
54-
value: "quay.io/external_storage/local-volume-provisioner:v2.3.3"
54+
value: "quay.io/external_storage/local-volume-provisioner:v2.3.4"
5555
volumeMounts:
5656
- mountPath: /etc/provisioner/config
5757
name: provisioner-config
@@ -81,7 +81,7 @@ metadata:
8181
labels:
8282
heritage: "Tiller"
8383
release: "RELEASE-NAME"
84-
chart: provisioner-2.3.3
84+
chart: provisioner-2.3.4
8585
provisioner: kubernetes.io/no-provisioner
8686
volumeBindingMode: WaitForFirstConsumer
8787
reclaimPolicy: Delete
@@ -97,7 +97,7 @@ metadata:
9797
labels:
9898
heritage: "Tiller"
9999
release: "RELEASE-NAME"
100-
chart: provisioner-2.3.3
100+
chart: provisioner-2.3.4
101101

102102
---
103103
# Source: provisioner/templates/provisioner-cluster-role-binding.yaml
@@ -109,7 +109,7 @@ metadata:
109109
labels:
110110
heritage: "Tiller"
111111
release: "RELEASE-NAME"
112-
chart: provisioner-2.3.3
112+
chart: provisioner-2.3.4
113113
subjects:
114114
- kind: ServiceAccount
115115
name: local-storage-admin
@@ -126,7 +126,7 @@ metadata:
126126
labels:
127127
heritage: "Tiller"
128128
release: "RELEASE-NAME"
129-
chart: provisioner-2.3.3
129+
chart: provisioner-2.3.4
130130
rules:
131131
- apiGroups: [""]
132132
resources: ["nodes"]
@@ -139,7 +139,7 @@ metadata:
139139
labels:
140140
heritage: "Tiller"
141141
release: "RELEASE-NAME"
142-
chart: provisioner-2.3.3
142+
chart: provisioner-2.3.4
143143
subjects:
144144
- kind: ServiceAccount
145145
name: local-storage-admin

helm/generated_examples/baremetal-namespace.yaml

+10-10
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ metadata:
88
labels:
99
heritage: "Tiller"
1010
release: "RELEASE-NAME"
11-
chart: provisioner-2.3.3
11+
chart: provisioner-2.3.4
1212

1313
---
1414
# Source: provisioner/templates/provisioner.yaml
@@ -20,7 +20,7 @@ metadata:
2020
labels:
2121
heritage: "Tiller"
2222
release: "RELEASE-NAME"
23-
chart: provisioner-2.3.3
23+
chart: provisioner-2.3.4
2424
data:
2525
storageClassMap: |
2626
local-storage:
@@ -39,7 +39,7 @@ metadata:
3939
app: local-volume-provisioner
4040
heritage: "Tiller"
4141
release: "RELEASE-NAME"
42-
chart: provisioner-2.3.3
42+
chart: provisioner-2.3.4
4343
spec:
4444
selector:
4545
matchLabels:
@@ -51,7 +51,7 @@ spec:
5151
spec:
5252
serviceAccountName: local-storage-admin
5353
containers:
54-
- image: "quay.io/external_storage/local-volume-provisioner:v2.3.3"
54+
- image: "quay.io/external_storage/local-volume-provisioner:v2.3.4"
5555
name: provisioner
5656
securityContext:
5757
privileged: true
@@ -65,7 +65,7 @@ spec:
6565
fieldRef:
6666
fieldPath: metadata.namespace
6767
- name: JOB_CONTAINER_IMAGE
68-
value: "quay.io/external_storage/local-volume-provisioner:v2.3.3"
68+
value: "quay.io/external_storage/local-volume-provisioner:v2.3.4"
6969
volumeMounts:
7070
- mountPath: /etc/provisioner/config
7171
name: provisioner-config
@@ -93,7 +93,7 @@ metadata:
9393
labels:
9494
heritage: "Tiller"
9595
release: "RELEASE-NAME"
96-
chart: provisioner-2.3.3
96+
chart: provisioner-2.3.4
9797
provisioner: kubernetes.io/no-provisioner
9898
volumeBindingMode: WaitForFirstConsumer
9999
reclaimPolicy: Delete
@@ -109,7 +109,7 @@ metadata:
109109
labels:
110110
heritage: "Tiller"
111111
release: "RELEASE-NAME"
112-
chart: provisioner-2.3.3
112+
chart: provisioner-2.3.4
113113

114114
---
115115
# Source: provisioner/templates/provisioner-cluster-role-binding.yaml
@@ -121,7 +121,7 @@ metadata:
121121
labels:
122122
heritage: "Tiller"
123123
release: "RELEASE-NAME"
124-
chart: provisioner-2.3.3
124+
chart: provisioner-2.3.4
125125
subjects:
126126
- kind: ServiceAccount
127127
name: local-storage-admin
@@ -138,7 +138,7 @@ metadata:
138138
labels:
139139
heritage: "Tiller"
140140
release: "RELEASE-NAME"
141-
chart: provisioner-2.3.3
141+
chart: provisioner-2.3.4
142142
rules:
143143
- apiGroups: [""]
144144
resources: ["nodes"]
@@ -151,7 +151,7 @@ metadata:
151151
labels:
152152
heritage: "Tiller"
153153
release: "RELEASE-NAME"
154-
chart: provisioner-2.3.3
154+
chart: provisioner-2.3.4
155155
subjects:
156156
- kind: ServiceAccount
157157
name: local-storage-admin

helm/generated_examples/baremetal-nodeselector.yaml

+9-9
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ metadata:
88
labels:
99
heritage: "Tiller"
1010
release: "RELEASE-NAME"
11-
chart: provisioner-2.3.3
11+
chart: provisioner-2.3.4
1212
data:
1313
storageClassMap: |
1414
local-storage:
@@ -28,7 +28,7 @@ metadata:
2828
app: local-volume-provisioner
2929
heritage: "Tiller"
3030
release: "RELEASE-NAME"
31-
chart: provisioner-2.3.3
31+
chart: provisioner-2.3.4
3232
spec:
3333
selector:
3434
matchLabels:
@@ -42,7 +42,7 @@ spec:
4242
nodeSelector:
4343
localVolume: present
4444
containers:
45-
- image: "quay.io/external_storage/local-volume-provisioner:v2.3.3"
45+
- image: "quay.io/external_storage/local-volume-provisioner:v2.3.4"
4646
name: provisioner
4747
securityContext:
4848
privileged: true
@@ -56,7 +56,7 @@ spec:
5656
fieldRef:
5757
fieldPath: metadata.namespace
5858
- name: JOB_CONTAINER_IMAGE
59-
value: "quay.io/external_storage/local-volume-provisioner:v2.3.3"
59+
value: "quay.io/external_storage/local-volume-provisioner:v2.3.4"
6060
volumeMounts:
6161
- mountPath: /etc/provisioner/config
6262
name: provisioner-config
@@ -84,7 +84,7 @@ metadata:
8484
labels:
8585
heritage: "Tiller"
8686
release: "RELEASE-NAME"
87-
chart: provisioner-2.3.3
87+
chart: provisioner-2.3.4
8888
provisioner: kubernetes.io/no-provisioner
8989
volumeBindingMode: WaitForFirstConsumer
9090
reclaimPolicy: Delete
@@ -100,7 +100,7 @@ metadata:
100100
labels:
101101
heritage: "Tiller"
102102
release: "RELEASE-NAME"
103-
chart: provisioner-2.3.3
103+
chart: provisioner-2.3.4
104104

105105
---
106106
# Source: provisioner/templates/provisioner-cluster-role-binding.yaml
@@ -112,7 +112,7 @@ metadata:
112112
labels:
113113
heritage: "Tiller"
114114
release: "RELEASE-NAME"
115-
chart: provisioner-2.3.3
115+
chart: provisioner-2.3.4
116116
subjects:
117117
- kind: ServiceAccount
118118
name: local-storage-admin
@@ -129,7 +129,7 @@ metadata:
129129
labels:
130130
heritage: "Tiller"
131131
release: "RELEASE-NAME"
132-
chart: provisioner-2.3.3
132+
chart: provisioner-2.3.4
133133
rules:
134134
- apiGroups: [""]
135135
resources: ["nodes"]
@@ -142,7 +142,7 @@ metadata:
142142
labels:
143143
heritage: "Tiller"
144144
release: "RELEASE-NAME"
145-
chart: provisioner-2.3.3
145+
chart: provisioner-2.3.4
146146
subjects:
147147
- kind: ServiceAccount
148148
name: local-storage-admin

0 commit comments

Comments
 (0)