Skip to content

Commit

Permalink
Merge pull request #725 from andyzhangx/cut-v1.14.0
Browse files Browse the repository at this point in the history
doc: cut v1.14.0 release
  • Loading branch information
andyzhangx authored Jan 17, 2024
2 parents 3e45834 + 6d95d70 commit 1aaea30
Show file tree
Hide file tree
Showing 22 changed files with 1,354 additions and 26 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,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.14.0 | 1.21+ | v0.2.2+ |
|v1.13.0 | 1.21+ | v0.2.2+ |
|v1.12.0 | 1.21+ | v0.2.2+ |
|v1.11.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.13.0
helm install csi-driver-smb csi-driver-smb/csi-driver-smb --namespace kube-system --version v1.14.0
```

### install driver with customized driver name, deployment name
Expand Down
55 changes: 32 additions & 23 deletions charts/index.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
apiVersion: v1
entries:
csi-driver-smb:
- apiVersion: v1
appVersion: v1.14.0
created: "2024-01-16T12:54:43.811609006Z"
description: SMB CSI Driver for Kubernetes
digest: 1bf19308976f3093dca354ce5ff9b71b7468dc9af2926aa000d07cf919df12ca
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: "2023-11-09T08:04:13.759660736Z"
created: "2024-01-16T12:54:43.810828295Z"
description: SMB CSI Driver for Kubernetes
digest: f0004d3c68899604b0b7ea8672d45163dd3117d0de5db58a202cf7c602dc0c4c
name: csi-driver-smb
Expand All @@ -12,7 +21,7 @@ entries:
version: v1.13.0
- apiVersion: v1
appVersion: v1.12.0
created: "2023-11-09T08:04:13.759042609Z"
created: "2024-01-16T12:54:43.810073905Z"
description: SMB CSI Driver for Kubernetes
digest: eb1f894fa5ad0c20da3b26a3ad4c20857914c8d76a098fd2185ff068d6118ddd
name: csi-driver-smb
Expand All @@ -21,7 +30,7 @@ entries:
version: v1.12.0
- apiVersion: v1
appVersion: v1.11.0
created: "2023-11-09T08:04:13.7584631Z"
created: "2024-01-16T12:54:43.809348063Z"
description: SMB CSI Driver for Kubernetes
digest: ab3cab9509579264ed95e49a0ad077019a52a45b4e6cc436de5b1f70c03699ed
name: csi-driver-smb
Expand All @@ -30,7 +39,7 @@ entries:
version: v1.11.0
- apiVersion: v1
appVersion: v1.10.0
created: "2023-11-09T08:04:13.757935563Z"
created: "2024-01-16T12:54:43.808707798Z"
description: SMB CSI Driver for Kubernetes
digest: 82e460e6fa80da9ca523a86c28e001e15595d27c3507864f2123dbadc64c7fec
name: csi-driver-smb
Expand All @@ -39,7 +48,7 @@ entries:
version: v1.10.0
- apiVersion: v1
appVersion: v1.9.0
created: "2023-11-09T08:04:13.765262198Z"
created: "2024-01-16T12:54:43.821322235Z"
description: SMB CSI Driver for Kubernetes
digest: 5c78c650b9755e508afecb3f6a554c549509023f7b0610b53853a41783d1c08f
name: csi-driver-smb
Expand All @@ -48,7 +57,7 @@ entries:
version: v1.9.0
- apiVersion: v1
appVersion: v1.8.0
created: "2023-11-09T08:04:13.76423043Z"
created: "2024-01-16T12:54:43.819274745Z"
description: SMB CSI Driver for Kubernetes
digest: d19d156c2143d753085bcbcb32506f8ebd7ebdee275e726f9c8d774a1f0b9f34
name: csi-driver-smb
Expand All @@ -57,7 +66,7 @@ entries:
version: v1.8.0
- apiVersion: v1
appVersion: v1.7.0
created: "2023-11-09T08:04:13.763708535Z"
created: "2024-01-16T12:54:43.818227935Z"
description: SMB CSI Driver for Kubernetes
digest: 65594a1ff09d912a33ee0674bba1fad1f7c717638a281fb68bcfa2c98c288453
name: csi-driver-smb
Expand All @@ -66,7 +75,7 @@ entries:
version: v1.7.0
- apiVersion: v1
appVersion: v1.6.0
created: "2023-11-09T08:04:13.76315578Z"
created: "2024-01-16T12:54:43.817217411Z"
description: SMB CSI Driver for Kubernetes
digest: 31dd4c8b0b0d4a61565631aa5b433b18b5375aeb24812bf4fa9958d5b7917485
name: csi-driver-smb
Expand All @@ -75,7 +84,7 @@ entries:
version: v1.6.0
- apiVersion: v1
appVersion: v1.5.0
created: "2023-11-09T08:04:13.762638268Z"
created: "2024-01-16T12:54:43.816225515Z"
description: SMB CSI Driver for Kubernetes
digest: b7dc9e9dc5d46df12a6d1a5643efe86439bff6c36867968f772e6899692083d6
name: csi-driver-smb
Expand All @@ -84,7 +93,7 @@ entries:
version: v1.5.0
- apiVersion: v1
appVersion: v1.4.0
created: "2023-11-09T08:04:13.762132971Z"
created: "2024-01-16T12:54:43.815093338Z"
description: SMB CSI Driver for Kubernetes
digest: 9b1a6166ab72c09d0eefb448ecc998639b9f6255afb00bfc0ae0a4fdad76f119
name: csi-driver-smb
Expand All @@ -93,7 +102,7 @@ entries:
version: v1.4.0
- apiVersion: v1
appVersion: v1.3.0
created: "2023-11-09T08:04:13.761525882Z"
created: "2024-01-16T12:54:43.81371543Z"
description: SMB CSI Driver for Kubernetes
digest: d2236d36f1cb24139ddf87ea87229369ed856efc42330e656330f6cfa7635858
name: csi-driver-smb
Expand All @@ -102,7 +111,7 @@ entries:
version: v1.3.0
- apiVersion: v1
appVersion: v1.2.0
created: "2023-11-09T08:04:13.760133126Z"
created: "2024-01-16T12:54:43.812252057Z"
description: SMB CSI Driver for Kubernetes
digest: 9d7099165db24d5412c95b298a59cca9b233ab8800d04efd34bb055812390915
name: csi-driver-smb
Expand All @@ -111,7 +120,7 @@ entries:
version: v1.2.0
- apiVersion: v1
appVersion: v1.1.0
created: "2023-11-09T08:04:13.757406601Z"
created: "2024-01-16T12:54:43.808083237Z"
description: SMB CSI Driver for Kubernetes
digest: 5b39613c9104db06815ee2d42fec8507c3bb2038264513449079a4eb5b6530a8
name: csi-driver-smb
Expand All @@ -120,7 +129,7 @@ entries:
version: v1.1.0
- apiVersion: v1
appVersion: v1.0.0
created: "2023-11-09T08:04:13.756929674Z"
created: "2024-01-16T12:54:43.80754826Z"
description: SMB CSI Driver for Kubernetes
digest: 3e4721dd007cc51750f7221be8f66ec7e287c83a8cdcfeb9a71c30f526b06dc4
name: csi-driver-smb
Expand All @@ -129,7 +138,7 @@ entries:
version: v1.0.0
- apiVersion: v1
appVersion: v0.6.0
created: "2023-11-09T08:04:13.756645859Z"
created: "2024-01-16T12:54:43.807213899Z"
description: SMB CSI Driver for Kubernetes
digest: 6fc9d05bc78ca98fb17071b7f5ad05b4c071f2403114d72feae99fb89ca1fc9f
name: csi-driver-smb
Expand All @@ -138,7 +147,7 @@ entries:
version: v0.6.0
- apiVersion: v1
appVersion: v0.5.0
created: "2023-11-09T08:04:13.756383383Z"
created: "2024-01-16T12:54:43.806921348Z"
description: SMB CSI Driver for Kubernetes
digest: 8264c6630806325613234c2d7951c188d073607e6f0f89d781ec32afed04157b
name: csi-driver-smb
Expand All @@ -147,7 +156,7 @@ entries:
version: v0.5.0
- apiVersion: v1
appVersion: v0.4.0
created: "2023-11-09T08:04:13.756103319Z"
created: "2024-01-16T12:54:43.806590172Z"
description: SMB CSI Driver for Kubernetes
digest: fb6d581ba5d4d1d78ca468f6daa4a24c47bb147b74d005d3c394521b4e534a3e
name: csi-driver-smb
Expand All @@ -156,7 +165,7 @@ entries:
version: v0.4.0
- apiVersion: v1
appVersion: v0.3.0
created: "2023-11-09T08:04:13.755821273Z"
created: "2024-01-16T12:54:43.806118278Z"
description: SMB CSI Driver for Kubernetes
digest: ee9e58db6d4a95491e2012c6607126bbff827b9c439e90e9a9798d2a73b0cb22
name: csi-driver-smb
Expand All @@ -165,7 +174,7 @@ entries:
version: v0.3.0
- apiVersion: v1
appVersion: v0.2.0
created: "2023-11-09T08:04:13.755543056Z"
created: "2024-01-16T12:54:43.805678185Z"
description: SMB CSI Driver for Kubernetes
digest: 8d8667106306d78dea9f63e5a3e8ee7ad2b60f86bd625f5968e37ca6a0cad317
name: csi-driver-smb
Expand All @@ -174,7 +183,7 @@ entries:
version: v0.2.0
- apiVersion: v1
appVersion: latest
created: "2023-11-09T08:04:13.764754592Z"
created: "2024-01-16T12:54:43.820298889Z"
description: SMB CSI Driver for Kubernetes
digest: 37a15bd85f6f9f2df20aed317d9baa3774128552488d02c2897d561e67777963
name: csi-driver-smb
Expand All @@ -183,11 +192,11 @@ entries:
version: v0.0.0
- apiVersion: v1
appVersion: latest
created: "2023-11-09T08:04:13.755196364Z"
created: "2024-01-16T12:54:43.805226295Z"
description: SMB CSI Driver for Kubernetes
digest: cdd21517b47d0f56e6325dd1a06f7c3eca8c0ce57492cec983f255e8a1ecce55
digest: b21d8c78fbdf5ae78c5e7d6ae755be6e6f6f997ba7431b81239ca4da7169e9fe
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: "2023-11-09T08:04:13.75423396Z"
generated: "2024-01-16T12:54:43.804124545Z"
Binary file modified charts/latest/csi-driver-smb-v0.0.0.tgz
Binary file not shown.
Binary file added charts/v1.14.0/csi-driver-smb-v1.14.0.tgz
Binary file not shown.
5 changes: 5 additions & 0 deletions charts/v1.14.0/csi-driver-smb/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: v1
appVersion: v1.14.0
description: SMB CSI Driver for Kubernetes
name: csi-driver-smb
version: v1.14.0
5 changes: 5 additions & 0 deletions charts/v1.14.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.14.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.14.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 1aaea30

Please sign in to comment.