Skip to content

Commit

Permalink
Merge pull request #803 from andyzhangx/cut-v1.15.0-2
Browse files Browse the repository at this point in the history
doc: cut v1.15.0 release
  • Loading branch information
andyzhangx authored Jul 18, 2024
2 parents 6b93d12 + c3e36cc commit ea7b175
Show file tree
Hide file tree
Showing 23 changed files with 1,426 additions and 39 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ 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.15.0 | 1.21+ | v0.2.2+ |
|v1.14.0 | 1.21+ | v0.2.2+ |
|v1.13.0 | 1.21+ | v0.2.2+ |

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.14.0
helm install csi-driver-smb csi-driver-smb/csi-driver-smb --namespace kube-system --version v1.15.0
```

### install driver with customized driver name, deployment name
Expand Down
61 changes: 35 additions & 26 deletions charts/index.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,36 @@
apiVersion: v1
entries:
csi-driver-smb:
- apiVersion: v1
appVersion: v1.15.0
created: "2024-07-18T07:01:35.913226539Z"
description: SMB CSI Driver for Kubernetes
digest: fcadda7e1af1bcfbfd42da9f4a02f6baaa96b0b48bafe7241dc4c5a588d9e4b4
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-05-11T03:32:35.244954507Z"
created: "2024-07-18T07:01:35.912556862Z"
description: SMB CSI Driver for Kubernetes
digest: 7a455b3ccc46bf96bdd151190c29875d44a63e138aae1b2283d7864ce169570f
digest: 5d63c8c4824b43ad35f498854be6d24a06e3d7c19a50c57dc5c6de26d7f39850
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-05-11T03:32:35.244367266Z"
created: "2024-07-18T07:01:35.911302429Z"
description: SMB CSI Driver for Kubernetes
digest: f0004d3c68899604b0b7ea8672d45163dd3117d0de5db58a202cf7c602dc0c4c
digest: 962ae1f26a13852e86256464e534228ae6118109aeb1e63abbee07ca18809cff
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-05-11T03:32:35.243790871Z"
created: "2024-07-18T07:01:35.910377602Z"
description: SMB CSI Driver for Kubernetes
digest: eb1f894fa5ad0c20da3b26a3ad4c20857914c8d76a098fd2185ff068d6118ddd
name: csi-driver-smb
Expand All @@ -30,7 +39,7 @@ entries:
version: v1.12.0
- apiVersion: v1
appVersion: v1.11.0
created: "2024-05-11T03:32:35.243215075Z"
created: "2024-07-18T07:01:35.909790622Z"
description: SMB CSI Driver for Kubernetes
digest: ab3cab9509579264ed95e49a0ad077019a52a45b4e6cc436de5b1f70c03699ed
name: csi-driver-smb
Expand All @@ -39,7 +48,7 @@ entries:
version: v1.11.0
- apiVersion: v1
appVersion: v1.10.0
created: "2024-05-11T03:32:35.242672163Z"
created: "2024-07-18T07:01:35.909229141Z"
description: SMB CSI Driver for Kubernetes
digest: 82e460e6fa80da9ca523a86c28e001e15595d27c3507864f2123dbadc64c7fec
name: csi-driver-smb
Expand All @@ -48,7 +57,7 @@ entries:
version: v1.10.0
- apiVersion: v1
appVersion: v1.9.0
created: "2024-05-11T03:32:35.251445708Z"
created: "2024-07-18T07:01:35.917886844Z"
description: SMB CSI Driver for Kubernetes
digest: 5c78c650b9755e508afecb3f6a554c549509023f7b0610b53853a41783d1c08f
name: csi-driver-smb
Expand All @@ -57,7 +66,7 @@ entries:
version: v1.9.0
- apiVersion: v1
appVersion: v1.8.0
created: "2024-05-11T03:32:35.250403579Z"
created: "2024-07-18T07:01:35.916780844Z"
description: SMB CSI Driver for Kubernetes
digest: d19d156c2143d753085bcbcb32506f8ebd7ebdee275e726f9c8d774a1f0b9f34
name: csi-driver-smb
Expand All @@ -66,7 +75,7 @@ entries:
version: v1.8.0
- apiVersion: v1
appVersion: v1.7.0
created: "2024-05-11T03:32:35.249884331Z"
created: "2024-07-18T07:01:35.916262439Z"
description: SMB CSI Driver for Kubernetes
digest: 65594a1ff09d912a33ee0674bba1fad1f7c717638a281fb68bcfa2c98c288453
name: csi-driver-smb
Expand All @@ -75,7 +84,7 @@ entries:
version: v1.7.0
- apiVersion: v1
appVersion: v1.6.0
created: "2024-05-11T03:32:35.249367485Z"
created: "2024-07-18T07:01:35.9157366Z"
description: SMB CSI Driver for Kubernetes
digest: 31dd4c8b0b0d4a61565631aa5b433b18b5375aeb24812bf4fa9958d5b7917485
name: csi-driver-smb
Expand All @@ -84,7 +93,7 @@ entries:
version: v1.6.0
- apiVersion: v1
appVersion: v1.5.0
created: "2024-05-11T03:32:35.248819847Z"
created: "2024-07-18T07:01:35.915194658Z"
description: SMB CSI Driver for Kubernetes
digest: b7dc9e9dc5d46df12a6d1a5643efe86439bff6c36867968f772e6899692083d6
name: csi-driver-smb
Expand All @@ -93,7 +102,7 @@ entries:
version: v1.5.0
- apiVersion: v1
appVersion: v1.4.0
created: "2024-05-11T03:32:35.248321885Z"
created: "2024-07-18T07:01:35.91471083Z"
description: SMB CSI Driver for Kubernetes
digest: 9b1a6166ab72c09d0eefb448ecc998639b9f6255afb00bfc0ae0a4fdad76f119
name: csi-driver-smb
Expand All @@ -102,7 +111,7 @@ entries:
version: v1.4.0
- apiVersion: v1
appVersion: v1.3.0
created: "2024-05-11T03:32:35.247795898Z"
created: "2024-07-18T07:01:35.9142089Z"
description: SMB CSI Driver for Kubernetes
digest: d2236d36f1cb24139ddf87ea87229369ed856efc42330e656330f6cfa7635858
name: csi-driver-smb
Expand All @@ -111,7 +120,7 @@ entries:
version: v1.3.0
- apiVersion: v1
appVersion: v1.2.0
created: "2024-05-11T03:32:35.247242587Z"
created: "2024-07-18T07:01:35.913729165Z"
description: SMB CSI Driver for Kubernetes
digest: 9d7099165db24d5412c95b298a59cca9b233ab8800d04efd34bb055812390915
name: csi-driver-smb
Expand All @@ -120,7 +129,7 @@ entries:
version: v1.2.0
- apiVersion: v1
appVersion: v1.1.0
created: "2024-05-11T03:32:35.242140171Z"
created: "2024-07-18T07:01:35.908645738Z"
description: SMB CSI Driver for Kubernetes
digest: 5b39613c9104db06815ee2d42fec8507c3bb2038264513449079a4eb5b6530a8
name: csi-driver-smb
Expand All @@ -129,7 +138,7 @@ entries:
version: v1.1.0
- apiVersion: v1
appVersion: v1.0.0
created: "2024-05-11T03:32:35.241661563Z"
created: "2024-07-18T07:01:35.90818241Z"
description: SMB CSI Driver for Kubernetes
digest: 3e4721dd007cc51750f7221be8f66ec7e287c83a8cdcfeb9a71c30f526b06dc4
name: csi-driver-smb
Expand All @@ -138,7 +147,7 @@ entries:
version: v1.0.0
- apiVersion: v1
appVersion: v0.6.0
created: "2024-05-11T03:32:35.241377052Z"
created: "2024-07-18T07:01:35.907895082Z"
description: SMB CSI Driver for Kubernetes
digest: 6fc9d05bc78ca98fb17071b7f5ad05b4c071f2403114d72feae99fb89ca1fc9f
name: csi-driver-smb
Expand All @@ -147,7 +156,7 @@ entries:
version: v0.6.0
- apiVersion: v1
appVersion: v0.5.0
created: "2024-05-11T03:32:35.241095547Z"
created: "2024-07-18T07:01:35.907635599Z"
description: SMB CSI Driver for Kubernetes
digest: 8264c6630806325613234c2d7951c188d073607e6f0f89d781ec32afed04157b
name: csi-driver-smb
Expand All @@ -156,7 +165,7 @@ entries:
version: v0.5.0
- apiVersion: v1
appVersion: v0.4.0
created: "2024-05-11T03:32:35.240788375Z"
created: "2024-07-18T07:01:35.9073598Z"
description: SMB CSI Driver for Kubernetes
digest: fb6d581ba5d4d1d78ca468f6daa4a24c47bb147b74d005d3c394521b4e534a3e
name: csi-driver-smb
Expand All @@ -165,7 +174,7 @@ entries:
version: v0.4.0
- apiVersion: v1
appVersion: v0.3.0
created: "2024-05-11T03:32:35.24051303Z"
created: "2024-07-18T07:01:35.90705017Z"
description: SMB CSI Driver for Kubernetes
digest: ee9e58db6d4a95491e2012c6607126bbff827b9c439e90e9a9798d2a73b0cb22
name: csi-driver-smb
Expand All @@ -174,7 +183,7 @@ entries:
version: v0.3.0
- apiVersion: v1
appVersion: v0.2.0
created: "2024-05-11T03:32:35.240251251Z"
created: "2024-07-18T07:01:35.906774642Z"
description: SMB CSI Driver for Kubernetes
digest: 8d8667106306d78dea9f63e5a3e8ee7ad2b60f86bd625f5968e37ca6a0cad317
name: csi-driver-smb
Expand All @@ -183,7 +192,7 @@ entries:
version: v0.2.0
- apiVersion: v1
appVersion: latest
created: "2024-05-11T03:32:35.250930033Z"
created: "2024-07-18T07:01:35.917321375Z"
description: SMB CSI Driver for Kubernetes
digest: 37a15bd85f6f9f2df20aed317d9baa3774128552488d02c2897d561e67777963
name: csi-driver-smb
Expand All @@ -192,11 +201,11 @@ entries:
version: v0.0.0
- apiVersion: v1
appVersion: latest
created: "2024-05-11T03:32:35.239948008Z"
created: "2024-07-18T07:01:35.906489397Z"
description: SMB CSI Driver for Kubernetes
digest: 5391f1a7082e74c33d9009285967eb3390f1c9bdff24219db4be49364ee158a0
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-05-11T03:32:35.239149886Z"
generated: "2024-07-18T07:01:35.905706656Z"
Binary file modified charts/latest/csi-driver-smb-v0.0.0.tgz
Binary file not shown.
Binary file added charts/v1.15.0/csi-driver-smb-v1.15.0.tgz
Binary file not shown.
5 changes: 5 additions & 0 deletions charts/v1.15.0/csi-driver-smb/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: v1
appVersion: v1.15.0
description: SMB CSI Driver for Kubernetes
name: csi-driver-smb
version: v1.15.0
5 changes: 5 additions & 0 deletions charts/v1.15.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.15.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.15.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 ea7b175

Please sign in to comment.