Skip to content

Commit

Permalink
doc: cut v1.16.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhangx committed Sep 1, 2024
1 parent 54c6421 commit 35d5601
Show file tree
Hide file tree
Showing 28 changed files with 1,426 additions and 47 deletions.
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 driver allows Kubernetes to access [SMB](https://wiki.wireshark.org/SMB) se
|Driver Version | supported k8s version | supported [Windows csi-proxy](https://github.com/kubernetes-csi/csi-proxy) version |
|---------------|-----------------------|-------------------------------------|
|master branch | 1.21+ | v0.2.2+ |
|v1.16.0 | 1.21+ | v0.2.2+ |
|v1.15.0 | 1.21+ | v0.2.2+ |
|v1.14.0 | 1.21+ | v0.2.2+ |
|v1.13.0 | 1.21+ | v0.2.2+ |

### Driver parameters
Please refer to `smb.csi.k8s.io` [driver parameters](./docs/driver-parameters.md)
Expand Down
2 changes: 1 addition & 1 deletion charts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

```console
helm repo add csi-driver-smb https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/charts
helm install csi-driver-smb csi-driver-smb/csi-driver-smb --namespace kube-system --version v1.15.0
helm install csi-driver-smb csi-driver-smb/csi-driver-smb --namespace kube-system --version v1.16.0
```

### install driver with customized driver name, deployment name
Expand Down
83 changes: 46 additions & 37 deletions charts/index.yaml
Original file line number Diff line number Diff line change
@@ -1,54 +1,72 @@
apiVersion: v1
entries:
csi-driver-smb:
- apiVersion: v1
appVersion: v1.16.0
created: "2024-09-01T13:38:18.751018927Z"
description: SMB CSI Driver for Kubernetes
digest: 60c6a2c4663c639eb1be8f88b0edcfa7ea4450386bf41e02778fe512db8f3ba0
name: csi-driver-smb
urls:
- https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/charts/latest/csi-driver-smb-v1.16.0.tgz
version: v1.16.0
- apiVersion: v1
appVersion: v1.16.0
created: "2024-09-01T13:38:18.76227771Z"
description: SMB CSI Driver for Kubernetes
digest: 60c6a2c4663c639eb1be8f88b0edcfa7ea4450386bf41e02778fe512db8f3ba0
name: csi-driver-smb
urls:
- https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/charts/v1.16.0/csi-driver-smb-v1.16.0.tgz
version: v1.16.0
- apiVersion: v1
appVersion: v1.15.0
created: "2024-07-18T07:01:35.913226539Z"
created: "2024-09-01T13:38:18.761689813Z"
description: SMB CSI Driver for Kubernetes
digest: fcadda7e1af1bcfbfd42da9f4a02f6baaa96b0b48bafe7241dc4c5a588d9e4b4
digest: 1f006480427f88f781c3f7b3cf5e3d0429c68bb082a6a9337363ea5ef5a5cd0b
name: csi-driver-smb
urls:
- https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/charts/v1.15.0/csi-driver-smb-v1.15.0.tgz
version: v1.15.0
- apiVersion: v1
appVersion: v1.14.0
created: "2024-07-18T07:01:35.912556862Z"
created: "2024-09-01T13:38:18.760822176Z"
description: SMB CSI Driver for Kubernetes
digest: 5d63c8c4824b43ad35f498854be6d24a06e3d7c19a50c57dc5c6de26d7f39850
digest: a84e22518f5e6cd1d3fcb06ef8c7616371c96400e8db6227bc84cd0474f6cce1
name: csi-driver-smb
urls:
- https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/charts/v1.14.0/csi-driver-smb-v1.14.0.tgz
version: v1.14.0
- apiVersion: v1
appVersion: v1.13.0
created: "2024-07-18T07:01:35.911302429Z"
created: "2024-09-01T13:38:18.758680643Z"
description: SMB CSI Driver for Kubernetes
digest: 962ae1f26a13852e86256464e534228ae6118109aeb1e63abbee07ca18809cff
digest: 21ee866afbf5a59892c5588b00518e0f7853beac7643e8e558d440a260c6f142
name: csi-driver-smb
urls:
- https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/charts/v1.13.0/csi-driver-smb-v1.13.0.tgz
version: v1.13.0
- apiVersion: v1
appVersion: v1.12.0
created: "2024-07-18T07:01:35.910377602Z"
created: "2024-09-01T13:38:18.757527292Z"
description: SMB CSI Driver for Kubernetes
digest: eb1f894fa5ad0c20da3b26a3ad4c20857914c8d76a098fd2185ff068d6118ddd
digest: fccc852a3e723b9d273ea21d1d59697a0a94b65665406de1fd7c461bd894d2a3
name: csi-driver-smb
urls:
- https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/charts/v1.12.0/csi-driver-smb-v1.12.0.tgz
version: v1.12.0
- apiVersion: v1
appVersion: v1.11.0
created: "2024-07-18T07:01:35.909790622Z"
created: "2024-09-01T13:38:18.756676418Z"
description: SMB CSI Driver for Kubernetes
digest: ab3cab9509579264ed95e49a0ad077019a52a45b4e6cc436de5b1f70c03699ed
digest: 1c0f9b72801cbeb240d06dfe665a58e4b6ac0c25c5315ee5b9fe7972362796d0
name: csi-driver-smb
urls:
- https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/charts/v1.11.0/csi-driver-smb-v1.11.0.tgz
version: v1.11.0
- apiVersion: v1
appVersion: v1.10.0
created: "2024-07-18T07:01:35.909229141Z"
created: "2024-09-01T13:38:18.755908113Z"
description: SMB CSI Driver for Kubernetes
digest: 82e460e6fa80da9ca523a86c28e001e15595d27c3507864f2123dbadc64c7fec
name: csi-driver-smb
Expand All @@ -57,7 +75,7 @@ entries:
version: v1.10.0
- apiVersion: v1
appVersion: v1.9.0
created: "2024-07-18T07:01:35.917886844Z"
created: "2024-09-01T13:38:18.770960453Z"
description: SMB CSI Driver for Kubernetes
digest: 5c78c650b9755e508afecb3f6a554c549509023f7b0610b53853a41783d1c08f
name: csi-driver-smb
Expand All @@ -66,7 +84,7 @@ entries:
version: v1.9.0
- apiVersion: v1
appVersion: v1.8.0
created: "2024-07-18T07:01:35.916780844Z"
created: "2024-09-01T13:38:18.767677819Z"
description: SMB CSI Driver for Kubernetes
digest: d19d156c2143d753085bcbcb32506f8ebd7ebdee275e726f9c8d774a1f0b9f34
name: csi-driver-smb
Expand All @@ -75,7 +93,7 @@ entries:
version: v1.8.0
- apiVersion: v1
appVersion: v1.7.0
created: "2024-07-18T07:01:35.916262439Z"
created: "2024-09-01T13:38:18.766821155Z"
description: SMB CSI Driver for Kubernetes
digest: 65594a1ff09d912a33ee0674bba1fad1f7c717638a281fb68bcfa2c98c288453
name: csi-driver-smb
Expand All @@ -84,7 +102,7 @@ entries:
version: v1.7.0
- apiVersion: v1
appVersion: v1.6.0
created: "2024-07-18T07:01:35.9157366Z"
created: "2024-09-01T13:38:18.766033926Z"
description: SMB CSI Driver for Kubernetes
digest: 31dd4c8b0b0d4a61565631aa5b433b18b5375aeb24812bf4fa9958d5b7917485
name: csi-driver-smb
Expand All @@ -93,7 +111,7 @@ entries:
version: v1.6.0
- apiVersion: v1
appVersion: v1.5.0
created: "2024-07-18T07:01:35.915194658Z"
created: "2024-09-01T13:38:18.765235009Z"
description: SMB CSI Driver for Kubernetes
digest: b7dc9e9dc5d46df12a6d1a5643efe86439bff6c36867968f772e6899692083d6
name: csi-driver-smb
Expand All @@ -102,7 +120,7 @@ entries:
version: v1.5.0
- apiVersion: v1
appVersion: v1.4.0
created: "2024-07-18T07:01:35.91471083Z"
created: "2024-09-01T13:38:18.764618377Z"
description: SMB CSI Driver for Kubernetes
digest: 9b1a6166ab72c09d0eefb448ecc998639b9f6255afb00bfc0ae0a4fdad76f119
name: csi-driver-smb
Expand All @@ -111,7 +129,7 @@ entries:
version: v1.4.0
- apiVersion: v1
appVersion: v1.3.0
created: "2024-07-18T07:01:35.9142089Z"
created: "2024-09-01T13:38:18.763827043Z"
description: SMB CSI Driver for Kubernetes
digest: d2236d36f1cb24139ddf87ea87229369ed856efc42330e656330f6cfa7635858
name: csi-driver-smb
Expand All @@ -120,7 +138,7 @@ entries:
version: v1.3.0
- apiVersion: v1
appVersion: v1.2.0
created: "2024-07-18T07:01:35.913729165Z"
created: "2024-09-01T13:38:18.763063358Z"
description: SMB CSI Driver for Kubernetes
digest: 9d7099165db24d5412c95b298a59cca9b233ab8800d04efd34bb055812390915
name: csi-driver-smb
Expand All @@ -129,7 +147,7 @@ entries:
version: v1.2.0
- apiVersion: v1
appVersion: v1.1.0
created: "2024-07-18T07:01:35.908645738Z"
created: "2024-09-01T13:38:18.755025892Z"
description: SMB CSI Driver for Kubernetes
digest: 5b39613c9104db06815ee2d42fec8507c3bb2038264513449079a4eb5b6530a8
name: csi-driver-smb
Expand All @@ -138,7 +156,7 @@ entries:
version: v1.1.0
- apiVersion: v1
appVersion: v1.0.0
created: "2024-07-18T07:01:35.90818241Z"
created: "2024-09-01T13:38:18.754222539Z"
description: SMB CSI Driver for Kubernetes
digest: 3e4721dd007cc51750f7221be8f66ec7e287c83a8cdcfeb9a71c30f526b06dc4
name: csi-driver-smb
Expand All @@ -147,7 +165,7 @@ entries:
version: v1.0.0
- apiVersion: v1
appVersion: v0.6.0
created: "2024-07-18T07:01:35.907895082Z"
created: "2024-09-01T13:38:18.753656885Z"
description: SMB CSI Driver for Kubernetes
digest: 6fc9d05bc78ca98fb17071b7f5ad05b4c071f2403114d72feae99fb89ca1fc9f
name: csi-driver-smb
Expand All @@ -156,7 +174,7 @@ entries:
version: v0.6.0
- apiVersion: v1
appVersion: v0.5.0
created: "2024-07-18T07:01:35.907635599Z"
created: "2024-09-01T13:38:18.753161977Z"
description: SMB CSI Driver for Kubernetes
digest: 8264c6630806325613234c2d7951c188d073607e6f0f89d781ec32afed04157b
name: csi-driver-smb
Expand All @@ -165,7 +183,7 @@ entries:
version: v0.5.0
- apiVersion: v1
appVersion: v0.4.0
created: "2024-07-18T07:01:35.9073598Z"
created: "2024-09-01T13:38:18.752592007Z"
description: SMB CSI Driver for Kubernetes
digest: fb6d581ba5d4d1d78ca468f6daa4a24c47bb147b74d005d3c394521b4e534a3e
name: csi-driver-smb
Expand All @@ -174,7 +192,7 @@ entries:
version: v0.4.0
- apiVersion: v1
appVersion: v0.3.0
created: "2024-07-18T07:01:35.90705017Z"
created: "2024-09-01T13:38:18.752062233Z"
description: SMB CSI Driver for Kubernetes
digest: ee9e58db6d4a95491e2012c6607126bbff827b9c439e90e9a9798d2a73b0cb22
name: csi-driver-smb
Expand All @@ -183,7 +201,7 @@ entries:
version: v0.3.0
- apiVersion: v1
appVersion: v0.2.0
created: "2024-07-18T07:01:35.906774642Z"
created: "2024-09-01T13:38:18.751549685Z"
description: SMB CSI Driver for Kubernetes
digest: 8d8667106306d78dea9f63e5a3e8ee7ad2b60f86bd625f5968e37ca6a0cad317
name: csi-driver-smb
Expand All @@ -192,20 +210,11 @@ entries:
version: v0.2.0
- apiVersion: v1
appVersion: latest
created: "2024-07-18T07:01:35.917321375Z"
created: "2024-09-01T13:38:18.768465572Z"
description: SMB CSI Driver for Kubernetes
digest: 37a15bd85f6f9f2df20aed317d9baa3774128552488d02c2897d561e67777963
name: csi-driver-smb
urls:
- https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/charts/v1.9.0/csi-driver-smb-v0.0.0.tgz
version: v0.0.0
- apiVersion: v1
appVersion: latest
created: "2024-07-18T07:01:35.906489397Z"
description: SMB CSI Driver for Kubernetes
digest: 9f33f890081370cf54c706201a6a549ea9c081a878ffaf8c3a3afc03fb6ab134
name: csi-driver-smb
urls:
- https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/charts/latest/csi-driver-smb-v0.0.0.tgz
version: v0.0.0
generated: "2024-07-18T07:01:35.905706656Z"
generated: "2024-09-01T13:38:18.750259778Z"
Binary file removed charts/latest/csi-driver-smb-v0.0.0.tgz
Binary file not shown.
Binary file added charts/latest/csi-driver-smb-v1.16.0.tgz
Binary file not shown.
4 changes: 2 additions & 2 deletions charts/latest/csi-driver-smb/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v1
appVersion: latest
appVersion: v1.16.0
description: SMB CSI Driver for Kubernetes
name: csi-driver-smb
version: v0.0.0
version: v1.16.0
4 changes: 2 additions & 2 deletions charts/latest/csi-driver-smb/values.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
image:
baseRepo: registry.k8s.io/sig-storage
smb:
repository: gcr.io/k8s-staging-sig-storage/smbplugin
tag: canary
repository: registry.k8s.io/sig-storage/smbplugin
tag: v1.16.0
pullPolicy: IfNotPresent
csiProvisioner:
repository: /csi-provisioner
Expand Down
Binary file added charts/v1.16.0/csi-driver-smb-v1.16.0.tgz
Binary file not shown.
5 changes: 5 additions & 0 deletions charts/v1.16.0/csi-driver-smb/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: v1
appVersion: v1.16.0
description: SMB CSI Driver for Kubernetes
name: csi-driver-smb
version: v1.16.0
5 changes: 5 additions & 0 deletions charts/v1.16.0/csi-driver-smb/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
The CSI SMB Driver is getting deployed to your cluster.

To check CSI SMB Driver pods status, please run:

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

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

{{/* labels for helm resources */}}
{{- define "smb.labels" -}}
labels:
app.kubernetes.io/instance: "{{ .Release.Name }}"
app.kubernetes.io/managed-by: "{{ .Release.Service }}"
app.kubernetes.io/name: "{{ template "smb.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 -}}

{{/* pull secrets for containers */}}
{{- define "smb.pullSecrets" -}}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- range .Values.imagePullSecrets }}
- name: {{ . }}
{{- end }}
{{- end }}
{{- end -}}
48 changes: 48 additions & 0 deletions charts/v1.16.0/csi-driver-smb/templates/csi-proxy-windows.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{{- if .Values.windows.csiproxy.enabled}}
kind: DaemonSet
apiVersion: apps/v1
metadata:
name: {{ .Values.windows.csiproxy.dsName }}
namespace: {{ .Release.Namespace }}
{{ include "smb.labels" . | indent 2 }}
spec:
updateStrategy:
rollingUpdate:
maxUnavailable: {{ .Values.node.maxUnavailable }}
type: RollingUpdate
selector:
matchLabels:
app: {{ .Values.windows.csiproxy.dsName }}
template:
metadata:
{{ include "smb.labels" . | indent 6 }}
app: {{ .Values.windows.csiproxy.dsName }}
spec:
{{- with .Values.windows.csiproxy.tolerations }}
tolerations:
{{ toYaml . | indent 8 }}
{{- end }}
securityContext:
windowsOptions:
hostProcess: true
runAsUserName: {{ .Values.windows.csiproxy.username | quote }}
hostNetwork: true
nodeSelector:
{{- with .Values.windows.csiproxy.nodeSelector }}
{{ toYaml . | indent 8 }}
{{- end }}
{{- with .Values.node.affinity }}
affinity:
{{ toYaml . | indent 8 }}
{{- end }}
priorityClassName: {{ .Values.priorityClassName | quote }}
{{- include "smb.pullSecrets" . | indent 6 }}
containers:
- name: csi-proxy
{{- if hasPrefix "/" .Values.image.csiproxy.repository }}
image: "{{ .Values.image.baseRepo }}{{ .Values.image.csiproxy.repository }}:{{ .Values.image.csiproxy.tag }}"
{{- else }}
image: "{{ .Values.image.csiproxy.repository }}:{{ .Values.image.csiproxy.tag }}"
{{- end }}
imagePullPolicy: {{ .Values.image.csiproxy.pullPolicy }}
{{- end -}}
Loading

0 comments on commit 35d5601

Please sign in to comment.