Skip to content

Commit

Permalink
Merge pull request #710 from andyzhangx/cut-v4.8.0
Browse files Browse the repository at this point in the history
doc: cut v4.8.0 release
  • Loading branch information
andyzhangx authored Jul 18, 2024
2 parents cde07bd + a84a17f commit a3ffafe
Show file tree
Hide file tree
Showing 29 changed files with 3,147 additions and 23 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ include release-tools/build.make

GIT_COMMIT = $(shell git rev-parse HEAD)
BUILD_DATE = $(shell date -u +"%Y-%m-%dT%H:%M:%SZ")
IMAGE_VERSION ?= v4.7.0
IMAGE_VERSION ?= v4.8.0
LDFLAGS = -X ${PKG}/pkg/nfs.driverVersion=${IMAGE_VERSION} -X ${PKG}/pkg/nfs.gitCommit=${GIT_COMMIT} -X ${PKG}/pkg/nfs.buildDate=${BUILD_DATE}
EXT_LDFLAGS = -s -w -extldflags "-static"
# Use a custom version for E2E tests if we are testing in CI
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ This is a repository for [NFS](https://en.wikipedia.org/wiki/Network_File_System
|driver version | supported k8s version | status |
|----------------|-----------------------|--------|
|master branch | 1.21+ | GA |
|v4.8.0 | 1.21+ | GA |
|v4.7.0 | 1.21+ | GA |
|v4.6.0 | 1.21+ | GA |
|v4.5.0 | 1.21+ | GA |

### Install driver on a Kubernetes cluster
> [install NFS CSI driver on microk8s](https://microk8s.io/docs/how-to-nfs)
Expand Down
2 changes: 1 addition & 1 deletion charts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
### install a specific version
```console
helm repo add csi-driver-nfs https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts
helm install csi-driver-nfs csi-driver-nfs/csi-driver-nfs --namespace kube-system --version v4.7.0
helm install csi-driver-nfs csi-driver-nfs/csi-driver-nfs --namespace kube-system --version v4.8.0
```

### install driver with customized driver name, deployment name
Expand Down
47 changes: 28 additions & 19 deletions charts/index.yaml
Original file line number Diff line number Diff line change
@@ -1,54 +1,63 @@
apiVersion: v1
entries:
csi-driver-nfs:
- apiVersion: v1
appVersion: v4.8.0
created: "2024-07-18T07:10:05.767275265Z"
description: CSI NFS Driver for Kubernetes
digest: 9e7365d0d6d3f09901d46d753a4d2ad91ebeae36803b5c470b737c0a87e40ddb
name: csi-driver-nfs
urls:
- https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts/v4.8.0/csi-driver-nfs-v4.8.0.tgz
version: v4.8.0
- apiVersion: v1
appVersion: v4.7.0
created: "2024-05-04T07:52:10.41923332Z"
created: "2024-07-18T07:10:05.766534539Z"
description: CSI NFS Driver for Kubernetes
digest: 9e87ca638633ab55d8f5a1a7a81d3888f712b02628a9817fcbb898750b94346a
digest: 1a51c5d4f3a8f75ff9d49605a960a7974f5a7accb1bb18dd21b52f3bd54cdb18
name: csi-driver-nfs
urls:
- https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts/v4.7.0/csi-driver-nfs-v4.7.0.tgz
version: v4.7.0
- apiVersion: v1
appVersion: v4.6.0
created: "2024-05-04T07:52:10.41839672Z"
created: "2024-07-18T07:10:05.765793919Z"
description: CSI NFS Driver for Kubernetes
digest: fc252e16ce6c27a5090b73f4d4368674c768b48c289eea5904f5369082d8cab3
digest: 87db7b8fcf570cb2dc03fb99a240aa602ae042839f9afaf3f3dcab45ac5bf1fc
name: csi-driver-nfs
urls:
- https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts/v4.6.0/csi-driver-nfs-v4.6.0.tgz
version: v4.6.0
- apiVersion: v1
appVersion: v4.5.0
created: "2024-05-04T07:52:10.416791983Z"
created: "2024-07-18T07:10:05.765004942Z"
description: CSI NFS Driver for Kubernetes
digest: 26af231cea7696104e87749bd74664404e32885e7a5a9e6fa81c19c4ec0c31fc
digest: 88859da0add70d12f5f42491a7476c06571e98c812812554890f886c93c2ccdf
name: csi-driver-nfs
urls:
- https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts/v4.5.0/csi-driver-nfs-v4.5.0.tgz
version: v4.5.0
- apiVersion: v1
appVersion: v4.4.0
created: "2024-05-04T07:52:10.41597809Z"
created: "2024-07-18T07:10:05.763699536Z"
description: CSI NFS Driver for Kubernetes
digest: 7fba8cbfc47036a0fddadad00ee291c625e359fe1483ef37b57fd09d157c80dd
digest: 0622c3175268ca4ee38d16d94d6d7d475e5099dde38e2dcbeb3c69e978a4371b
name: csi-driver-nfs
urls:
- https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts/v4.4.0/csi-driver-nfs-v4.4.0.tgz
version: v4.4.0
- apiVersion: v1
appVersion: v4.3.0
created: "2024-05-04T07:52:10.415277659Z"
created: "2024-07-18T07:10:05.762713485Z"
description: CSI NFS Driver for Kubernetes
digest: 1aef5dec52a6c433dbed2e361bed0ab1fdd6792f845eccb99b7dc7f193c2a71e
digest: 36b65d799c79e1b46936828fee7518e2540a62ea532f8a4abf754dd3432d30c9
name: csi-driver-nfs
urls:
- https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts/v4.3.0/csi-driver-nfs-v4.3.0.tgz
version: v4.3.0
- apiVersion: v1
appVersion: v4.2.0
created: "2024-05-04T07:52:10.414529394Z"
created: "2024-07-18T07:10:05.7620348Z"
description: CSI NFS Driver for Kubernetes
digest: e702f6c9be35f2649f5736ca5fcdc40ab1c6a235f41e7fb2472d208e8a5ebf47
name: csi-driver-nfs
Expand All @@ -57,7 +66,7 @@ entries:
version: v4.2.0
- apiVersion: v1
appVersion: v4.1.0
created: "2024-05-04T07:52:10.414063522Z"
created: "2024-07-18T07:10:05.76159226Z"
description: CSI NFS Driver for Kubernetes
digest: b2baa2f129976cf2981c8873290aac509aa3c5937ffc319fbf69fbe3271c23eb
name: csi-driver-nfs
Expand All @@ -66,7 +75,7 @@ entries:
version: v4.1.0
- apiVersion: v1
appVersion: v4.0.0
created: "2024-05-04T07:52:10.413618736Z"
created: "2024-07-18T07:10:05.761152356Z"
description: CSI NFS Driver for Kubernetes
digest: 3145fd12225a639908b14675c8ae1f272bc0e57ffa2895b6f17411486a24229d
name: csi-driver-nfs
Expand All @@ -75,7 +84,7 @@ entries:
version: v4.0.0
- apiVersion: v1
appVersion: v3.1.0
created: "2024-05-04T07:52:10.413183476Z"
created: "2024-07-18T07:10:05.760688174Z"
description: CSI NFS Driver for Kubernetes
digest: 7e51bb9188b013195cafc265102fa365de9ec5513780e1dfc5363289f811a4d9
name: csi-driver-nfs
Expand All @@ -84,7 +93,7 @@ entries:
version: v3.1.0
- apiVersion: v1
appVersion: v3.0.0
created: "2024-05-04T07:52:10.412773905Z"
created: "2024-07-18T07:10:05.760264006Z"
description: CSI NFS Driver for Kubernetes
digest: 44406231cd5cdada1c62a0541b93b4f5d5a70ccc8c50b33553a8692fe6cfae96
name: csi-driver-nfs
Expand All @@ -93,7 +102,7 @@ entries:
version: v3.0.0
- apiVersion: v1
appVersion: v2.0.0
created: "2024-05-04T07:52:10.412366016Z"
created: "2024-07-18T07:10:05.759849461Z"
description: CSI NFS Driver for Kubernetes
digest: 1a32c6fc016526fe19a0c9e0dfbe83d0ddde67ced533bb5f5d24d713f706c613
name: csi-driver-nfs
Expand All @@ -102,11 +111,11 @@ entries:
version: v2.0.0
- apiVersion: v1
appVersion: latest
created: "2024-05-04T07:52:10.412128236Z"
created: "2024-07-18T07:10:05.759620108Z"
description: CSI NFS Driver for Kubernetes
digest: 70e0ebd32f024eed91438aecf7df61a994c4037851ba66483a9e2eab29c7168e
digest: 82fe0c2e805eacd5c2ec3a514ecbd3655eb582725efe70128272816bafbe685a
name: csi-driver-nfs
urls:
- https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts/latest/csi-driver-nfs-v0.0.0.tgz
version: v0.0.0
generated: "2024-05-04T07:52:10.411193534Z"
generated: "2024-07-18T07:10:05.758679537Z"
Binary file modified charts/latest/csi-driver-nfs-v0.0.0.tgz
Binary file not shown.
Binary file added charts/v4.8.0/csi-driver-nfs-v4.8.0.tgz
Binary file not shown.
22 changes: 22 additions & 0 deletions charts/v4.8.0/csi-driver-nfs/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
5 changes: 5 additions & 0 deletions charts/v4.8.0/csi-driver-nfs/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: v1
appVersion: v4.8.0
description: CSI NFS Driver for Kubernetes
name: csi-driver-nfs
version: v4.8.0
5 changes: 5 additions & 0 deletions charts/v4.8.0/csi-driver-nfs/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
The CSI NFS Driver is getting deployed to your cluster.

To check CSI NFS Driver pods status, please run:

kubectl --namespace={{ .Release.Namespace }} get pods --selector="app.kubernetes.io/instance={{ .Release.Name }}" --watch
19 changes: 19 additions & 0 deletions charts/v4.8.0/csi-driver-nfs/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{{/* vim: set filetype=mustache: */}}

{{/* Expand the name of the chart.*/}}
{{- define "nfs.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}

{{/* labels for helm resources */}}
{{- define "nfs.labels" -}}
labels:
app.kubernetes.io/instance: "{{ .Release.Name }}"
app.kubernetes.io/managed-by: "{{ .Release.Service }}"
app.kubernetes.io/name: "{{ template "nfs.name" . }}"
app.kubernetes.io/version: "{{ .Chart.AppVersion }}"
helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
{{- if .Values.customLabels }}
{{ toYaml .Values.customLabels | indent 2 -}}
{{- end }}
{{- end -}}
Loading

0 comments on commit a3ffafe

Please sign in to comment.