Skip to content

Commit 2f33fe6

Browse files
committed
doc: cut v1.30.0 release
1 parent 89a989b commit 2f33fe6

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

+4379
-62
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ Disclaimer: Deploying this driver manually is not an officially supported Micros
1616
|Driver Version |Image | supported k8s version |
1717
|----------------|---------------------------------------------------------- |-----------------------|
1818
|master branch |mcr.microsoft.com/k8s/csi/azurefile-csi:latest | 1.21+ |
19+
|v1.30.0 |mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.30.0 | 1.21+ |
1920
|v1.29.2 |mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.29.2 | 1.21+ |
2021
|v1.28.7 |mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.28.7 | 1.21+ |
21-
|v1.27.3 |mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.27.3 | 1.21+ |
2222

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

charts/index.yaml

+59-50
Large diffs are not rendered by default.
-13 KB
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v1
2-
appVersion: latest
2+
appVersion: v1.30.0
33
description: Azure File Container Storage Interface (CSI) Storage Plugin
44
name: azurefile-csi-driver
5-
version: v0.0.0
5+
version: v1.30.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.30.0
66
pullPolicy: IfNotPresent
77
csiProvisioner:
88
repository: /oss/kubernetes-csi/csi-provisioner
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
apiVersion: v1
2+
appVersion: v1.30.0
3+
description: Azure File Container Storage Interface (CSI) Storage Plugin
4+
name: azurefile-csi-driver
5+
version: v1.30.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.30.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,225 @@
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+
template:
23+
metadata:
24+
labels:
25+
{{- include "azurefile.labels" . | nindent 8 }}
26+
app: {{ .Values.controller.name }}
27+
{{- if .Values.workloadIdentity.clientID }}
28+
azure.workload.identity/use: "true"
29+
{{- end }}
30+
{{- with .Values.controller.podLabels }}
31+
{{ toYaml . | indent 8 }}
32+
{{- end }}
33+
{{- with .Values.controller.podAnnotations }}
34+
annotations:
35+
{{ toYaml . | indent 8 }}
36+
{{- end }}
37+
spec:
38+
hostNetwork: {{ .Values.controller.hostNetwork }}
39+
serviceAccountName: {{ .Values.serviceAccount.controller }}
40+
nodeSelector:
41+
kubernetes.io/os: linux
42+
{{- with .Values.controller.nodeSelector }}
43+
{{ toYaml . | indent 8 }}
44+
{{- end }}
45+
{{- if .Values.controller.runOnMaster}}
46+
node-role.kubernetes.io/master: ""
47+
{{- end}}
48+
{{- if .Values.controller.runOnControlPlane}}
49+
node-role.kubernetes.io/control-plane: ""
50+
{{- end}}
51+
priorityClassName: system-cluster-critical
52+
{{- with .Values.controller.tolerations }}
53+
tolerations:
54+
{{ toYaml . | indent 8 }}
55+
{{- end }}
56+
{{- with .Values.controller.affinity }}
57+
affinity:
58+
{{ toYaml . | indent 8 }}
59+
{{- end }}
60+
{{- if .Values.imagePullSecrets }}
61+
imagePullSecrets:
62+
{{ toYaml .Values.imagePullSecrets | indent 8 }}
63+
{{- end }}
64+
containers:
65+
- name: csi-provisioner
66+
{{- if hasPrefix "/" .Values.image.csiProvisioner.repository }}
67+
image: "{{ .Values.image.baseRepo }}{{ .Values.image.csiProvisioner.repository }}:{{ .Values.image.csiProvisioner.tag }}"
68+
{{- else }}
69+
image: "{{ .Values.image.csiProvisioner.repository }}:{{ .Values.image.csiProvisioner.tag }}"
70+
{{- end }}
71+
args:
72+
- "-v=2"
73+
- "--csi-address=$(ADDRESS)"
74+
- "--leader-election"
75+
- "--leader-election-namespace={{ .Release.Namespace }}"
76+
- "--timeout=1200s"
77+
- "--extra-create-metadata=true"
78+
- "--kube-api-qps=50"
79+
- "--kube-api-burst=100"
80+
- "--feature-gates=HonorPVReclaimPolicy=true"
81+
env:
82+
- name: ADDRESS
83+
value: /csi/csi.sock
84+
imagePullPolicy: {{ .Values.image.csiProvisioner.pullPolicy }}
85+
volumeMounts:
86+
- mountPath: /csi
87+
name: socket-dir
88+
resources: {{- toYaml .Values.controller.resources.csiProvisioner | nindent 12 }}
89+
- name: csi-snapshotter
90+
{{- if hasPrefix "/" .Values.snapshot.image.csiSnapshotter.repository }}
91+
image: "{{ .Values.image.baseRepo }}{{ .Values.snapshot.image.csiSnapshotter.repository }}:{{ .Values.snapshot.image.csiSnapshotter.tag }}"
92+
{{- else }}
93+
image: "{{ .Values.snapshot.image.csiSnapshotter.repository }}:{{ .Values.snapshot.image.csiSnapshotter.tag }}"
94+
{{- end }}
95+
args:
96+
- "-csi-address=$(ADDRESS)"
97+
- "-leader-election"
98+
- "--leader-election-namespace={{ .Release.Namespace }}"
99+
- "-v=2"
100+
env:
101+
- name: ADDRESS
102+
value: /csi/csi.sock
103+
volumeMounts:
104+
- name: socket-dir
105+
mountPath: /csi
106+
resources: {{- toYaml .Values.controller.resources.csiSnapshotter | nindent 12 }}
107+
- name: csi-resizer
108+
{{- if hasPrefix "/" .Values.image.csiResizer.repository }}
109+
image: "{{ .Values.image.baseRepo }}{{ .Values.image.csiResizer.repository }}:{{ .Values.image.csiResizer.tag }}"
110+
{{- else }}
111+
image: "{{ .Values.image.csiResizer.repository }}:{{ .Values.image.csiResizer.tag }}"
112+
{{- end }}
113+
args:
114+
- "-csi-address=$(ADDRESS)"
115+
- "-v=2"
116+
- "-leader-election"
117+
- "--leader-election-namespace={{ .Release.Namespace }}"
118+
- '-handle-volume-inuse-error=false'
119+
- '-timeout=120s'
120+
- '-feature-gates=RecoverVolumeExpansionFailure=true'
121+
env:
122+
- name: ADDRESS
123+
value: /csi/csi.sock
124+
imagePullPolicy: {{ .Values.image.csiResizer.pullPolicy }}
125+
volumeMounts:
126+
- name: socket-dir
127+
mountPath: /csi
128+
resources: {{- toYaml .Values.controller.resources.csiResizer | nindent 12 }}
129+
- name: liveness-probe
130+
{{- if hasPrefix "/" .Values.image.livenessProbe.repository }}
131+
image: "{{ .Values.image.baseRepo }}{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}"
132+
{{- else }}
133+
image: "{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}"
134+
{{- end }}
135+
args:
136+
- --csi-address=/csi/csi.sock
137+
- --probe-timeout=3s
138+
- --health-port={{ .Values.controller.livenessProbe.healthPort }}
139+
- --v=2
140+
imagePullPolicy: {{ .Values.image.livenessProbe.pullPolicy }}
141+
volumeMounts:
142+
- name: socket-dir
143+
mountPath: /csi
144+
resources: {{- toYaml .Values.controller.resources.livenessProbe | nindent 12 }}
145+
- name: azurefile
146+
{{- if hasPrefix "/" .Values.image.azurefile.repository }}
147+
image: "{{ .Values.image.baseRepo }}{{ .Values.image.azurefile.repository }}:{{ .Values.image.azurefile.tag }}"
148+
{{- else }}
149+
image: "{{ .Values.image.azurefile.repository }}:{{ .Values.image.azurefile.tag }}"
150+
{{- end }}
151+
args:
152+
- "--v={{ .Values.controller.logLevel }}"
153+
- "--endpoint=$(CSI_ENDPOINT)"
154+
- "--metrics-address=0.0.0.0:{{ .Values.controller.metricsPort }}"
155+
- "--kubeconfig={{ .Values.controller.kubeconfig }}"
156+
- "--drivername={{ .Values.driver.name }}"
157+
- "--cloud-config-secret-name={{ .Values.controller.cloudConfigSecretName }}"
158+
- "--cloud-config-secret-namespace={{ .Values.controller.cloudConfigSecretNamespace }}"
159+
- "--custom-user-agent={{ .Values.driver.customUserAgent }}"
160+
- "--user-agent-suffix={{ .Values.driver.userAgentSuffix }}"
161+
- "--allow-empty-cloud-config={{ .Values.controller.allowEmptyCloudConfig }}"
162+
ports:
163+
- containerPort: {{ .Values.controller.livenessProbe.healthPort }}
164+
name: healthz
165+
protocol: TCP
166+
- containerPort: {{ .Values.controller.metricsPort }}
167+
name: metrics
168+
protocol: TCP
169+
livenessProbe:
170+
failureThreshold: 5
171+
httpGet:
172+
path: /healthz
173+
port: healthz
174+
initialDelaySeconds: 30
175+
timeoutSeconds: 10
176+
periodSeconds: 30
177+
env:
178+
- name: AZURE_CREDENTIAL_FILE
179+
valueFrom:
180+
configMapKeyRef:
181+
name: {{ .Values.azureCredentialFileConfigMap }}
182+
key: path
183+
optional: true
184+
- name: CSI_ENDPOINT
185+
value: unix:///csi/csi.sock
186+
{{- if ne .Values.driver.httpsProxy "" }}
187+
- name: HTTPS_PROXY
188+
value: {{ .Values.driver.httpsProxy }}
189+
{{- end }}
190+
{{- if ne .Values.driver.httpProxy "" }}
191+
- name: HTTP_PROXY
192+
value: {{ .Values.driver.httpProxy }}
193+
{{- end }}
194+
- name: AZURE_GO_SDK_LOG_LEVEL
195+
value: {{ .Values.driver.azureGoSDKLogLevel }}
196+
imagePullPolicy: {{ .Values.image.azurefile.pullPolicy }}
197+
volumeMounts:
198+
- mountPath: /csi
199+
name: socket-dir
200+
- mountPath: /etc/kubernetes/
201+
name: azure-cred
202+
{{- if eq .Values.linux.distro "fedora" }}
203+
- name: ssl
204+
mountPath: /etc/ssl/certs
205+
readOnly: true
206+
- name: ssl-pki
207+
mountPath: /etc/pki/ca-trust/extracted
208+
readOnly: true
209+
{{- end }}
210+
resources: {{- toYaml .Values.controller.resources.azurefile | nindent 12 }}
211+
volumes:
212+
- name: socket-dir
213+
emptyDir: {}
214+
- name: azure-cred
215+
hostPath:
216+
path: /etc/kubernetes/
217+
type: DirectoryOrCreate
218+
{{- if eq .Values.linux.distro "fedora" }}
219+
- name: ssl
220+
hostPath:
221+
path: /etc/ssl/certs
222+
- name: ssl-pki
223+
hostPath:
224+
path: /etc/pki/ca-trust/extracted
225+
{{- 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)