Skip to content

Commit 81e8953

Browse files
author
Ian Campbell
committed
Drop duplicate mounts of CNI directories.
Previously we had: ``` config: binds: - /var/lib/cni/conf:/etc/cni/net.d:rshared,rbind - /var/lib/cni/bin:/opt/cni/bin:rshared,rbind ... runtime: mounts: - type: bind source: /var/lib/cni/bin destination: /opt/cni/bin options: ["rw","bind"] - type: bind source: /var/lib/cni/conf destination: /etc/cni/net.d options: ["rw","bind"] ``` Which is redundant. Drop `runtime.mounts` to leave just the `binds`. Signed-off-by: Ian Campbell <[email protected]>
1 parent d987e85 commit 81e8953

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

pkg/kubelet/build.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,3 @@ config:
3636
- /var/lib/cni/bin
3737
- /var/lib/kubelet-plugins
3838
- /var/lib/nfs/statd/sm
39-
mounts:
40-
- type: bind
41-
source: /var/lib/cni/bin
42-
destination: /opt/cni/bin
43-
options: ["rw","bind"]
44-
- type: bind
45-
source: /var/lib/cni/conf
46-
destination: /etc/cni/net.d
47-
options: ["rw","bind"]

0 commit comments

Comments
 (0)