Skip to content

Commit 4dd883f

Browse files
authored
Merge pull request #2323 from kubernetes-sigs/cut-v1.29.10
doc: cut v1.29.10 release
2 parents 7719474 + a517d4a commit 4dd883f

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

+4472
-62
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ GIT_COMMIT ?= $(shell git rev-parse HEAD)
1717
REGISTRY ?= andyzhangx
1818
REGISTRY_NAME ?= $(shell echo $(REGISTRY) | sed "s/.azurecr.io//g")
1919
IMAGE_NAME ?= azurefile-csi
20-
IMAGE_VERSION ?= v1.29.9
20+
IMAGE_VERSION ?= v1.29.10
2121
# Use a custom version for E2E tests if we are testing in CI
2222
ifdef CI
2323
ifndef PUBLISH

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Disclaimer: Deploying this driver manually is not an officially supported Micros
1515
|Driver Version |Image | supported k8s version |
1616
|----------------|---------------------------------------------------------- |-----------------------|
1717
|master branch |mcr.microsoft.com/k8s/csi/azurefile-csi:latest | 1.21+ |
18-
|v1.29.9 |mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.29.9 | 1.21+ |
18+
|v1.29.10 |mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.29.10 | 1.21+ |
1919
|v1.28.3 |mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.28.3 | 1.21+ |
2020
|v1.27.3 |mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.27.3 | 1.21+ |
2121

charts/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
### install a specific version
1717
```console
1818
helm repo add azurefile-csi-driver https://raw.githubusercontent.com/kubernetes-sigs/azurefile-csi-driver/master/charts
19-
helm install azurefile-csi-driver azurefile-csi-driver/azurefile-csi-driver --namespace kube-system --version v1.29.9
19+
helm install azurefile-csi-driver azurefile-csi-driver/azurefile-csi-driver --namespace kube-system --version v1.29.10
2020
```
2121

2222
### install on RedHat/CentOS

charts/index.yaml

+60-51
Large diffs are not rendered by default.
13.1 KB
Binary file not shown.
-13.1 KB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v1
2-
appVersion: v1.29.9
2+
appVersion: v1.29.10
33
description: Azure File Container Storage Interface (CSI) Storage Plugin
44
name: azurefile-csi-driver
5-
version: v1.29.9
5+
version: v1.29.10

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ image:
22
baseRepo: mcr.microsoft.com
33
azurefile:
44
repository: /oss/kubernetes-csi/azurefile-csi
5-
tag: v1.29.9
5+
tag: v1.29.10
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.29.10
3+
description: Azure File Container Storage Interface (CSI) Storage Plugin
4+
name: azurefile-csi-driver
5+
version: v1.29.10
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="release={{ .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.29.10/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,252 @@
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+
securityContext:
108+
capabilities:
109+
drop:
110+
- ALL
111+
- name: csi-resizer
112+
{{- if hasPrefix "/" .Values.image.csiResizer.repository }}
113+
image: "{{ .Values.image.baseRepo }}{{ .Values.image.csiResizer.repository }}:{{ .Values.image.csiResizer.tag }}"
114+
{{- else }}
115+
image: "{{ .Values.image.csiResizer.repository }}:{{ .Values.image.csiResizer.tag }}"
116+
{{- end }}
117+
args:
118+
- "-csi-address=$(ADDRESS)"
119+
- "-v=2"
120+
- "-leader-election"
121+
- "--leader-election-namespace={{ .Release.Namespace }}"
122+
- '-handle-volume-inuse-error=false'
123+
- '-timeout=120s'
124+
- '-feature-gates=RecoverVolumeExpansionFailure=true'
125+
env:
126+
- name: ADDRESS
127+
value: /csi/csi.sock
128+
imagePullPolicy: {{ .Values.image.csiResizer.pullPolicy }}
129+
volumeMounts:
130+
- name: socket-dir
131+
mountPath: /csi
132+
resources: {{- toYaml .Values.controller.resources.csiResizer | nindent 12 }}
133+
securityContext:
134+
capabilities:
135+
drop:
136+
- ALL
137+
- name: liveness-probe
138+
{{- if hasPrefix "/" .Values.image.livenessProbe.repository }}
139+
image: "{{ .Values.image.baseRepo }}{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}"
140+
{{- else }}
141+
image: "{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}"
142+
{{- end }}
143+
args:
144+
- --csi-address=/csi/csi.sock
145+
- --probe-timeout=3s
146+
{{- if eq .Values.controller.hostNetwork true }}
147+
- --http-endpoint=localhost:{{ .Values.controller.livenessProbe.healthPort }}
148+
{{- else }}
149+
- --health-port={{ .Values.controller.livenessProbe.healthPort }}
150+
{{- end }}
151+
- --v=2
152+
imagePullPolicy: {{ .Values.image.livenessProbe.pullPolicy }}
153+
volumeMounts:
154+
- name: socket-dir
155+
mountPath: /csi
156+
resources: {{- toYaml .Values.controller.resources.livenessProbe | nindent 12 }}
157+
securityContext:
158+
capabilities:
159+
drop:
160+
- ALL
161+
- name: azurefile
162+
{{- if hasPrefix "/" .Values.image.azurefile.repository }}
163+
image: "{{ .Values.image.baseRepo }}{{ .Values.image.azurefile.repository }}:{{ .Values.image.azurefile.tag }}"
164+
{{- else }}
165+
image: "{{ .Values.image.azurefile.repository }}:{{ .Values.image.azurefile.tag }}"
166+
{{- end }}
167+
args:
168+
- "--v={{ .Values.controller.logLevel }}"
169+
- "--endpoint=$(CSI_ENDPOINT)"
170+
- "--metrics-address=0.0.0.0:{{ .Values.controller.metricsPort }}"
171+
- "--kubeconfig={{ .Values.controller.kubeconfig }}"
172+
- "--drivername={{ .Values.driver.name }}"
173+
- "--cloud-config-secret-name={{ .Values.controller.cloudConfigSecretName }}"
174+
- "--cloud-config-secret-namespace={{ .Values.controller.cloudConfigSecretNamespace }}"
175+
- "--custom-user-agent={{ .Values.driver.customUserAgent }}"
176+
- "--user-agent-suffix={{ .Values.driver.userAgentSuffix }}"
177+
- "--allow-empty-cloud-config={{ .Values.controller.allowEmptyCloudConfig }}"
178+
ports:
179+
- containerPort: {{ .Values.controller.metricsPort }}
180+
name: metrics
181+
protocol: TCP
182+
{{- if ne .Values.controller.hostNetwork true }}
183+
- containerPort: {{ .Values.controller.livenessProbe.healthPort }}
184+
name: healthz
185+
protocol: TCP
186+
{{- end }}
187+
livenessProbe:
188+
failureThreshold: 5
189+
httpGet:
190+
path: /healthz
191+
{{- if eq .Values.controller.hostNetwork true }}
192+
host: localhost
193+
port: {{ .Values.controller.livenessProbe.healthPort }}
194+
{{- else }}
195+
port: healthz
196+
{{- end }}
197+
initialDelaySeconds: 30
198+
timeoutSeconds: 10
199+
periodSeconds: 30
200+
env:
201+
- name: AZURE_CREDENTIAL_FILE
202+
valueFrom:
203+
configMapKeyRef:
204+
name: {{ .Values.azureCredentialFileConfigMap }}
205+
key: path
206+
optional: true
207+
- name: CSI_ENDPOINT
208+
value: unix:///csi/csi.sock
209+
{{- if ne .Values.driver.httpsProxy "" }}
210+
- name: HTTPS_PROXY
211+
value: {{ .Values.driver.httpsProxy }}
212+
{{- end }}
213+
{{- if ne .Values.driver.httpProxy "" }}
214+
- name: HTTP_PROXY
215+
value: {{ .Values.driver.httpProxy }}
216+
{{- end }}
217+
- name: AZURE_GO_SDK_LOG_LEVEL
218+
value: {{ .Values.driver.azureGoSDKLogLevel }}
219+
imagePullPolicy: {{ .Values.image.azurefile.pullPolicy }}
220+
volumeMounts:
221+
- mountPath: /csi
222+
name: socket-dir
223+
- mountPath: /etc/kubernetes/
224+
name: azure-cred
225+
{{- if eq .Values.linux.distro "fedora" }}
226+
- name: ssl
227+
mountPath: /etc/ssl/certs
228+
readOnly: true
229+
- name: ssl-pki
230+
mountPath: /etc/pki/ca-trust/extracted
231+
readOnly: true
232+
{{- end }}
233+
resources: {{- toYaml .Values.controller.resources.azurefile | nindent 12 }}
234+
securityContext:
235+
capabilities:
236+
drop:
237+
- ALL
238+
volumes:
239+
- name: socket-dir
240+
emptyDir: {}
241+
- name: azure-cred
242+
hostPath:
243+
path: /etc/kubernetes/
244+
type: DirectoryOrCreate
245+
{{- if eq .Values.linux.distro "fedora" }}
246+
- name: ssl
247+
hostPath:
248+
path: /etc/ssl/certs
249+
- name: ssl-pki
250+
hostPath:
251+
path: /etc/pki/ca-trust/extracted
252+
{{- 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)