Skip to content

Commit b470c49

Browse files
committed
remove initContainers
1 parent 06aba74 commit b470c49

File tree

3 files changed

+0
-58
lines changed

3 files changed

+0
-58
lines changed
-219 Bytes
Binary file not shown.

charts/latest/azurefile-csi-driver/templates/csi-azurefile-node.yaml

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -68,39 +68,6 @@ spec:
6868
imagePullSecrets:
6969
{{ toYaml .Values.imagePullSecrets | indent 8 }}
7070
{{- end }}
71-
initContainers:
72-
- name: install-azurefile-proxy
73-
{{- if hasPrefix "/" .Values.image.azurefile.repository }}
74-
image: "{{ .Values.image.baseRepo }}{{ .Values.image.azurefile.repository }}:{{ .Values.image.azurefile.tag }}"
75-
{{- else }}
76-
image: "{{ .Values.image.azurefile.repository }}:{{ .Values.image.azurefile.tag }}"
77-
{{- end }}
78-
imagePullPolicy: IfNotPresent
79-
command:
80-
- "/azurefile-proxy/init.sh"
81-
securityContext:
82-
privileged: true
83-
capabilities:
84-
drop:
85-
- ALL
86-
env:
87-
- name: DEBIAN_FRONTEND
88-
value: "noninteractive"
89-
- name: AZNFS_NONINTERACTIVE_INSTALL
90-
value: "1"
91-
- name: INSTALL_AZUREFILE_PROXY
92-
value: "{{ .Values.node.azurefileProxy.enabled }}"
93-
- name: INSTALL_AZNFS_MOUNT
94-
value: "{{ .Values.node.azurefileProxy.installAznfsMount }}"
95-
- name: KUBELET_PATH
96-
value: "{{ .Values.linux.kubelet }}"
97-
- name: MIGRATE_K8S_REPO
98-
value: "{{ .Values.node.azurefileProxy.migrateK8sRepo }}"
99-
volumeMounts:
100-
- name: host-usr
101-
mountPath: /host/usr
102-
- name: host-etc
103-
mountPath: /host/etc
10471
containers:
10572
- name: liveness-probe
10673
volumeMounts:

deploy/csi-azurefile-node.yaml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -38,31 +38,6 @@ spec:
3838
type: RuntimeDefault
3939
tolerations:
4040
- operator: "Exists"
41-
initContainers:
42-
- name: install-azurefile-proxy
43-
image: mcr.microsoft.com/k8s/csi/azurefile-csi:latest
44-
imagePullPolicy: IfNotPresent
45-
command:
46-
- "/azurefile-proxy/init.sh"
47-
securityContext:
48-
privileged: true
49-
capabilities:
50-
drop:
51-
- ALL
52-
env:
53-
- name: DEBIAN_FRONTEND
54-
value: "noninteractive"
55-
- name: AZNFS_NONINTERACTIVE_INSTALL
56-
value: "1"
57-
- name: INSTALL_AZUREFILE_PROXY
58-
value: "true"
59-
- name: INSTALL_AZNFS_MOUNT
60-
value: "true"
61-
volumeMounts:
62-
- name: host-usr
63-
mountPath: /host/usr
64-
- name: host-etc
65-
mountPath: /host/etc
6641
containers:
6742
- name: liveness-probe
6843
volumeMounts:

0 commit comments

Comments
 (0)