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

Commit 263aecf

Browse files
authored
Merge pull request #3886 from avestuk/add-etc-machine-id-mount
Update daemonset manifest to mount /etc/machine-id
2 parents f9239c9 + 9a26826 commit 263aecf

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

prog/weave-kube/weave-daemonset-k8s-1.11.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ items:
169169
- name: dbus
170170
mountPath: /host/var/lib/dbus
171171
readOnly: true
172+
- mountPath: /host/etc/machine-id
173+
name: cni-machine-id
174+
readOnly: true
172175
- name: xtables-lock
173176
mountPath: /run/xtables.lock
174177
readOnly: false
@@ -216,6 +219,9 @@ items:
216219
- name: cni-conf
217220
hostPath:
218221
path: /etc
222+
- name: cni-machine-id
223+
hostPath:
224+
path: /etc/machine-id
219225
- name: dbus
220226
hostPath:
221227
path: /var/lib/dbus

prog/weave-kube/weave-daemonset-k8s-1.8.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@ items:
166166
- name: dbus
167167
mountPath: /host/var/lib/dbus
168168
readOnly: true
169+
- mountPath: /host/etc/machine-id
170+
name: cni-machine-id
171+
readOnly: true
169172
- name: xtables-lock
170173
mountPath: /run/xtables.lock
171174
readOnly: false
@@ -212,6 +215,9 @@ items:
212215
- name: cni-conf
213216
hostPath:
214217
path: /etc
218+
- name: cni-machine-id
219+
hostPath:
220+
path: /etc/machine-id
215221
- name: dbus
216222
hostPath:
217223
path: /var/lib/dbus

prog/weave-kube/weave-daemonset-k8s-1.9.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ items:
169169
- name: dbus
170170
mountPath: /host/var/lib/dbus
171171
readOnly: true
172+
- mountPath: /host/etc/machine-id
173+
name: cni-machine-id
174+
readOnly: true
172175
- name: xtables-lock
173176
mountPath: /run/xtables.lock
174177
readOnly: false
@@ -216,6 +219,9 @@ items:
216219
- name: cni-conf
217220
hostPath:
218221
path: /etc
222+
- name: cni-machine-id
223+
hostPath:
224+
path: /etc/machine-id
219225
- name: dbus
220226
hostPath:
221227
path: /var/lib/dbus

0 commit comments

Comments
 (0)