Skip to content

Commit 427b232

Browse files
committed
Merge remote-tracking branch 'k8s/master' into sync-master
Conflicts: go.mod vendor/modules.txt
2 parents e72b106 + 4e53a61 commit 427b232

File tree

3,113 files changed

+374043
-283857
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,113 files changed

+374043
-283857
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
steps:
4040
- name: Set up Go 1.x
41-
uses: actions/setup-go@v4
41+
uses: actions/setup-go@v5
4242
with:
4343
go-version: ^1.18
4444
id: go
@@ -48,7 +48,7 @@ jobs:
4848

4949
# Initializes the CodeQL tools for scanning.
5050
- name: Initialize CodeQL
51-
uses: github/codeql-action/init@v2
51+
uses: github/codeql-action/init@v3
5252
with:
5353
languages: ${{ matrix.language }}
5454
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -63,4 +63,4 @@ jobs:
6363
make all
6464
6565
- name: Perform CodeQL Analysis
66-
uses: github/codeql-action/analyze@v2
66+
uses: github/codeql-action/analyze@v3

.github/workflows/darwin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: macos-latest
99
steps:
1010
- name: Set up Go 1.x
11-
uses: actions/setup-go@v4
11+
uses: actions/setup-go@v5
1212
with:
1313
go-version: ^1.16
1414
id: go

.github/workflows/linux.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212

1313
- name: Set up Go 1.x
14-
uses: actions/setup-go@v4
14+
uses: actions/setup-go@v5
1515
with:
1616
go-version: ^1.17
1717
id: go

.github/workflows/static.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Set up Go 1.x
11-
uses: actions/setup-go@v4
11+
uses: actions/setup-go@v5
1212
with:
1313
go-version: ^1.19
1414
- uses: actions/checkout@master
1515
- name: Run linter
16-
uses: golangci/golangci-lint-action@v3
16+
uses: golangci/golangci-lint-action@v4
1717
with:
18-
version: v1.51
19-
args: -E=gofmt,deadcode,unused,varcheck,ineffassign,revive,misspell,exportloopref,asciicheck,bodyclose,contextcheck --timeout=30m0s
18+
version: v1.54
19+
args: -E=gofmt,unused,ineffassign,revive,misspell,exportloopref,asciicheck,bodyclose,contextcheck --timeout=30m0s
2020
verify-helm:
2121
name: Verify Helm
2222
runs-on: ubuntu-latest

.github/workflows/trivy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
uses: actions/checkout@v4
1414

1515
- name: Install go
16-
uses: actions/setup-go@v4
16+
uses: actions/setup-go@v5
1717
with:
1818
go-version: ^1.19
1919

.github/workflows/windows.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ${{ matrix.platform }}
1212
steps:
1313
- name: Install Go
14-
uses: actions/setup-go@v4
14+
uses: actions/setup-go@v5
1515
with:
1616
go-version: ${{ matrix.go }}
1717
- name: Checkout code

.golangci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
linters-settings:
2+
depguard:
3+
rules:
4+
main:
5+
files:
6+
- $all
7+
- "!$test"
8+
allow:
9+
- $gostd
10+
- k8s.io
11+
- sigs.k8s.io
12+
- github.com

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM registry.k8s.io/build-image/debian-base:bullseye-v1.4.3
15+
FROM registry.k8s.io/build-image/debian-base:bookworm-v1.0.0
1616

1717
ARG ARCH
1818
ARG binary=./bin/${ARCH}/nfsplugin

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ include release-tools/build.make
2727

2828
GIT_COMMIT = $(shell git rev-parse HEAD)
2929
BUILD_DATE = $(shell date -u +"%Y-%m-%dT%H:%M:%SZ")
30-
IMAGE_VERSION ?= v4.4.0
30+
IMAGE_VERSION ?= v4.6.0
3131
LDFLAGS = -X ${PKG}/pkg/nfs.driverVersion=${IMAGE_VERSION} -X ${PKG}/pkg/nfs.gitCommit=${GIT_COMMIT} -X ${PKG}/pkg/nfs.buildDate=${BUILD_DATE}
3232
EXT_LDFLAGS = -s -w -extldflags "-static"
3333
# Use a custom version for E2E tests if we are testing in CI

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# NFS CSI driver for Kubernetes
22
![build status](https://github.com/kubernetes-csi/csi-driver-nfs/actions/workflows/linux.yaml/badge.svg)
33
[![Coverage Status](https://coveralls.io/repos/github/kubernetes-csi/csi-driver-nfs/badge.svg?branch=master)](https://coveralls.io/github/kubernetes-csi/csi-driver-nfs?branch=master)
4+
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/csi-driver-nfs)](https://artifacthub.io/packages/search?repo=csi-driver-nfs)
45

56
### Overview
67

@@ -12,9 +13,9 @@ This is a repository for [NFS](https://en.wikipedia.org/wiki/Network_File_System
1213
|driver version | supported k8s version | status |
1314
|----------------|-----------------------|--------|
1415
|master branch | 1.21+ | GA |
16+
|v4.6.0 | 1.21+ | GA |
17+
|v4.5.0 | 1.21+ | GA |
1518
|v4.4.0 | 1.21+ | GA |
16-
|v4.3.0 | 1.21+ | GA |
17-
|v4.2.0 | 1.21+ | GA |
1819

1920
### Install driver on a Kubernetes cluster
2021
> [install NFS CSI driver on microk8s](https://microk8s.io/docs/nfs)
@@ -27,6 +28,8 @@ Please refer to [`nfs.csi.k8s.io` driver parameters](./docs/driver-parameters.md
2728
### Examples
2829
- [Basic usage](./deploy/example/README.md)
2930
- [fsGroupPolicy](./deploy/example/fsgroup)
31+
- [Snapshot](./deploy/example/snapshot)
32+
- [Volume cloning](./deploy/example/cloning)
3033

3134
### Troubleshooting
3235
- [CSI driver troubleshooting guide](./docs/csi-debug.md)
@@ -36,7 +39,7 @@ Please refer to [development guide](./docs/csi-dev.md)
3639

3740
### View CI Results
3841
- testgrid [sig-storage-csi-nfs](https://testgrid.k8s.io/sig-storage-csi-other) dashboard.
39-
- Driver image build pipeline: [post-csi-driver-nfs-push-images](https://k8s-testgrid.appspot.com/sig-storage-image-build#post-csi-driver-nfs-push-images)
42+
- Driver image build pipeline: [post-csi-driver-nfs-push-images](https://testgrid.k8s.io/sig-storage-image-build#post-csi-driver-nfs-push-images)
4043

4144
### Community, discussion, contribution, and support
4245

0 commit comments

Comments
 (0)