Skip to content

Commit 237839e

Browse files
authored
add cloudbeat mounts and volumes to elastic-managed manifest (#795)
1 parent 26ec0cd commit 237839e

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

internal/testrunner/runners/system/servicedeployer/elastic-agent-managed.yaml.tmpl

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ spec:
6363
- name: proc
6464
mountPath: /hostfs/proc
6565
readOnly: true
66+
- name: etc-kubernetes
67+
mountPath: /hostfs/etc/kubernetes
68+
- name: var-lib
69+
mountPath: /hostfs/var/lib
70+
readOnly: true
6671
- name: cgroup
6772
mountPath: /hostfs/sys/fs/cgroup
6873
readOnly: true
@@ -72,10 +77,31 @@ spec:
7277
- name: varlog
7378
mountPath: /var/log
7479
readOnly: true
80+
- name: passwd
81+
mountPath: /hostfs/etc/passwd
82+
readOnly: true
83+
- name: group
84+
mountPath: /hostfs/etc/group
85+
readOnly: true
86+
- name: etcsysmd
87+
mountPath: /hostfs/etc/systemd
88+
readOnly: true
7589
volumes:
7690
- name: proc
7791
hostPath:
7892
path: /proc
93+
- name: etc-kubernetes
94+
hostPath:
95+
path: /etc/kubernetes
96+
- name: var-lib
97+
hostPath:
98+
path: /var/lib
99+
- name: passwd
100+
hostPath:
101+
path: /etc/passwd
102+
- name: group
103+
hostPath:
104+
path: /etc/group
79105
- name: cgroup
80106
hostPath:
81107
path: /sys/fs/cgroup
@@ -85,6 +111,9 @@ spec:
85111
- name: varlog
86112
hostPath:
87113
path: /var/log
114+
- name: etcsysmd
115+
hostPath:
116+
path: /etc/systemd
88117
---
89118
apiVersion: rbac.authorization.k8s.io/v1
90119
kind: ClusterRoleBinding

0 commit comments

Comments
 (0)