Skip to content

Commit 384b9c4

Browse files
committed
doc: cut v0.7.0 release
fix docs
1 parent 8f341ec commit 384b9c4

30 files changed

+1636
-11
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ This driver allows Kubernetes to use [Azure File](https://docs.microsoft.com/en-
1010
|Azure File CSI Driver Version | Image | 1.14+ |
1111
|-------------------------------|----------------------------------------------------|--------|
1212
|master branch |mcr.microsoft.com/k8s/csi/azurefile-csi:latest | yes |
13+
|v0.7.0 |mcr.microsoft.com/k8s/csi/azurefile-csi:v0.7.0 | yes |
1314
|v0.6.0 |mcr.microsoft.com/k8s/csi/azurefile-csi:v0.6.0 | yes |
14-
|v0.5.0 |mcr.microsoft.com/k8s/csi/azurefile-csi:v0.5.0 | yes |
1515

1616
### Driver parameters
1717
Please refer to [`file.csi.azure.com` driver parameters](./docs/driver-parameters.md)
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v1
2-
appVersion: latest
2+
appVersion: v0.7.0
33
description: Azure File Container Storage Interface (CSI) Storage Plugin
44
name: azurefile-csi-driver
5-
version: latest
5+
version: v0.7.0

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
image:
22
azurefile:
33
repository: mcr.microsoft.com/k8s/csi/azurefile-csi
4-
tag: latest
4+
tag: v0.7.0
55
pullPolicy: IfNotPresent
66
csiProvisioner:
77
repository: mcr.microsoft.com/oss/kubernetes-csi/csi-provisioner
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
apiVersion: v1
2+
appVersion: v0.7.0
3+
description: Azure File Container Storage Interface (CSI) Storage Plugin
4+
name: azurefile-csi-driver
5+
version: v0.7.0
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,11 @@
1+
{{/* vim: set filetype=mustache: */}}
2+
3+
{{/* labels for helm resources */}}
4+
{{- define "azurefile.labels" -}}
5+
labels:
6+
heritage: "{{ .Release.Service }}"
7+
release: "{{ .Release.Name }}"
8+
revision: "{{ .Release.Revision }}"
9+
chart: "{{ .Chart.Name }}"
10+
chartVersion: "{{ .Chart.Version }}"
11+
{{- end -}}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
apiVersion: apiextensions.k8s.io/v1beta1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
creationTimestamp: null
5+
name: csinodeinfos.csi.storage.k8s.io
6+
{{ include "azurefile.labels" . | indent 2 }}
7+
spec:
8+
group: csi.storage.k8s.io
9+
names:
10+
kind: CSINodeInfo
11+
plural: csinodeinfos
12+
scope: Cluster
13+
validation:
14+
openAPIV3Schema:
15+
properties:
16+
csiDrivers:
17+
description: List of CSI drivers running on the node and their properties.
18+
items:
19+
properties:
20+
driver:
21+
description: The CSI driver that this object refers to.
22+
type: string
23+
nodeID:
24+
description: The node from the driver point of view.
25+
type: string
26+
topologyKeys:
27+
description: List of keys supported by the driver.
28+
items:
29+
type: string
30+
type: array
31+
type: array
32+
version: v1alpha1
33+
status:
34+
acceptedNames:
35+
kind: ""
36+
plural: ""
37+
conditions: []
38+
storedVersions: []
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,182 @@
1+
kind: Deployment
2+
apiVersion: apps/v1
3+
metadata:
4+
name: csi-azurefile-controller
5+
namespace: {{ .Release.Namespace }}
6+
{{ include "azurefile.labels" . | indent 2 }}
7+
spec:
8+
replicas: {{ .Values.controller.replicas }}
9+
selector:
10+
matchLabels:
11+
app: csi-azurefile-controller
12+
template:
13+
metadata:
14+
{{ include "azurefile.labels" . | indent 6 }}
15+
app: csi-azurefile-controller
16+
spec:
17+
hostNetwork: true # only required for MSI enabled cluster
18+
serviceAccountName: csi-azurefile-controller-sa
19+
nodeSelector:
20+
kubernetes.io/os: linux
21+
priorityClassName: system-cluster-critical
22+
tolerations:
23+
- key: "node-role.kubernetes.io/master"
24+
operator: "Equal"
25+
value: "true"
26+
effect: "NoSchedule"
27+
containers:
28+
- name: csi-provisioner
29+
image: "{{ .Values.image.csiProvisioner.repository }}:{{ .Values.image.csiProvisioner.tag }}"
30+
args:
31+
- "-v=5"
32+
- "--csi-address=$(ADDRESS)"
33+
- "--enable-leader-election"
34+
- "--leader-election-type=leases"
35+
env:
36+
- name: ADDRESS
37+
value: /csi/csi.sock
38+
imagePullPolicy: {{ .Values.image.csiProvisioner.pullPolicy }}
39+
volumeMounts:
40+
- mountPath: /csi
41+
name: socket-dir
42+
resources:
43+
limits:
44+
cpu: 1
45+
memory: 1Gi
46+
requests:
47+
cpu: 10m
48+
memory: 20Mi
49+
- name: csi-attacher
50+
image: "{{ .Values.image.csiAttacher.repository }}:{{ .Values.image.csiAttacher.tag }}"
51+
args:
52+
- "-v=5"
53+
- "-csi-address=$(ADDRESS)"
54+
- "-timeout=120s"
55+
- "-leader-election"
56+
env:
57+
- name: ADDRESS
58+
value: /csi/csi.sock
59+
imagePullPolicy: {{ .Values.image.csiAttacher.pullPolicy }}
60+
volumeMounts:
61+
- mountPath: /csi
62+
name: socket-dir
63+
resources:
64+
limits:
65+
cpu: 1
66+
memory: 1Gi
67+
requests:
68+
cpu: 10m
69+
memory: 20Mi
70+
- name: csi-snapshotter
71+
image: "{{ .Values.image.csiSnapshotter.repository }}:{{ .Values.image.csiSnapshotter.tag }}"
72+
args:
73+
- "-v=5"
74+
- "-csi-address=$(ADDRESS)"
75+
- "-leader-election"
76+
env:
77+
- name: ADDRESS
78+
value: /csi/csi.sock
79+
imagePullPolicy: {{ .Values.image.csiSnapshotter.pullPolicy }}
80+
volumeMounts:
81+
- name: socket-dir
82+
mountPath: /csi
83+
resources:
84+
limits:
85+
cpu: 1
86+
memory: 1Gi
87+
requests:
88+
cpu: 10m
89+
memory: 20Mi
90+
- name: csi-resizer
91+
image: "{{ .Values.image.csiResizer.repository }}:{{ .Values.image.csiResizer.tag }}"
92+
args:
93+
- "-csi-address=$(ADDRESS)"
94+
- "-v=5"
95+
- "-leader-election"
96+
env:
97+
- name: ADDRESS
98+
value: /csi/csi.sock
99+
imagePullPolicy: {{ .Values.image.csiResizer.pullPolicy }}
100+
volumeMounts:
101+
- name: socket-dir
102+
mountPath: /csi
103+
resources:
104+
limits:
105+
cpu: 1
106+
memory: 1Gi
107+
requests:
108+
cpu: 10m
109+
memory: 20Mi
110+
- name: liveness-probe
111+
image: "{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}"
112+
args:
113+
- --csi-address=/csi/csi.sock
114+
- --connection-timeout=3s
115+
- --health-port=29612
116+
- --v=5
117+
imagePullPolicy: {{ .Values.image.livenessProbe.pullPolicy }}
118+
volumeMounts:
119+
- name: socket-dir
120+
mountPath: /csi
121+
resources:
122+
limits:
123+
cpu: 1
124+
memory: 1Gi
125+
requests:
126+
cpu: 10m
127+
memory: 20Mi
128+
- name: azurefile
129+
image: "{{ .Values.image.azurefile.repository }}:{{ .Values.image.azurefile.tag }}"
130+
args:
131+
- "--v=5"
132+
- "--endpoint=$(CSI_ENDPOINT)"
133+
ports:
134+
- containerPort: 29612
135+
name: healthz
136+
protocol: TCP
137+
- containerPort: 29614
138+
name: metrics
139+
protocol: TCP
140+
livenessProbe:
141+
failureThreshold: 5
142+
httpGet:
143+
path: /healthz
144+
port: healthz
145+
initialDelaySeconds: 30
146+
timeoutSeconds: 10
147+
periodSeconds: 30
148+
env:
149+
- name: AZURE_CREDENTIAL_FILE
150+
valueFrom:
151+
configMapKeyRef:
152+
name: azure-cred-file
153+
key: path
154+
optional: true
155+
- name: CSI_ENDPOINT
156+
value: unix:///csi/csi.sock
157+
imagePullPolicy: {{ .Values.image.azurefile.pullPolicy }}
158+
volumeMounts:
159+
- mountPath: /csi
160+
name: socket-dir
161+
- mountPath: /etc/kubernetes/
162+
name: azure-cred
163+
- mountPath: /var/lib/waagent/ManagedIdentity-Settings
164+
readOnly: true
165+
name: msi
166+
resources:
167+
limits:
168+
cpu: 1
169+
memory: 1Gi
170+
requests:
171+
cpu: 10m
172+
memory: 20Mi
173+
volumes:
174+
- name: socket-dir
175+
emptyDir: {}
176+
- name: azure-cred
177+
hostPath:
178+
path: /etc/kubernetes/
179+
type: Directory
180+
- name: msi
181+
hostPath:
182+
path: /var/lib/waagent/ManagedIdentity-Settings
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
apiVersion: storage.k8s.io/v1beta1
3+
kind: CSIDriver
4+
metadata:
5+
name: file.csi.azure.com
6+
spec:
7+
attachRequired: true
8+
podInfoOnMount: true

0 commit comments

Comments
 (0)