File tree Expand file tree Collapse file tree 1 file changed +46
-46
lines changed
test/e2e/testing-manifests/storage-csi/hostpath/hostpath Expand file tree Collapse file tree 1 file changed +46
-46
lines changed Original file line number Diff line number Diff line change 1
- kind : Service
2
- apiVersion : v1
3
- metadata :
4
- name : csi-snapshotter
5
- labels :
6
- app : csi-snapshotter
7
- spec :
8
- selector :
9
- app : csi-snapshotter
10
- ports :
11
- - name : dummy
12
- port : 12345
13
-
14
- ---
15
- kind : StatefulSet
16
- apiVersion : apps/v1
17
- metadata :
18
- name : csi-snapshotter
19
- spec :
20
- serviceName : " csi-snapshotter"
21
- replicas : 1
22
- selector :
23
- matchLabels :
24
- app : csi-snapshotter
25
- template :
26
- metadata :
27
- labels :
28
- app : csi-snapshotter
29
- spec :
30
- serviceAccount : csi-snapshotter
31
- containers :
32
- - name : csi-snapshotter
1
+ kind : Service
2
+ apiVersion : v1
3
+ metadata :
4
+ name : csi-snapshotter
5
+ labels :
6
+ app : csi-snapshotter
7
+ spec :
8
+ selector :
9
+ app : csi-snapshotter
10
+ ports :
11
+ - name : dummy
12
+ port : 12345
13
+
14
+ ---
15
+ kind : StatefulSet
16
+ apiVersion : apps/v1
17
+ metadata :
18
+ name : csi-snapshotter
19
+ spec :
20
+ serviceName : " csi-snapshotter"
21
+ replicas : 1
22
+ selector :
23
+ matchLabels :
24
+ app : csi-snapshotter
25
+ template :
26
+ metadata :
27
+ labels :
28
+ app : csi-snapshotter
29
+ spec :
30
+ serviceAccount : csi-snapshotter
31
+ containers :
32
+ - name : csi-snapshotter
33
33
image : quay.io/k8scsi/csi-snapshotter:v2.0.0
34
- args :
35
- - " --v=5"
36
- - " --csi-address=$(ADDRESS)"
37
- env :
38
- - name : ADDRESS
39
- value : /csi/csi.sock
34
+ args :
35
+ - " --v=5"
36
+ - " --csi-address=$(ADDRESS)"
37
+ env :
38
+ - name : ADDRESS
39
+ value : /csi/csi.sock
40
40
securityContext :
41
41
# This is necessary only for systems with SELinux, where
42
42
# non-privileged sidecar containers cannot access unix domain socket
43
43
# created by privileged CSI driver container.
44
44
privileged : true
45
- volumeMounts :
46
- - name : socket-dir
47
- mountPath : /csi
48
- volumes :
49
- - hostPath :
50
- path : /var/lib/kubelet/plugins/csi-hostpath
51
- type : DirectoryOrCreate
52
- name : socket-dir
45
+ volumeMounts :
46
+ - name : socket-dir
47
+ mountPath : /csi
48
+ volumes :
49
+ - hostPath :
50
+ path : /var/lib/kubelet/plugins/csi-hostpath
51
+ type : DirectoryOrCreate
52
+ name : socket-dir
You can’t perform that action at this time.
0 commit comments