Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Tighten Kubernetes volume mounts #3877

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions prog/weave-kube/weave-daemonset-k8s-1.11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,15 +144,20 @@ items:
- name: weavedb
mountPath: /weavedb
- name: cni-bin
mountPath: /host/opt
mountPath: /host/opt/cni/bin
- name: cni-bin2
mountPath: /host/home
- name: cni-conf
mountPath: /host/home/kubernetes/bin
- name: etc
mountPath: /host/etc
readOnly: true
- name: cni-conf
mountPath: /host/etc/cni
- name: dbus
mountPath: /host/var/lib/dbus
readOnly: true
- name: lib-modules
mountPath: /lib/modules
readOnly: true
- name: xtables-lock
mountPath: /run/xtables.lock
readOnly: false
Expand Down Expand Up @@ -193,13 +198,18 @@ items:
path: /var/lib/weave
- name: cni-bin
hostPath:
path: /opt
path: /opt/cni/bin
- name: cni-bin2
hostPath:
path: /home
path: /home/kubernetes/bin
- name: cni-conf
hostPath:
path: /etc/cni
type: DirectoryOrCreate
- name: etc
hostPath:
path: /etc
type: Directory
- name: dbus
hostPath:
path: /var/lib/dbus
Expand Down