Skip to content

Commit 9e357e0

Browse files
authored
Merge pull request #1806 from kubernetes-sigs/cut-v1.30.1
doc: cut v1.30.1 release
2 parents 0e463be + ea5f5f4 commit 9e357e0

40 files changed

+4360
-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.30.0
20+
IMAGE_VERSION ?= v1.30.1
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.0 |mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.30.0 | 1.21+ |
19+
|v1.30.1 |mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.30.1 | 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

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

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.0
5+
tag: v1.30.1
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.1
3+
description: Azure File Container Storage Interface (CSI) Storage Plugin
4+
name: azurefile-csi-driver
5+
version: v1.30.1
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.1/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,223 @@
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+
- --http-endpoint=localhost:{{ .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.metricsPort }}
164+
name: metrics
165+
protocol: TCP
166+
livenessProbe:
167+
failureThreshold: 5
168+
httpGet:
169+
host: localhost
170+
path: /healthz
171+
port: {{ .Values.controller.livenessProbe.healthPort }}
172+
initialDelaySeconds: 30
173+
timeoutSeconds: 10
174+
periodSeconds: 30
175+
env:
176+
- name: AZURE_CREDENTIAL_FILE
177+
valueFrom:
178+
configMapKeyRef:
179+
name: {{ .Values.azureCredentialFileConfigMap }}
180+
key: path
181+
optional: true
182+
- name: CSI_ENDPOINT
183+
value: unix:///csi/csi.sock
184+
{{- if ne .Values.driver.httpsProxy "" }}
185+
- name: HTTPS_PROXY
186+
value: {{ .Values.driver.httpsProxy }}
187+
{{- end }}
188+
{{- if ne .Values.driver.httpProxy "" }}
189+
- name: HTTP_PROXY
190+
value: {{ .Values.driver.httpProxy }}
191+
{{- end }}
192+
- name: AZURE_GO_SDK_LOG_LEVEL
193+
value: {{ .Values.driver.azureGoSDKLogLevel }}
194+
imagePullPolicy: {{ .Values.image.azurefile.pullPolicy }}
195+
volumeMounts:
196+
- mountPath: /csi
197+
name: socket-dir
198+
- mountPath: /etc/kubernetes/
199+
name: azure-cred
200+
{{- if eq .Values.linux.distro "fedora" }}
201+
- name: ssl
202+
mountPath: /etc/ssl/certs
203+
readOnly: true
204+
- name: ssl-pki
205+
mountPath: /etc/pki/ca-trust/extracted
206+
readOnly: true
207+
{{- end }}
208+
resources: {{- toYaml .Values.controller.resources.azurefile | nindent 12 }}
209+
volumes:
210+
- name: socket-dir
211+
emptyDir: {}
212+
- name: azure-cred
213+
hostPath:
214+
path: /etc/kubernetes/
215+
type: DirectoryOrCreate
216+
{{- if eq .Values.linux.distro "fedora" }}
217+
- name: ssl
218+
hostPath:
219+
path: /etc/ssl/certs
220+
- name: ssl-pki
221+
hostPath:
222+
path: /etc/pki/ca-trust/extracted
223+
{{- 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)