Skip to content

Commit 986045b

Browse files
authored
Merge pull request #229 from cofyc/fix223
release 2.4.0
2 parents 24293df + 7cde96a commit 986045b

36 files changed

+380
-340
lines changed

CHANGELOG.md

+40-8
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,45 @@
11
# HEAD
22

3-
helm chart refactoring:
4-
- **Action required**\
5-
As the helm-chart structure changed the already running pod will be recreated during upgrade. Documentation can be found under [helm/README.md](./helm/README.md). Compare your existing values with the new chart parameter before upgrade. [#171](https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/pull/171)
6-
7-
- blkdiscard.sh no longer zeros disks.
8-
This script was passing the -z option to blkdiscard which meant it was not
9-
performing discards. This has been fixed. If you desire zeroing, rather than
10-
block discarding, please switch to dd_zero.sh.
3+
Image updates:
4+
5+
- add `namePattern` field to filter volumes
6+
([#187](https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/pull/187))
7+
8+
- blkdiscard.sh no longer zeros disks. This script was passing the -z option to
9+
blkdiscard which meant it was not performing discards. This has been fixed.
10+
If you desire zeroing, rather than block discarding, please switch to
11+
dd_zero.sh.
12+
([#200](https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/pull/200))
13+
14+
- handle DeletedFinalStateUnknown object when receiving PV delete event
15+
([222](https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/pull/222))
16+
17+
- We start to push multi-arch images to Kubernetes main image-serving system,
18+
our repository is hosted at k8s.gcr.io/sig-storage/local-volume-provisioner.
19+
Our legacy repository quay.io/external_storage/local-volume-provisioner is
20+
deprecated but still maintained. Note that only amd64 images will be pushed
21+
to this repository.
22+
([206](https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/pull/206))
23+
24+
Helm updates:
25+
26+
- **Action required**: As the helm-chart structure changed the already running
27+
pod will be recreated during upgrade. Documentation can be found under
28+
[helm/README.md](./helm/README.md). Compare your existing values with the new
29+
chart parameter before upgrade.
30+
([#179](https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/pull/179))
31+
32+
- Added daemonset.podAnnotations and daemonset.podLabels to Helm chart values.
33+
([#213](https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/pull/213))
34+
35+
- Add opt-out for `/dev` volume in the chart
36+
([#219](https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/pull/219))
37+
38+
- Accept `labelsForPV` elements in the chart
39+
([220](https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/pull/220))
40+
41+
- Allow unprivileged provisioner in chart
42+
([221](https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/pull/221))
1143

1244
# [v2.3.4](https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/releases/tag/v2.3.4)
1345

README.md

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

9696
| Provisioner version | K8s version | Reason |
9797
| ------------------- | ------------- | ------------------------- |
98-
| [2.3.4][4] | 1.12+ | fs on block support |
98+
| [2.4.0][4] | 1.12+ | fs on block support |
9999
| [2.2.0][3] | 1.10 | Beta API default, block |
100100
| [2.0.0][2] | 1.8, 1.9 | Mount propagation |
101101
| [1.0.1][1] | 1.7 | |
102102

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

108108
## K8s Feature Status
109109

helm/generated_examples/baremetal-affinity.yaml

+10-10
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
name: local-static-provisioner
77
namespace: default
88
labels:
9-
helm.sh/chart: provisioner-3.0.0
9+
helm.sh/chart: provisioner-2.4.0
1010
app.kubernetes.io/name: provisioner
1111
app.kubernetes.io/managed-by: Helm
1212
app.kubernetes.io/instance: local-static-provisioner
@@ -18,7 +18,7 @@ metadata:
1818
name: local-static-provisioner-config
1919
namespace: default
2020
labels:
21-
helm.sh/chart: provisioner-3.0.0
21+
helm.sh/chart: provisioner-2.4.0
2222
app.kubernetes.io/name: provisioner
2323
app.kubernetes.io/managed-by: Helm
2424
app.kubernetes.io/instance: local-static-provisioner
@@ -38,7 +38,7 @@ kind: StorageClass
3838
metadata:
3939
name: local-storage
4040
labels:
41-
helm.sh/chart: provisioner-3.0.0
41+
helm.sh/chart: provisioner-2.4.0
4242
app.kubernetes.io/name: provisioner
4343
app.kubernetes.io/managed-by: Helm
4444
app.kubernetes.io/instance: local-static-provisioner
@@ -52,7 +52,7 @@ kind: ClusterRole
5252
metadata:
5353
name: local-static-provisioner-node-clusterrole
5454
labels:
55-
helm.sh/chart: provisioner-3.0.0
55+
helm.sh/chart: provisioner-2.4.0
5656
app.kubernetes.io/name: provisioner
5757
app.kubernetes.io/managed-by: Helm
5858
app.kubernetes.io/instance: local-static-provisioner
@@ -67,7 +67,7 @@ kind: ClusterRoleBinding
6767
metadata:
6868
name: local-static-provisioner-pv-binding
6969
labels:
70-
helm.sh/chart: provisioner-3.0.0
70+
helm.sh/chart: provisioner-2.4.0
7171
app.kubernetes.io/name: provisioner
7272
app.kubernetes.io/managed-by: Helm
7373
app.kubernetes.io/instance: local-static-provisioner
@@ -86,7 +86,7 @@ kind: ClusterRoleBinding
8686
metadata:
8787
name: local-static-provisioner-node-binding
8888
labels:
89-
helm.sh/chart: provisioner-3.0.0
89+
helm.sh/chart: provisioner-2.4.0
9090
app.kubernetes.io/name: provisioner
9191
app.kubernetes.io/managed-by: Helm
9292
app.kubernetes.io/instance: local-static-provisioner
@@ -106,7 +106,7 @@ metadata:
106106
name: local-static-provisioner
107107
namespace: default
108108
labels:
109-
helm.sh/chart: provisioner-3.0.0
109+
helm.sh/chart: provisioner-2.4.0
110110
app.kubernetes.io/name: provisioner
111111
app.kubernetes.io/managed-by: Helm
112112
app.kubernetes.io/instance: local-static-provisioner
@@ -121,7 +121,7 @@ spec:
121121
app.kubernetes.io/name: provisioner
122122
app.kubernetes.io/instance: local-static-provisioner
123123
annotations:
124-
checksum/config: 3e1949b5311f18ffdc24fa5568136b85aacb7530ca659a036faf960a11e8eee5
124+
checksum/config: 7f948c4816bf01ded341e5dfa8ada490debb47aad0fbcda1127e65254e2ac1c7
125125
spec:
126126
serviceAccountName: local-static-provisioner
127127
affinity:
@@ -136,7 +136,7 @@ spec:
136136
- localssd
137137
containers:
138138
- name: provisioner
139-
image: quay.io/external_storage/local-volume-provisioner:v2.3.4
139+
image: k8s.gcr.io/sig-storage/local-volume-provisioner:v2.4.0
140140
securityContext:
141141
privileged: true
142142
env:
@@ -149,7 +149,7 @@ spec:
149149
fieldRef:
150150
fieldPath: metadata.namespace
151151
- name: JOB_CONTAINER_IMAGE
152-
value: quay.io/external_storage/local-volume-provisioner:v2.3.4
152+
value: k8s.gcr.io/sig-storage/local-volume-provisioner:v2.4.0
153153
ports:
154154
- name: metrics
155155
containerPort: 8080

helm/generated_examples/baremetal-cleanbyjobs.yaml

+12-12
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
name: local-static-provisioner
77
namespace: default
88
labels:
9-
helm.sh/chart: provisioner-3.0.0
9+
helm.sh/chart: provisioner-2.4.0
1010
app.kubernetes.io/name: provisioner
1111
app.kubernetes.io/managed-by: Helm
1212
app.kubernetes.io/instance: local-static-provisioner
@@ -18,7 +18,7 @@ metadata:
1818
name: local-static-provisioner-config
1919
namespace: default
2020
labels:
21-
helm.sh/chart: provisioner-3.0.0
21+
helm.sh/chart: provisioner-2.4.0
2222
app.kubernetes.io/name: provisioner
2323
app.kubernetes.io/managed-by: Helm
2424
app.kubernetes.io/instance: local-static-provisioner
@@ -38,7 +38,7 @@ kind: StorageClass
3838
metadata:
3939
name: local-storage
4040
labels:
41-
helm.sh/chart: provisioner-3.0.0
41+
helm.sh/chart: provisioner-2.4.0
4242
app.kubernetes.io/name: provisioner
4343
app.kubernetes.io/managed-by: Helm
4444
app.kubernetes.io/instance: local-static-provisioner
@@ -52,7 +52,7 @@ kind: ClusterRole
5252
metadata:
5353
name: local-static-provisioner-node-clusterrole
5454
labels:
55-
helm.sh/chart: provisioner-3.0.0
55+
helm.sh/chart: provisioner-2.4.0
5656
app.kubernetes.io/name: provisioner
5757
app.kubernetes.io/managed-by: Helm
5858
app.kubernetes.io/instance: local-static-provisioner
@@ -67,7 +67,7 @@ kind: ClusterRoleBinding
6767
metadata:
6868
name: local-static-provisioner-pv-binding
6969
labels:
70-
helm.sh/chart: provisioner-3.0.0
70+
helm.sh/chart: provisioner-2.4.0
7171
app.kubernetes.io/name: provisioner
7272
app.kubernetes.io/managed-by: Helm
7373
app.kubernetes.io/instance: local-static-provisioner
@@ -86,7 +86,7 @@ kind: ClusterRoleBinding
8686
metadata:
8787
name: local-static-provisioner-node-binding
8888
labels:
89-
helm.sh/chart: provisioner-3.0.0
89+
helm.sh/chart: provisioner-2.4.0
9090
app.kubernetes.io/name: provisioner
9191
app.kubernetes.io/managed-by: Helm
9292
app.kubernetes.io/instance: local-static-provisioner
@@ -106,7 +106,7 @@ metadata:
106106
name: local-static-provisioner-jobs-role
107107
namespace: default
108108
labels:
109-
helm.sh/chart: provisioner-3.0.0
109+
helm.sh/chart: provisioner-2.4.0
110110
app.kubernetes.io/name: provisioner
111111
app.kubernetes.io/managed-by: Helm
112112
app.kubernetes.io/instance: local-static-provisioner
@@ -125,7 +125,7 @@ metadata:
125125
name: local-static-provisioner-jobs-rolebinding
126126
namespace: default
127127
labels:
128-
helm.sh/chart: provisioner-3.0.0
128+
helm.sh/chart: provisioner-2.4.0
129129
app.kubernetes.io/name: provisioner
130130
app.kubernetes.io/managed-by: Helm
131131
app.kubernetes.io/instance: local-static-provisioner
@@ -145,7 +145,7 @@ metadata:
145145
name: local-static-provisioner
146146
namespace: default
147147
labels:
148-
helm.sh/chart: provisioner-3.0.0
148+
helm.sh/chart: provisioner-2.4.0
149149
app.kubernetes.io/name: provisioner
150150
app.kubernetes.io/managed-by: Helm
151151
app.kubernetes.io/instance: local-static-provisioner
@@ -160,12 +160,12 @@ spec:
160160
app.kubernetes.io/name: provisioner
161161
app.kubernetes.io/instance: local-static-provisioner
162162
annotations:
163-
checksum/config: 4552429385de2a296f41ab170f2185eaeb7fdc72c360d3698148fae6924e20bc
163+
checksum/config: 0171c95d3af5bbd067ea03acc262bfedc897a1b349f945f1890454f6d7cce066
164164
spec:
165165
serviceAccountName: local-static-provisioner
166166
containers:
167167
- name: provisioner
168-
image: quay.io/external_storage/local-volume-provisioner:v2.3.4
168+
image: k8s.gcr.io/sig-storage/local-volume-provisioner:v2.4.0
169169
securityContext:
170170
privileged: true
171171
env:
@@ -178,7 +178,7 @@ spec:
178178
fieldRef:
179179
fieldPath: metadata.namespace
180180
- name: JOB_CONTAINER_IMAGE
181-
value: quay.io/external_storage/local-volume-provisioner:v2.3.4
181+
value: k8s.gcr.io/sig-storage/local-volume-provisioner:v2.4.0
182182
ports:
183183
- name: metrics
184184
containerPort: 8080

helm/generated_examples/baremetal-default-storage.yaml

+10-10
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
name: local-static-provisioner
77
namespace: default
88
labels:
9-
helm.sh/chart: provisioner-3.0.0
9+
helm.sh/chart: provisioner-2.4.0
1010
app.kubernetes.io/name: provisioner
1111
app.kubernetes.io/managed-by: Helm
1212
app.kubernetes.io/instance: local-static-provisioner
@@ -18,7 +18,7 @@ metadata:
1818
name: local-static-provisioner-config
1919
namespace: default
2020
labels:
21-
helm.sh/chart: provisioner-3.0.0
21+
helm.sh/chart: provisioner-2.4.0
2222
app.kubernetes.io/name: provisioner
2323
app.kubernetes.io/managed-by: Helm
2424
app.kubernetes.io/instance: local-static-provisioner
@@ -37,7 +37,7 @@ metadata:
3737
annotations:
3838
storageclass.kubernetes.io/is-default-class: "true"
3939
labels:
40-
helm.sh/chart: provisioner-3.0.0
40+
helm.sh/chart: provisioner-2.4.0
4141
app.kubernetes.io/name: provisioner
4242
app.kubernetes.io/managed-by: Helm
4343
app.kubernetes.io/instance: local-static-provisioner
@@ -51,7 +51,7 @@ kind: ClusterRole
5151
metadata:
5252
name: local-static-provisioner-node-clusterrole
5353
labels:
54-
helm.sh/chart: provisioner-3.0.0
54+
helm.sh/chart: provisioner-2.4.0
5555
app.kubernetes.io/name: provisioner
5656
app.kubernetes.io/managed-by: Helm
5757
app.kubernetes.io/instance: local-static-provisioner
@@ -66,7 +66,7 @@ kind: ClusterRoleBinding
6666
metadata:
6767
name: local-static-provisioner-pv-binding
6868
labels:
69-
helm.sh/chart: provisioner-3.0.0
69+
helm.sh/chart: provisioner-2.4.0
7070
app.kubernetes.io/name: provisioner
7171
app.kubernetes.io/managed-by: Helm
7272
app.kubernetes.io/instance: local-static-provisioner
@@ -85,7 +85,7 @@ kind: ClusterRoleBinding
8585
metadata:
8686
name: local-static-provisioner-node-binding
8787
labels:
88-
helm.sh/chart: provisioner-3.0.0
88+
helm.sh/chart: provisioner-2.4.0
8989
app.kubernetes.io/name: provisioner
9090
app.kubernetes.io/managed-by: Helm
9191
app.kubernetes.io/instance: local-static-provisioner
@@ -105,7 +105,7 @@ metadata:
105105
name: local-static-provisioner
106106
namespace: default
107107
labels:
108-
helm.sh/chart: provisioner-3.0.0
108+
helm.sh/chart: provisioner-2.4.0
109109
app.kubernetes.io/name: provisioner
110110
app.kubernetes.io/managed-by: Helm
111111
app.kubernetes.io/instance: local-static-provisioner
@@ -120,12 +120,12 @@ spec:
120120
app.kubernetes.io/name: provisioner
121121
app.kubernetes.io/instance: local-static-provisioner
122122
annotations:
123-
checksum/config: 8560465526256d255ae7590cdf65e69daf198eed77530531e4c16c191706dcf4
123+
checksum/config: 15940fa383be3964f91f0ee7b62ac32a1b701ca6428c55ec323657f862f64467
124124
spec:
125125
serviceAccountName: local-static-provisioner
126126
containers:
127127
- name: provisioner
128-
image: quay.io/external_storage/local-volume-provisioner:v2.3.4
128+
image: k8s.gcr.io/sig-storage/local-volume-provisioner:v2.4.0
129129
securityContext:
130130
privileged: true
131131
env:
@@ -138,7 +138,7 @@ spec:
138138
fieldRef:
139139
fieldPath: metadata.namespace
140140
- name: JOB_CONTAINER_IMAGE
141-
value: quay.io/external_storage/local-volume-provisioner:v2.3.4
141+
value: k8s.gcr.io/sig-storage/local-volume-provisioner:v2.4.0
142142
ports:
143143
- name: metrics
144144
containerPort: 8080

0 commit comments

Comments
 (0)