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

Commit

Permalink
Merge pull request #3886 from avestuk/add-etc-machine-id-mount
Browse files Browse the repository at this point in the history
Update daemonset manifest to mount /etc/machine-id
  • Loading branch information
bboreham authored Jan 22, 2021
2 parents f9239c9 + 9a26826 commit 263aecf
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions prog/weave-kube/weave-daemonset-k8s-1.11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ items:
- name: dbus
mountPath: /host/var/lib/dbus
readOnly: true
- mountPath: /host/etc/machine-id
name: cni-machine-id
readOnly: true
- name: xtables-lock
mountPath: /run/xtables.lock
readOnly: false
Expand Down Expand Up @@ -216,6 +219,9 @@ items:
- name: cni-conf
hostPath:
path: /etc
- name: cni-machine-id
hostPath:
path: /etc/machine-id
- name: dbus
hostPath:
path: /var/lib/dbus
Expand Down
6 changes: 6 additions & 0 deletions prog/weave-kube/weave-daemonset-k8s-1.8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ items:
- name: dbus
mountPath: /host/var/lib/dbus
readOnly: true
- mountPath: /host/etc/machine-id
name: cni-machine-id
readOnly: true
- name: xtables-lock
mountPath: /run/xtables.lock
readOnly: false
Expand Down Expand Up @@ -212,6 +215,9 @@ items:
- name: cni-conf
hostPath:
path: /etc
- name: cni-machine-id
hostPath:
path: /etc/machine-id
- name: dbus
hostPath:
path: /var/lib/dbus
Expand Down
6 changes: 6 additions & 0 deletions prog/weave-kube/weave-daemonset-k8s-1.9.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ items:
- name: dbus
mountPath: /host/var/lib/dbus
readOnly: true
- mountPath: /host/etc/machine-id
name: cni-machine-id
readOnly: true
- name: xtables-lock
mountPath: /run/xtables.lock
readOnly: false
Expand Down Expand Up @@ -216,6 +219,9 @@ items:
- name: cni-conf
hostPath:
path: /etc
- name: cni-machine-id
hostPath:
path: /etc/machine-id
- name: dbus
hostPath:
path: /var/lib/dbus
Expand Down

0 comments on commit 263aecf

Please sign in to comment.