Skip to content

Commit 7e062cc

Browse files
committed
doc: cut v1.32.0 release
1 parent e5f5156 commit 7e062cc

Some content is hidden

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

41 files changed

+4621
-70
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ Disclaimer: Deploying this driver manually is not an officially supported Micros
1717
|Driver Version |Image | supported k8s version |
1818
|----------------|---------------------------------------------------------- |-----------------------|
1919
|master branch |mcr.microsoft.com/k8s/csi/azurefile-csi:latest | 1.21+ |
20+
|v1.32.0 |mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.32.0 | 1.21+ |
2021
|v1.31.2 |mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.31.2 | 1.21+ |
2122
|v1.30.7 |mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.30.7 | 1.21+ |
22-
|v1.29.10 |mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.29.10 | 1.21+ |
2323

2424
### Driver parameters
2525
Please refer to [driver parameters](./docs/driver-parameters.md)

charts/index.yaml

+67-58
Large diffs are not rendered by default.
13.7 KB
Binary file not shown.
-13.8 KB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v1
2-
appVersion: latest
2+
appVersion: 1.32.0
33
description: Azure File Container Storage Interface (CSI) Storage Plugin
44
name: azurefile-csi-driver
5-
version: v0.0.0
5+
version: 1.32.0

charts/latest/azurefile-csi-driver/values.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
image:
22
baseRepo: mcr.microsoft.com
33
azurefile:
4-
repository: /k8s/csi/azurefile-csi
5-
tag: latest
4+
repository: /oss/kubernetes-csi/azurefile-csi
5+
tag: v1.32.0
66
pullPolicy: IfNotPresent
77
csiProvisioner:
88
repository: /oss/kubernetes-csi/csi-provisioner
13.7 KB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
apiVersion: v1
2+
appVersion: 1.32.0
3+
description: Azure File Container Storage Interface (CSI) Storage Plugin
4+
name: azurefile-csi-driver
5+
version: 1.32.0
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
The Azure File CSI Driver is getting deployed to your cluster.
2+
3+
To check Azure File CSI Driver pods status, please run:
4+
5+
kubectl --namespace={{ .Release.Namespace }} get pods --selector="app.kubernetes.io/name={{ .Release.Name }}" --watch
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{{/* vim: set filetype=mustache: */}}
2+
3+
{{/* Expand the name of the chart.*/}}
4+
{{- define "azurefile.name" -}}
5+
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
6+
{{- end -}}
7+
8+
{{/*
9+
Create chart name and version as used by the chart label.
10+
*/}}
11+
{{- define "azurefile.chart" -}}
12+
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
13+
{{- end -}}
14+
15+
{{/*
16+
Common selectors.
17+
*/}}
18+
{{- define "azurefile.selectorLabels" -}}
19+
app.kubernetes.io/name: {{ template "azurefile.name" . }}
20+
app.kubernetes.io/instance: {{ .Release.Name }}
21+
{{- end -}}
22+
23+
{{/*
24+
Common labels.
25+
*/}}
26+
{{- define "azurefile.labels" -}}
27+
{{- include "azurefile.selectorLabels" . }}
28+
app.kubernetes.io/component: csi-driver
29+
app.kubernetes.io/part-of: {{ template "azurefile.name" . }}
30+
app.kubernetes.io/managed-by: {{ .Release.Service }}
31+
{{- if .Chart.AppVersion }}
32+
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
33+
{{- end }}
34+
helm.sh/chart: {{ template "azurefile.chart" . }}
35+
{{- if .Values.customLabels }}
36+
{{ toYaml .Values.customLabels }}
37+
{{- end }}
38+
{{- end -}}
39+
40+
41+
{{/* pull secrets for containers */}}
42+
{{- define "azurefile.pullSecrets" -}}
43+
{{- if .Values.imagePullSecrets }}
44+
imagePullSecrets:
45+
{{- range .Values.imagePullSecrets }}
46+
- name: {{ . }}
47+
{{- end }}
48+
{{- end }}
49+
{{- end -}}

charts/v1.32.0/azurefile-csi-driver/templates/crd-csi-snapshot.yaml

+840
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,285 @@
1+
kind: Deployment
2+
apiVersion: apps/v1
3+
metadata:
4+
name: {{ .Values.controller.name }}
5+
namespace: {{ .Release.Namespace }}
6+
labels:
7+
app: {{ .Values.controller.name }}
8+
{{- include "azurefile.labels" . | nindent 4 }}
9+
{{- with .Values.controller.labels }}
10+
{{ . | toYaml | indent 4 }}
11+
{{- end }}
12+
{{- with .Values.controller.annotations }}
13+
annotations:
14+
{{ . | toYaml | indent 4 }}
15+
{{- end }}
16+
spec:
17+
replicas: {{ .Values.controller.replicas }}
18+
selector:
19+
matchLabels:
20+
{{- include "azurefile.selectorLabels" . | nindent 6 }}
21+
app: {{ .Values.controller.name }}
22+
strategy:
23+
type: {{ .Values.controller.strategyType }}
24+
template:
25+
metadata:
26+
labels:
27+
{{- include "azurefile.labels" . | nindent 8 }}
28+
app: {{ .Values.controller.name }}
29+
{{- if .Values.workloadIdentity.clientID }}
30+
azure.workload.identity/use: "true"
31+
{{- end }}
32+
{{- with .Values.controller.podLabels }}
33+
{{ toYaml . | indent 8 }}
34+
{{- end }}
35+
{{- with .Values.controller.podAnnotations }}
36+
annotations:
37+
{{ toYaml . | indent 8 }}
38+
{{- end }}
39+
spec:
40+
hostNetwork: {{ .Values.controller.hostNetwork }}
41+
serviceAccountName: {{ .Values.serviceAccount.controller }}
42+
nodeSelector:
43+
kubernetes.io/os: linux
44+
{{- with .Values.controller.nodeSelector }}
45+
{{ toYaml . | indent 8 }}
46+
{{- end }}
47+
# runOnControlPlane=true or runOnMaster=true only takes effect if affinity is not set
48+
{{- if tpl "{{ .Values.controller.affinity }}" . | contains "nodeSelectorTerms" }}
49+
{{- with .Values.controller.affinity }}
50+
affinity:
51+
{{ toYaml . | indent 8 }}
52+
{{- end }}
53+
{{- else if or .Values.controller.runOnControlPlane .Values.controller.runOnMaster}}
54+
affinity:
55+
nodeAffinity:
56+
requiredDuringSchedulingIgnoredDuringExecution:
57+
nodeSelectorTerms:
58+
- matchExpressions:
59+
{{- if .Values.controller.runOnControlPlane}}
60+
- key: node-role.kubernetes.io/control-plane
61+
operator: Exists
62+
{{- end}}
63+
{{- if .Values.controller.runOnMaster}}
64+
- key: node-role.kubernetes.io/master
65+
operator: Exists
66+
{{- end}}
67+
{{- end }}
68+
priorityClassName: system-cluster-critical
69+
securityContext:
70+
seccompProfile:
71+
type: RuntimeDefault
72+
{{- with .Values.controller.tolerations }}
73+
tolerations:
74+
{{ toYaml . | indent 8 }}
75+
{{- end }}
76+
{{- if .Values.imagePullSecrets }}
77+
imagePullSecrets:
78+
{{ toYaml .Values.imagePullSecrets | indent 8 }}
79+
{{- end }}
80+
containers:
81+
- name: csi-provisioner
82+
{{- if hasPrefix "/" .Values.image.csiProvisioner.repository }}
83+
image: "{{ .Values.image.baseRepo }}{{ .Values.image.csiProvisioner.repository }}:{{ .Values.image.csiProvisioner.tag }}"
84+
{{- else }}
85+
image: "{{ .Values.image.csiProvisioner.repository }}:{{ .Values.image.csiProvisioner.tag }}"
86+
{{- end }}
87+
args:
88+
- "-v=2"
89+
- "--csi-address=$(ADDRESS)"
90+
- "--leader-election"
91+
- "--leader-election-namespace={{ .Release.Namespace }}"
92+
- "--timeout=1200s"
93+
- "--extra-create-metadata=true"
94+
- "--kube-api-qps=50"
95+
- "--kube-api-burst=100"
96+
- "--feature-gates=HonorPVReclaimPolicy=true"
97+
- "--retry-interval-max=30m"
98+
env:
99+
- name: ADDRESS
100+
value: /csi/csi.sock
101+
imagePullPolicy: {{ .Values.image.csiProvisioner.pullPolicy }}
102+
volumeMounts:
103+
- mountPath: /csi
104+
name: socket-dir
105+
resources: {{- toYaml .Values.controller.resources.csiProvisioner | nindent 12 }}
106+
securityContext:
107+
capabilities:
108+
drop:
109+
- ALL
110+
- name: csi-snapshotter
111+
{{- if hasPrefix "/" .Values.snapshot.image.csiSnapshotter.repository }}
112+
image: "{{ .Values.image.baseRepo }}{{ .Values.snapshot.image.csiSnapshotter.repository }}:{{ .Values.snapshot.image.csiSnapshotter.tag }}"
113+
{{- else }}
114+
image: "{{ .Values.snapshot.image.csiSnapshotter.repository }}:{{ .Values.snapshot.image.csiSnapshotter.tag }}"
115+
{{- end }}
116+
args:
117+
- "-csi-address=$(ADDRESS)"
118+
- "-leader-election"
119+
- "--leader-election-namespace={{ .Release.Namespace }}"
120+
- "-v=2"
121+
- "--retry-interval-max=30m"
122+
env:
123+
- name: ADDRESS
124+
value: /csi/csi.sock
125+
volumeMounts:
126+
- name: socket-dir
127+
mountPath: /csi
128+
resources: {{- toYaml .Values.controller.resources.csiSnapshotter | nindent 12 }}
129+
securityContext:
130+
capabilities:
131+
drop:
132+
- ALL
133+
- name: csi-resizer
134+
{{- if hasPrefix "/" .Values.image.csiResizer.repository }}
135+
image: "{{ .Values.image.baseRepo }}{{ .Values.image.csiResizer.repository }}:{{ .Values.image.csiResizer.tag }}"
136+
{{- else }}
137+
image: "{{ .Values.image.csiResizer.repository }}:{{ .Values.image.csiResizer.tag }}"
138+
{{- end }}
139+
args:
140+
- "-csi-address=$(ADDRESS)"
141+
- "-v=2"
142+
- "-leader-election"
143+
- "--leader-election-namespace={{ .Release.Namespace }}"
144+
- '-handle-volume-inuse-error=false'
145+
- '-timeout=120s'
146+
- '-feature-gates=RecoverVolumeExpansionFailure=true'
147+
- "--retry-interval-max=30m"
148+
env:
149+
- name: ADDRESS
150+
value: /csi/csi.sock
151+
imagePullPolicy: {{ .Values.image.csiResizer.pullPolicy }}
152+
volumeMounts:
153+
- name: socket-dir
154+
mountPath: /csi
155+
resources: {{- toYaml .Values.controller.resources.csiResizer | nindent 12 }}
156+
securityContext:
157+
capabilities:
158+
drop:
159+
- ALL
160+
- name: liveness-probe
161+
{{- if hasPrefix "/" .Values.image.livenessProbe.repository }}
162+
image: "{{ .Values.image.baseRepo }}{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}"
163+
{{- else }}
164+
image: "{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}"
165+
{{- end }}
166+
args:
167+
- --csi-address=/csi/csi.sock
168+
- --probe-timeout=3s
169+
{{- if eq .Values.controller.hostNetwork true }}
170+
- --http-endpoint=localhost:{{ .Values.controller.livenessProbe.healthPort }}
171+
{{- else }}
172+
- --health-port={{ .Values.controller.livenessProbe.healthPort }}
173+
{{- end }}
174+
- --v=2
175+
imagePullPolicy: {{ .Values.image.livenessProbe.pullPolicy }}
176+
volumeMounts:
177+
- name: socket-dir
178+
mountPath: /csi
179+
resources: {{- toYaml .Values.controller.resources.livenessProbe | nindent 12 }}
180+
securityContext:
181+
capabilities:
182+
drop:
183+
- ALL
184+
- name: azurefile
185+
{{- if hasPrefix "/" .Values.image.azurefile.repository }}
186+
image: "{{ .Values.image.baseRepo }}{{ .Values.image.azurefile.repository }}:{{ .Values.image.azurefile.tag }}"
187+
{{- else }}
188+
image: "{{ .Values.image.azurefile.repository }}:{{ .Values.image.azurefile.tag }}"
189+
{{- end }}
190+
args:
191+
- "--v={{ .Values.controller.logLevel }}"
192+
- "--endpoint=$(CSI_ENDPOINT)"
193+
- "--metrics-address=0.0.0.0:{{ .Values.controller.metricsPort }}"
194+
- "--kubeconfig={{ .Values.controller.kubeconfig }}"
195+
- "--drivername={{ .Values.driver.name }}"
196+
- "--cloud-config-secret-name={{ .Values.controller.cloudConfigSecretName }}"
197+
- "--cloud-config-secret-namespace={{ .Values.controller.cloudConfigSecretNamespace }}"
198+
- "--custom-user-agent={{ .Values.driver.customUserAgent }}"
199+
- "--user-agent-suffix={{ .Values.driver.userAgentSuffix }}"
200+
- "--allow-empty-cloud-config={{ .Values.controller.allowEmptyCloudConfig }}"
201+
ports:
202+
- containerPort: {{ .Values.controller.metricsPort }}
203+
name: metrics
204+
protocol: TCP
205+
{{- if ne .Values.controller.hostNetwork true }}
206+
- containerPort: {{ .Values.controller.livenessProbe.healthPort }}
207+
name: healthz
208+
protocol: TCP
209+
{{- end }}
210+
livenessProbe:
211+
failureThreshold: 5
212+
httpGet:
213+
path: /healthz
214+
{{- if eq .Values.controller.hostNetwork true }}
215+
host: localhost
216+
port: {{ .Values.controller.livenessProbe.healthPort }}
217+
{{- else }}
218+
port: healthz
219+
{{- end }}
220+
initialDelaySeconds: 30
221+
timeoutSeconds: 10
222+
periodSeconds: 30
223+
env:
224+
- name: AZURE_CREDENTIAL_FILE
225+
valueFrom:
226+
configMapKeyRef:
227+
name: {{ .Values.azureCredentialFileConfigMap }}
228+
key: path
229+
optional: true
230+
- name: CSI_ENDPOINT
231+
value: unix:///csi/csi.sock
232+
{{- if ne .Values.driver.httpsProxy "" }}
233+
- name: HTTPS_PROXY
234+
value: {{ .Values.driver.httpsProxy }}
235+
{{- end }}
236+
{{- if ne .Values.driver.httpProxy "" }}
237+
- name: HTTP_PROXY
238+
value: {{ .Values.driver.httpProxy }}
239+
{{- end }}
240+
- name: AZURE_GO_SDK_LOG_LEVEL
241+
value: {{ .Values.driver.azureGoSDKLogLevel }}
242+
- name: AZCOPY_CONCURRENCY_VALUE
243+
value: "10"
244+
- name: AZCOPY_CONCURRENT_FILES
245+
value: "20"
246+
- name: AZCOPY_BUFFER_GB
247+
value: "1"
248+
imagePullPolicy: {{ .Values.image.azurefile.pullPolicy }}
249+
volumeMounts:
250+
- mountPath: /csi
251+
name: socket-dir
252+
- mountPath: /root/.azcopy
253+
name: azcopy-dir
254+
- mountPath: /etc/kubernetes/
255+
name: azure-cred
256+
{{- if eq .Values.linux.distro "fedora" }}
257+
- name: ssl
258+
mountPath: /etc/ssl/certs
259+
readOnly: true
260+
- name: ssl-pki
261+
mountPath: /etc/pki/ca-trust/extracted
262+
readOnly: true
263+
{{- end }}
264+
resources: {{- toYaml .Values.controller.resources.azurefile | nindent 12 }}
265+
securityContext:
266+
capabilities:
267+
drop:
268+
- ALL
269+
volumes:
270+
- name: socket-dir
271+
emptyDir: {}
272+
- name: azcopy-dir
273+
emptyDir: {}
274+
- name: azure-cred
275+
hostPath:
276+
path: /etc/kubernetes/
277+
type: DirectoryOrCreate
278+
{{- if eq .Values.linux.distro "fedora" }}
279+
- name: ssl
280+
hostPath:
281+
path: /etc/ssl/certs
282+
- name: ssl-pki
283+
hostPath:
284+
path: /etc/pki/ca-trust/extracted
285+
{{- end }}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
apiVersion: storage.k8s.io/v1
3+
kind: CSIDriver
4+
metadata:
5+
name: {{ .Values.driver.name }}
6+
labels:
7+
{{- include "azurefile.labels" . | nindent 4 }}
8+
annotations:
9+
csiDriver: "{{ .Values.image.azurefile.tag }}"
10+
snapshot: "{{ .Values.snapshot.image.csiSnapshotter.tag }}"
11+
spec:
12+
attachRequired: {{ .Values.controller.attachRequired }}
13+
podInfoOnMount: true
14+
volumeLifecycleModes:
15+
- Persistent
16+
- Ephemeral
17+
fsGroupPolicy: {{ .Values.feature.fsGroupPolicy }}
18+
tokenRequests:
19+
- audience: api://AzureADTokenExchange

0 commit comments

Comments
 (0)