Skip to content

Commit 689a63e

Browse files
authored
Merge pull request #1992 from kubernetes-sigs/cut-v1.30.4
doc: cut v1.30.4 release
2 parents d891051 + 95db2f5 commit 689a63e

40 files changed

+4509
-61
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.30.3
20+
IMAGE_VERSION ?= v1.30.4
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
@@ -16,7 +16,7 @@ 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.3 |mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.30.3 | 1.21+ |
19+
|v1.30.4 |mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.30.4 | 1.21+ |
2020
|v1.29.2 |mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.29.2 | 1.21+ |
2121
|v1.28.7 |mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.28.7 | 1.21+ |
2222

charts/index.yaml

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

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.30.3
5+
tag: v1.30.4
66
pullPolicy: IfNotPresent
77
csiProvisioner:
88
repository: /oss/kubernetes-csi/csi-provisioner
13.2 KB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
apiVersion: v1
2+
appVersion: v1.30.4
3+
description: Azure File Container Storage Interface (CSI) Storage Plugin
4+
name: azurefile-csi-driver
5+
version: v1.30.4
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.4/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,258 @@
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+
{{- if .Values.controller.runOnMaster}}
48+
node-role.kubernetes.io/master: ""
49+
{{- end}}
50+
{{- if .Values.controller.runOnControlPlane}}
51+
node-role.kubernetes.io/control-plane: ""
52+
{{- end}}
53+
priorityClassName: system-cluster-critical
54+
{{- with .Values.controller.tolerations }}
55+
tolerations:
56+
{{ toYaml . | indent 8 }}
57+
{{- end }}
58+
{{- with .Values.controller.affinity }}
59+
affinity:
60+
{{ toYaml . | indent 8 }}
61+
{{- end }}
62+
{{- if .Values.imagePullSecrets }}
63+
imagePullSecrets:
64+
{{ toYaml .Values.imagePullSecrets | indent 8 }}
65+
{{- end }}
66+
containers:
67+
- name: csi-provisioner
68+
{{- if hasPrefix "/" .Values.image.csiProvisioner.repository }}
69+
image: "{{ .Values.image.baseRepo }}{{ .Values.image.csiProvisioner.repository }}:{{ .Values.image.csiProvisioner.tag }}"
70+
{{- else }}
71+
image: "{{ .Values.image.csiProvisioner.repository }}:{{ .Values.image.csiProvisioner.tag }}"
72+
{{- end }}
73+
args:
74+
- "-v=2"
75+
- "--csi-address=$(ADDRESS)"
76+
- "--leader-election"
77+
- "--leader-election-namespace={{ .Release.Namespace }}"
78+
- "--timeout=1200s"
79+
- "--extra-create-metadata=true"
80+
- "--kube-api-qps=50"
81+
- "--kube-api-burst=100"
82+
- "--feature-gates=HonorPVReclaimPolicy=true"
83+
env:
84+
- name: ADDRESS
85+
value: /csi/csi.sock
86+
imagePullPolicy: {{ .Values.image.csiProvisioner.pullPolicy }}
87+
volumeMounts:
88+
- mountPath: /csi
89+
name: socket-dir
90+
resources: {{- toYaml .Values.controller.resources.csiProvisioner | nindent 12 }}
91+
- name: csi-snapshotter
92+
{{- if hasPrefix "/" .Values.snapshot.image.csiSnapshotter.repository }}
93+
image: "{{ .Values.image.baseRepo }}{{ .Values.snapshot.image.csiSnapshotter.repository }}:{{ .Values.snapshot.image.csiSnapshotter.tag }}"
94+
{{- else }}
95+
image: "{{ .Values.snapshot.image.csiSnapshotter.repository }}:{{ .Values.snapshot.image.csiSnapshotter.tag }}"
96+
{{- end }}
97+
args:
98+
- "-csi-address=$(ADDRESS)"
99+
- "-leader-election"
100+
- "--leader-election-namespace={{ .Release.Namespace }}"
101+
- "-v=2"
102+
env:
103+
- name: ADDRESS
104+
value: /csi/csi.sock
105+
volumeMounts:
106+
- name: socket-dir
107+
mountPath: /csi
108+
resources: {{- toYaml .Values.controller.resources.csiSnapshotter | nindent 12 }}
109+
securityContext:
110+
capabilities:
111+
drop:
112+
- ALL
113+
- name: csi-resizer
114+
{{- if hasPrefix "/" .Values.image.csiResizer.repository }}
115+
image: "{{ .Values.image.baseRepo }}{{ .Values.image.csiResizer.repository }}:{{ .Values.image.csiResizer.tag }}"
116+
{{- else }}
117+
image: "{{ .Values.image.csiResizer.repository }}:{{ .Values.image.csiResizer.tag }}"
118+
{{- end }}
119+
args:
120+
- "-csi-address=$(ADDRESS)"
121+
- "-v=2"
122+
- "-leader-election"
123+
- "--leader-election-namespace={{ .Release.Namespace }}"
124+
- '-handle-volume-inuse-error=false'
125+
- '-timeout=120s'
126+
- '-feature-gates=RecoverVolumeExpansionFailure=true'
127+
env:
128+
- name: ADDRESS
129+
value: /csi/csi.sock
130+
imagePullPolicy: {{ .Values.image.csiResizer.pullPolicy }}
131+
volumeMounts:
132+
- name: socket-dir
133+
mountPath: /csi
134+
resources: {{- toYaml .Values.controller.resources.csiResizer | nindent 12 }}
135+
securityContext:
136+
capabilities:
137+
drop:
138+
- ALL
139+
- name: liveness-probe
140+
{{- if hasPrefix "/" .Values.image.livenessProbe.repository }}
141+
image: "{{ .Values.image.baseRepo }}{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}"
142+
{{- else }}
143+
image: "{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}"
144+
{{- end }}
145+
args:
146+
- --csi-address=/csi/csi.sock
147+
- --probe-timeout=3s
148+
{{- if eq .Values.controller.hostNetwork true }}
149+
- --http-endpoint=localhost:{{ .Values.controller.livenessProbe.healthPort }}
150+
{{- else }}
151+
- --health-port={{ .Values.controller.livenessProbe.healthPort }}
152+
{{- end }}
153+
- --v=2
154+
imagePullPolicy: {{ .Values.image.livenessProbe.pullPolicy }}
155+
volumeMounts:
156+
- name: socket-dir
157+
mountPath: /csi
158+
resources: {{- toYaml .Values.controller.resources.livenessProbe | nindent 12 }}
159+
securityContext:
160+
capabilities:
161+
drop:
162+
- ALL
163+
- name: azurefile
164+
{{- if hasPrefix "/" .Values.image.azurefile.repository }}
165+
image: "{{ .Values.image.baseRepo }}{{ .Values.image.azurefile.repository }}:{{ .Values.image.azurefile.tag }}"
166+
{{- else }}
167+
image: "{{ .Values.image.azurefile.repository }}:{{ .Values.image.azurefile.tag }}"
168+
{{- end }}
169+
args:
170+
- "--v={{ .Values.controller.logLevel }}"
171+
- "--endpoint=$(CSI_ENDPOINT)"
172+
- "--metrics-address=0.0.0.0:{{ .Values.controller.metricsPort }}"
173+
- "--kubeconfig={{ .Values.controller.kubeconfig }}"
174+
- "--drivername={{ .Values.driver.name }}"
175+
- "--cloud-config-secret-name={{ .Values.controller.cloudConfigSecretName }}"
176+
- "--cloud-config-secret-namespace={{ .Values.controller.cloudConfigSecretNamespace }}"
177+
- "--custom-user-agent={{ .Values.driver.customUserAgent }}"
178+
- "--user-agent-suffix={{ .Values.driver.userAgentSuffix }}"
179+
- "--allow-empty-cloud-config={{ .Values.controller.allowEmptyCloudConfig }}"
180+
ports:
181+
- containerPort: {{ .Values.controller.metricsPort }}
182+
name: metrics
183+
protocol: TCP
184+
{{- if ne .Values.controller.hostNetwork true }}
185+
- containerPort: {{ .Values.controller.livenessProbe.healthPort }}
186+
name: healthz
187+
protocol: TCP
188+
{{- end }}
189+
livenessProbe:
190+
failureThreshold: 5
191+
httpGet:
192+
path: /healthz
193+
{{- if eq .Values.controller.hostNetwork true }}
194+
host: localhost
195+
port: {{ .Values.controller.livenessProbe.healthPort }}
196+
{{- else }}
197+
port: healthz
198+
{{- end }}
199+
initialDelaySeconds: 30
200+
timeoutSeconds: 10
201+
periodSeconds: 30
202+
env:
203+
- name: AZURE_CREDENTIAL_FILE
204+
valueFrom:
205+
configMapKeyRef:
206+
name: {{ .Values.azureCredentialFileConfigMap }}
207+
key: path
208+
optional: true
209+
- name: CSI_ENDPOINT
210+
value: unix:///csi/csi.sock
211+
{{- if ne .Values.driver.httpsProxy "" }}
212+
- name: HTTPS_PROXY
213+
value: {{ .Values.driver.httpsProxy }}
214+
{{- end }}
215+
{{- if ne .Values.driver.httpProxy "" }}
216+
- name: HTTP_PROXY
217+
value: {{ .Values.driver.httpProxy }}
218+
{{- end }}
219+
- name: AZURE_GO_SDK_LOG_LEVEL
220+
value: {{ .Values.driver.azureGoSDKLogLevel }}
221+
imagePullPolicy: {{ .Values.image.azurefile.pullPolicy }}
222+
volumeMounts:
223+
- mountPath: /csi
224+
name: socket-dir
225+
- mountPath: /root/.azcopy
226+
name: azcopy-dir
227+
- mountPath: /etc/kubernetes/
228+
name: azure-cred
229+
{{- if eq .Values.linux.distro "fedora" }}
230+
- name: ssl
231+
mountPath: /etc/ssl/certs
232+
readOnly: true
233+
- name: ssl-pki
234+
mountPath: /etc/pki/ca-trust/extracted
235+
readOnly: true
236+
{{- end }}
237+
resources: {{- toYaml .Values.controller.resources.azurefile | nindent 12 }}
238+
securityContext:
239+
capabilities:
240+
drop:
241+
- ALL
242+
volumes:
243+
- name: socket-dir
244+
emptyDir: {}
245+
- name: azcopy-dir
246+
emptyDir: {}
247+
- name: azure-cred
248+
hostPath:
249+
path: /etc/kubernetes/
250+
type: DirectoryOrCreate
251+
{{- if eq .Values.linux.distro "fedora" }}
252+
- name: ssl
253+
hostPath:
254+
path: /etc/ssl/certs
255+
- name: ssl-pki
256+
hostPath:
257+
path: /etc/pki/ca-trust/extracted
258+
{{- 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)