Skip to content

Commit 16ba707

Browse files
committed
release v1.7.0
1 parent 597da4a commit 16ba707

File tree

6 files changed

+51
-5
lines changed

6 files changed

+51
-5
lines changed

CHANGELOG/CHANGELOG-1.7.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Release notes for v1.7.0
2+
3+
[Documentation](https://kubernetes-csi.github.io)
4+
5+
# Changelog since v1.6.2
6+
7+
## Changes by Kind
8+
9+
### Feature
10+
- Added 'proxy' support where the host-path driver offloads the CSI requests transparently to the external CSI driver running at `--proxy-endpoint`. ([#260](https://github.com/kubernetes-csi/csi-driver-host-path/pull/260), [@avalluri](https://github.com/avalluri))
11+
- Implemented Controller{Publish,Unpublish}Volume calls. Introduced a new command-line argument `--enable-attach` (defaults to `false`) which controls if the driver should add `RPC_PUBLISH_UNPUBLISH_VOLUME` to its controller capablilities. ([#260](https://github.com/kubernetes-csi/csi-driver-host-path/pull/260), [@avalluri](https://github.com/avalluri))
12+
- GRPC calls are logged in a unified(request, reply, and error) JSON format. ([#260](https://github.com/kubernetes-csi/csi-driver-host-path/pull/260), [@avalluri](https://github.com/avalluri))
13+
- /var/lib/kubelet will be replaced on-the-fly by the deploy.sh scripts with the content of the KUBELET_DATA_DIR env variable. ([#286](https://github.com/kubernetes-csi/csi-driver-host-path/pull/286), [@pohly](https://github.com/pohly))
14+
- Added support for configuring the maximum number of volumes that could be attached on a node using `--attach-limit`. ([#269](https://github.com/kubernetes-csi/csi-driver-host-path/pull/269), [@avalluri](https://github.com/avalluri))
15+
- New command-line option `--enable-topology` for enabling/disabling driver topology. ([#269](https://github.com/kubernetes-csi/csi-driver-host-path/pull/269), [@avalluri](https://github.com/avalluri))
16+
- New command-line option `--node-expand-required` for enabling/disabling volume expansion feature. ([#269](https://github.com/kubernetes-csi/csi-driver-host-path/pull/269), [@avalluri](https://github.com/avalluri))
17+
- The hostpath driver now has a configurable fixed maximum volume size. It reports the minimum of that and the remaining capacity as `GetCapacityResponse.MaximumVolumeSize`. `GetCapacityResponse.MinimumVolumeSize` is always zero. ([#253](https://github.com/kubernetes-csi/csi-driver-host-path/pull/253), [@pohly](https://github.com/pohly))
18+
- User now can get volume stats data with Prometheus ([#275](https://github.com/kubernetes-csi/csi-driver-host-path/pull/275), [@stoneshi-yunify](https://github.com/stoneshi-yunify))
19+
20+
### Failing Test
21+
- Some violations of the volume lifecycle (specifically, VolumeDeleted without NodeUnpublishVolume+NodeUnstageVolume) are not fatal (the behavior in csi-driver-host-path <1.7) and merely cause a warning (new). `--check-volume-lifecycle` can be used to turn such violations into errors. ([#293](https://github.com/kubernetes-csi/csi-driver-host-path/pull/293), [@pohly](https://github.com/pohly))
22+
23+
### Bug or Regression
24+
- During startup, the driver may have restored internal state incorrectly (volumes added to internal list that belong to some other driver) or failed to start completely (`failed to get capacity info: no such file or directory`). ([#277](https://github.com/kubernetes-csi/csi-driver-host-path/pull/277), [@pohly](https://github.com/pohly))
25+
- Added the Fix for path resolution in deploy script. Now the user can run script from anywhere, not necessarily from the base path as `./deploy/kubernetes-1.1x/depploy-script.sh` ([#218](https://github.com/kubernetes-csi/csi-driver-host-path/pull/218), [@aayushrangwala](https://github.com/aayushrangwala))
26+
27+
### Other (Cleanup or Flake)
28+
- All the csi resources from k8s 1.17 will be having a common label `partof: csi-hostpath-driver` which will be used to collectively identify all the resources under csi installation and also can be used to delete them in bulk ([#216](https://github.com/kubernetes-csi/csi-driver-host-path/pull/216), [@aayushrangwala](https://github.com/aayushrangwala))
29+
- Deployments use "serviceAccountName", the official name for the field, instead of the deprecated "serviceAccount" alias. ([#271](https://github.com/kubernetes-csi/csi-driver-host-path/pull/271), [@pohly](https://github.com/pohly))
30+
- Testing of CSIStorageCapacity publishing with https://github.com/kubernetes/kubernetes/pull/100537 is enabled. ([#265](https://github.com/kubernetes-csi/csi-driver-host-path/pull/265), [@pohly](https://github.com/pohly))
31+
- The deploy/kubernetes-x.yy deployments use one pod for all sidecars and the driver. Deploying with separate pods is still supported though the deploy/kubernetes-x.yy-prow deployments, for testing of RBAC rules with Prow. ([#282](https://github.com/kubernetes-csi/csi-driver-host-path/pull/282), [@pohly](https://github.com/pohly))
32+
- Updated sidecar versions. ([#280](https://github.com/kubernetes-csi/csi-driver-host-path/pull/280), [@pohly](https://github.com/pohly)), ([#294](https://github.com/kubernetes-csi/csi-driver-host-path/pull/294), [@pohly](https://github.com/pohly))
33+
- Use exec.LookPath function ([#240](https://github.com/kubernetes-csi/csi-driver-host-path/pull/240), [@guilhem](https://github.com/guilhem))
34+
- Optimize sparse file cloning ([#291](https://github.com/kubernetes-csi/csi-driver-host-path/pull/291), [@stoneshi-yunify](https://github.com/stoneshi-yunify))
35+
36+
## Dependencies
37+
38+
### Added
39+
_Nothing has changed._
40+
41+
### Changed
42+
- github.com/container-storage-interface/spec: [v1.3.0 → v1.4.0](https://github.com/container-storage-interface/spec/compare/v1.3.0...v1.4.0)
43+
- github.com/stretchr/testify: [v1.6.1 → v1.7.0](https://github.com/stretchr/testify/compare/v1.6.1...v1.7.0)
44+
45+
### Removed
46+
_Nothing has changed._

deploy/kubernetes-1.18-test/hostpath/csi-hostpath-plugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ spec:
3131
serviceAccountName: csi-external-health-monitor-controller
3232
containers:
3333
- name: hostpath
34-
image: k8s.gcr.io/sig-storage/hostpathplugin:v1.6.2
34+
image: k8s.gcr.io/sig-storage/hostpathplugin:v1.7.0
3535
args:
3636
- "--drivername=hostpath.csi.k8s.io"
3737
- "--v=5"

deploy/kubernetes-1.18/hostpath/csi-hostpath-plugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ spec:
218218
serviceAccountName: csi-hostpathplugin-sa
219219
containers:
220220
- name: hostpath
221-
image: k8s.gcr.io/sig-storage/hostpathplugin:v1.6.2
221+
image: k8s.gcr.io/sig-storage/hostpathplugin:v1.7.0
222222
args:
223223
- "--drivername=hostpath.csi.k8s.io"
224224
- "--v=5"

deploy/kubernetes-1.20-test/hostpath/csi-hostpath-plugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ spec:
3131
serviceAccountName: csi-external-health-monitor-controller
3232
containers:
3333
- name: hostpath
34-
image: k8s.gcr.io/sig-storage/hostpathplugin:v1.6.2
34+
image: k8s.gcr.io/sig-storage/hostpathplugin:v1.7.0
3535
args:
3636
- "--drivername=hostpath.csi.k8s.io"
3737
- "--v=5"

deploy/kubernetes-1.20/hostpath/csi-hostpath-plugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ spec:
218218
serviceAccountName: csi-hostpathplugin-sa
219219
containers:
220220
- name: hostpath
221-
image: k8s.gcr.io/sig-storage/hostpathplugin:v1.6.2
221+
image: k8s.gcr.io/sig-storage/hostpathplugin:v1.7.0
222222
args:
223223
- "--drivername=hostpath.csi.k8s.io"
224224
- "--v=5"

deploy/kubernetes-distributed/hostpath/csi-hostpath-plugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ spec:
8585
name: csi-data-dir
8686

8787
- name: hostpath
88-
image: k8s.gcr.io/sig-storage/hostpathplugin:v1.6.2
88+
image: k8s.gcr.io/sig-storage/hostpathplugin:v1.7.0
8989
args:
9090
- --drivername=hostpath.csi.k8s.io
9191
- --v=5

0 commit comments

Comments
 (0)