Skip to content

Commit 0773d97

Browse files
committed
doc: update new chart versions
1 parent 1951759 commit 0773d97

File tree

89 files changed

+12460
-45
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+12460
-45
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ 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.1 |mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.29.1 | 1.21+ |
19-
|v1.28.6 |mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.28.6 | 1.21+ |
18+
|v1.29.2 |mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.29.2 | 1.21+ |
19+
|v1.28.7 |mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.28.7 | 1.21+ |
2020
|v1.27.3 |mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.27.3 | 1.21+ |
2121

2222
### Driver parameters

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.1
19+
helm install azurefile-csi-driver azurefile-csi-driver/azurefile-csi-driver --namespace kube-system --version v1.29.2
2020
```
2121

2222
### install on RedHat/CentOS

charts/index.yaml

+67-40
Large diffs are not rendered by default.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
apiVersion: v1
2+
appVersion: v1.26.10
3+
description: Azure File Container Storage Interface (CSI) Storage Plugin
4+
name: azurefile-csi-driver
5+
version: v1.26.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.26.10/azurefile-csi-driver/templates/crd-csi-snapshot.yaml

+661
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,243 @@
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+
{{- with .Values.controller.podLabels }}
28+
{{ toYaml . | indent 8 }}
29+
{{- end }}
30+
{{- with .Values.controller.podAnnotations }}
31+
annotations:
32+
{{ toYaml . | indent 8 }}
33+
{{- end }}
34+
spec:
35+
hostNetwork: {{ .Values.controller.hostNetwork }}
36+
serviceAccountName: {{ .Values.serviceAccount.controller }}
37+
nodeSelector:
38+
kubernetes.io/os: linux
39+
{{- with .Values.controller.nodeSelector }}
40+
{{ toYaml . | indent 8 }}
41+
{{- end }}
42+
{{- if .Values.controller.runOnMaster}}
43+
node-role.kubernetes.io/master: ""
44+
{{- end}}
45+
{{- if .Values.controller.runOnControlPlane}}
46+
node-role.kubernetes.io/control-plane: ""
47+
{{- end}}
48+
priorityClassName: system-cluster-critical
49+
{{- with .Values.controller.tolerations }}
50+
tolerations:
51+
{{ toYaml . | indent 8 }}
52+
{{- end }}
53+
{{- with .Values.controller.affinity }}
54+
affinity:
55+
{{ toYaml . | indent 8 }}
56+
{{- end }}
57+
{{- if .Values.imagePullSecrets }}
58+
imagePullSecrets:
59+
{{ toYaml .Values.imagePullSecrets | indent 8 }}
60+
{{- end }}
61+
containers:
62+
- name: csi-provisioner
63+
{{- if hasPrefix "/" .Values.image.csiProvisioner.repository }}
64+
image: "{{ .Values.image.baseRepo }}{{ .Values.image.csiProvisioner.repository }}:{{ .Values.image.csiProvisioner.tag }}"
65+
{{- else }}
66+
image: "{{ .Values.image.csiProvisioner.repository }}:{{ .Values.image.csiProvisioner.tag }}"
67+
{{- end }}
68+
args:
69+
- "-v=2"
70+
- "--csi-address=$(ADDRESS)"
71+
- "--leader-election"
72+
- "--leader-election-namespace={{ .Release.Namespace }}"
73+
- "--timeout=300s"
74+
- "--extra-create-metadata=true"
75+
- "--kube-api-qps=50"
76+
- "--kube-api-burst=100"
77+
env:
78+
- name: ADDRESS
79+
value: /csi/csi.sock
80+
imagePullPolicy: {{ .Values.image.csiProvisioner.pullPolicy }}
81+
volumeMounts:
82+
- mountPath: /csi
83+
name: socket-dir
84+
resources: {{- toYaml .Values.controller.resources.csiProvisioner | nindent 12 }}
85+
- name: csi-attacher
86+
{{- if hasPrefix "/" .Values.image.csiAttacher.repository }}
87+
image: "{{ .Values.image.baseRepo }}{{ .Values.image.csiAttacher.repository }}:{{ .Values.image.csiAttacher.tag }}"
88+
{{- else }}
89+
image: "{{ .Values.image.csiAttacher.repository }}:{{ .Values.image.csiAttacher.tag }}"
90+
{{- end }}
91+
args:
92+
- "-v=2"
93+
- "-csi-address=$(ADDRESS)"
94+
- "-timeout=120s"
95+
- "-leader-election"
96+
- "--leader-election-namespace={{ .Release.Namespace }}"
97+
- "--kube-api-qps=50"
98+
- "--kube-api-burst=100"
99+
env:
100+
- name: ADDRESS
101+
value: /csi/csi.sock
102+
imagePullPolicy: {{ .Values.image.csiAttacher.pullPolicy }}
103+
volumeMounts:
104+
- mountPath: /csi
105+
name: socket-dir
106+
resources: {{- toYaml .Values.controller.resources.csiAttacher | nindent 12 }}
107+
- name: csi-snapshotter
108+
{{- if hasPrefix "/" .Values.snapshot.image.csiSnapshotter.repository }}
109+
image: "{{ .Values.image.baseRepo }}{{ .Values.snapshot.image.csiSnapshotter.repository }}:{{ .Values.snapshot.image.csiSnapshotter.tag }}"
110+
{{- else }}
111+
image: "{{ .Values.snapshot.image.csiSnapshotter.repository }}:{{ .Values.snapshot.image.csiSnapshotter.tag }}"
112+
{{- end }}
113+
args:
114+
- "-csi-address=$(ADDRESS)"
115+
- "-leader-election"
116+
- "--leader-election-namespace={{ .Release.Namespace }}"
117+
- "-v=2"
118+
env:
119+
- name: ADDRESS
120+
value: /csi/csi.sock
121+
volumeMounts:
122+
- name: socket-dir
123+
mountPath: /csi
124+
resources: {{- toYaml .Values.controller.resources.csiSnapshotter | nindent 12 }}
125+
- name: csi-resizer
126+
{{- if hasPrefix "/" .Values.image.csiResizer.repository }}
127+
image: "{{ .Values.image.baseRepo }}{{ .Values.image.csiResizer.repository }}:{{ .Values.image.csiResizer.tag }}"
128+
{{- else }}
129+
image: "{{ .Values.image.csiResizer.repository }}:{{ .Values.image.csiResizer.tag }}"
130+
{{- end }}
131+
args:
132+
- "-csi-address=$(ADDRESS)"
133+
- "-v=2"
134+
- "-leader-election"
135+
- "--leader-election-namespace={{ .Release.Namespace }}"
136+
- '-handle-volume-inuse-error=false'
137+
- '-timeout=120s'
138+
- '-feature-gates=RecoverVolumeExpansionFailure=true'
139+
env:
140+
- name: ADDRESS
141+
value: /csi/csi.sock
142+
imagePullPolicy: {{ .Values.image.csiResizer.pullPolicy }}
143+
volumeMounts:
144+
- name: socket-dir
145+
mountPath: /csi
146+
resources: {{- toYaml .Values.controller.resources.csiResizer | nindent 12 }}
147+
- name: liveness-probe
148+
{{- if hasPrefix "/" .Values.image.livenessProbe.repository }}
149+
image: "{{ .Values.image.baseRepo }}{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}"
150+
{{- else }}
151+
image: "{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}"
152+
{{- end }}
153+
args:
154+
- --csi-address=/csi/csi.sock
155+
- --probe-timeout=3s
156+
- --health-port={{ .Values.controller.livenessProbe.healthPort }}
157+
- --v=2
158+
imagePullPolicy: {{ .Values.image.livenessProbe.pullPolicy }}
159+
volumeMounts:
160+
- name: socket-dir
161+
mountPath: /csi
162+
resources: {{- toYaml .Values.controller.resources.livenessProbe | nindent 12 }}
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.livenessProbe.healthPort }}
182+
name: healthz
183+
protocol: TCP
184+
- containerPort: {{ .Values.controller.metricsPort }}
185+
name: metrics
186+
protocol: TCP
187+
livenessProbe:
188+
failureThreshold: 5
189+
httpGet:
190+
path: /healthz
191+
port: healthz
192+
initialDelaySeconds: 30
193+
timeoutSeconds: 10
194+
periodSeconds: 30
195+
env:
196+
- name: AZURE_CREDENTIAL_FILE
197+
valueFrom:
198+
configMapKeyRef:
199+
name: azure-cred-file
200+
key: path
201+
optional: true
202+
- name: CSI_ENDPOINT
203+
value: unix:///csi/csi.sock
204+
{{- if ne .Values.driver.httpsProxy "" }}
205+
- name: HTTPS_PROXY
206+
value: {{ .Values.driver.httpsProxy }}
207+
{{- end }}
208+
{{- if ne .Values.driver.httpProxy "" }}
209+
- name: HTTP_PROXY
210+
value: {{ .Values.driver.httpProxy }}
211+
{{- end }}
212+
- name: AZURE_GO_SDK_LOG_LEVEL
213+
value: {{ .Values.driver.azureGoSDKLogLevel }}
214+
imagePullPolicy: {{ .Values.image.azurefile.pullPolicy }}
215+
volumeMounts:
216+
- mountPath: /csi
217+
name: socket-dir
218+
- mountPath: /etc/kubernetes/
219+
name: azure-cred
220+
{{- if eq .Values.linux.distro "fedora" }}
221+
- name: ssl
222+
mountPath: /etc/ssl/certs
223+
readOnly: true
224+
- name: ssl-pki
225+
mountPath: /etc/pki/ca-trust/extracted
226+
readOnly: true
227+
{{- end }}
228+
resources: {{- toYaml .Values.controller.resources.azurefile | nindent 12 }}
229+
volumes:
230+
- name: socket-dir
231+
emptyDir: {}
232+
- name: azure-cred
233+
hostPath:
234+
path: /etc/kubernetes/
235+
type: DirectoryOrCreate
236+
{{- if eq .Values.linux.distro "fedora" }}
237+
- name: ssl
238+
hostPath:
239+
path: /etc/ssl/certs
240+
- name: ssl-pki
241+
hostPath:
242+
path: /etc/pki/ca-trust/extracted
243+
{{- end }}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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: ReadWriteOnceWithFSType

0 commit comments

Comments
 (0)