Skip to content

Commit 78e7d1f

Browse files
authored
Merge pull request #1946 from kubernetes-sigs/cut-v1.28.11
doc: cut v1.28.11 release
2 parents da2c089 + a23abff commit 78e7d1f

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

+4554
-59
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.28.10
20+
IMAGE_VERSION ?= v1.28.11
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.28.10 |mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.28.10 | 1.21+ |
18+
|v1.28.11 |mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.28.11 | 1.21+ |
1919
|v1.27.0 |mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.27.0 | 1.21+ |
2020
|v1.26.3 |mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.26.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.28.10
19+
helm install azurefile-csi-driver azurefile-csi-driver/azurefile-csi-driver --namespace kube-system --version v1.28.11
2020
```
2121

2222
### install on RedHat/CentOS

charts/index.yaml

+57-48
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.28.10
2+
appVersion: v1.28.11
33
description: Azure File Container Storage Interface (CSI) Storage Plugin
44
name: azurefile-csi-driver
5-
version: v1.28.10
5+
version: v1.28.11

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.28.10
5+
tag: v1.28.11
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.28.11
3+
description: Azure File Container Storage Interface (CSI) Storage Plugin
4+
name: azurefile-csi-driver
5+
version: v1.28.11
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.28.11/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,281 @@
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=300s"
77+
- "--extra-create-metadata=true"
78+
- "--kube-api-qps=50"
79+
- "--kube-api-burst=100"
80+
env:
81+
- name: ADDRESS
82+
value: /csi/csi.sock
83+
imagePullPolicy: {{ .Values.image.csiProvisioner.pullPolicy }}
84+
volumeMounts:
85+
- mountPath: /csi
86+
name: socket-dir
87+
resources: {{- toYaml .Values.controller.resources.csiProvisioner | nindent 12 }}
88+
securityContext:
89+
capabilities:
90+
drop:
91+
- ALL
92+
- name: csi-attacher
93+
{{- if hasPrefix "/" .Values.image.csiAttacher.repository }}
94+
image: "{{ .Values.image.baseRepo }}{{ .Values.image.csiAttacher.repository }}:{{ .Values.image.csiAttacher.tag }}"
95+
{{- else }}
96+
image: "{{ .Values.image.csiAttacher.repository }}:{{ .Values.image.csiAttacher.tag }}"
97+
{{- end }}
98+
args:
99+
- "-v=2"
100+
- "-csi-address=$(ADDRESS)"
101+
- "-timeout=120s"
102+
- "-leader-election"
103+
- "--leader-election-namespace={{ .Release.Namespace }}"
104+
- "--kube-api-qps=50"
105+
- "--kube-api-burst=100"
106+
env:
107+
- name: ADDRESS
108+
value: /csi/csi.sock
109+
imagePullPolicy: {{ .Values.image.csiAttacher.pullPolicy }}
110+
volumeMounts:
111+
- mountPath: /csi
112+
name: socket-dir
113+
resources: {{- toYaml .Values.controller.resources.csiAttacher | nindent 12 }}
114+
securityContext:
115+
capabilities:
116+
drop:
117+
- ALL
118+
- name: csi-snapshotter
119+
{{- if hasPrefix "/" .Values.snapshot.image.csiSnapshotter.repository }}
120+
image: "{{ .Values.image.baseRepo }}{{ .Values.snapshot.image.csiSnapshotter.repository }}:{{ .Values.snapshot.image.csiSnapshotter.tag }}"
121+
{{- else }}
122+
image: "{{ .Values.snapshot.image.csiSnapshotter.repository }}:{{ .Values.snapshot.image.csiSnapshotter.tag }}"
123+
{{- end }}
124+
args:
125+
- "-csi-address=$(ADDRESS)"
126+
- "-leader-election"
127+
- "--leader-election-namespace={{ .Release.Namespace }}"
128+
- "-v=2"
129+
env:
130+
- name: ADDRESS
131+
value: /csi/csi.sock
132+
volumeMounts:
133+
- name: socket-dir
134+
mountPath: /csi
135+
resources: {{- toYaml .Values.controller.resources.csiSnapshotter | nindent 12 }}
136+
securityContext:
137+
capabilities:
138+
drop:
139+
- ALL
140+
- name: csi-resizer
141+
{{- if hasPrefix "/" .Values.image.csiResizer.repository }}
142+
image: "{{ .Values.image.baseRepo }}{{ .Values.image.csiResizer.repository }}:{{ .Values.image.csiResizer.tag }}"
143+
{{- else }}
144+
image: "{{ .Values.image.csiResizer.repository }}:{{ .Values.image.csiResizer.tag }}"
145+
{{- end }}
146+
args:
147+
- "-csi-address=$(ADDRESS)"
148+
- "-v=2"
149+
- "-leader-election"
150+
- "--leader-election-namespace={{ .Release.Namespace }}"
151+
- '-handle-volume-inuse-error=false'
152+
- '-timeout=120s'
153+
- '-feature-gates=RecoverVolumeExpansionFailure=true'
154+
env:
155+
- name: ADDRESS
156+
value: /csi/csi.sock
157+
imagePullPolicy: {{ .Values.image.csiResizer.pullPolicy }}
158+
volumeMounts:
159+
- name: socket-dir
160+
mountPath: /csi
161+
resources: {{- toYaml .Values.controller.resources.csiResizer | nindent 12 }}
162+
securityContext:
163+
capabilities:
164+
drop:
165+
- ALL
166+
- name: liveness-probe
167+
{{- if hasPrefix "/" .Values.image.livenessProbe.repository }}
168+
image: "{{ .Values.image.baseRepo }}{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}"
169+
{{- else }}
170+
image: "{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}"
171+
{{- end }}
172+
args:
173+
- --csi-address=/csi/csi.sock
174+
- --probe-timeout=3s
175+
{{- if eq .Values.controller.hostNetwork true }}
176+
- --http-endpoint=localhost:{{ .Values.controller.livenessProbe.healthPort }}
177+
{{- else }}
178+
- --health-port={{ .Values.controller.livenessProbe.healthPort }}
179+
{{- end }}
180+
- --v=2
181+
imagePullPolicy: {{ .Values.image.livenessProbe.pullPolicy }}
182+
volumeMounts:
183+
- name: socket-dir
184+
mountPath: /csi
185+
resources: {{- toYaml .Values.controller.resources.livenessProbe | nindent 12 }}
186+
securityContext:
187+
capabilities:
188+
drop:
189+
- ALL
190+
- name: azurefile
191+
{{- if hasPrefix "/" .Values.image.azurefile.repository }}
192+
image: "{{ .Values.image.baseRepo }}{{ .Values.image.azurefile.repository }}:{{ .Values.image.azurefile.tag }}"
193+
{{- else }}
194+
image: "{{ .Values.image.azurefile.repository }}:{{ .Values.image.azurefile.tag }}"
195+
{{- end }}
196+
args:
197+
- "--v={{ .Values.controller.logLevel }}"
198+
- "--endpoint=$(CSI_ENDPOINT)"
199+
- "--metrics-address=0.0.0.0:{{ .Values.controller.metricsPort }}"
200+
- "--kubeconfig={{ .Values.controller.kubeconfig }}"
201+
- "--drivername={{ .Values.driver.name }}"
202+
- "--cloud-config-secret-name={{ .Values.controller.cloudConfigSecretName }}"
203+
- "--cloud-config-secret-namespace={{ .Values.controller.cloudConfigSecretNamespace }}"
204+
- "--custom-user-agent={{ .Values.driver.customUserAgent }}"
205+
- "--user-agent-suffix={{ .Values.driver.userAgentSuffix }}"
206+
- "--allow-empty-cloud-config={{ .Values.controller.allowEmptyCloudConfig }}"
207+
ports:
208+
- containerPort: {{ .Values.controller.metricsPort }}
209+
name: metrics
210+
protocol: TCP
211+
{{- if ne .Values.controller.hostNetwork true }}
212+
- containerPort: {{ .Values.controller.livenessProbe.healthPort }}
213+
name: healthz
214+
protocol: TCP
215+
{{- end }}
216+
livenessProbe:
217+
failureThreshold: 5
218+
httpGet:
219+
path: /healthz
220+
{{- if eq .Values.controller.hostNetwork true }}
221+
host: localhost
222+
port: {{ .Values.controller.livenessProbe.healthPort }}
223+
{{- else }}
224+
port: healthz
225+
{{- end }}
226+
initialDelaySeconds: 30
227+
timeoutSeconds: 10
228+
periodSeconds: 30
229+
env:
230+
- name: AZURE_CREDENTIAL_FILE
231+
valueFrom:
232+
configMapKeyRef:
233+
name: azure-cred-file
234+
key: path
235+
optional: true
236+
- name: CSI_ENDPOINT
237+
value: unix:///csi/csi.sock
238+
{{- if ne .Values.driver.httpsProxy "" }}
239+
- name: HTTPS_PROXY
240+
value: {{ .Values.driver.httpsProxy }}
241+
{{- end }}
242+
{{- if ne .Values.driver.httpProxy "" }}
243+
- name: HTTP_PROXY
244+
value: {{ .Values.driver.httpProxy }}
245+
{{- end }}
246+
- name: AZURE_GO_SDK_LOG_LEVEL
247+
value: {{ .Values.driver.azureGoSDKLogLevel }}
248+
imagePullPolicy: {{ .Values.image.azurefile.pullPolicy }}
249+
volumeMounts:
250+
- mountPath: /csi
251+
name: socket-dir
252+
- mountPath: /etc/kubernetes/
253+
name: azure-cred
254+
{{- if eq .Values.linux.distro "fedora" }}
255+
- name: ssl
256+
mountPath: /etc/ssl/certs
257+
readOnly: true
258+
- name: ssl-pki
259+
mountPath: /etc/pki/ca-trust/extracted
260+
readOnly: true
261+
{{- end }}
262+
resources: {{- toYaml .Values.controller.resources.azurefile | nindent 12 }}
263+
securityContext:
264+
capabilities:
265+
drop:
266+
- ALL
267+
volumes:
268+
- name: socket-dir
269+
emptyDir: {}
270+
- name: azure-cred
271+
hostPath:
272+
path: /etc/kubernetes/
273+
type: DirectoryOrCreate
274+
{{- if eq .Values.linux.distro "fedora" }}
275+
- name: ssl
276+
hostPath:
277+
path: /etc/ssl/certs
278+
- name: ssl-pki
279+
hostPath:
280+
path: /etc/pki/ca-trust/extracted
281+
{{- end }}

0 commit comments

Comments
 (0)