fix(netdata): make host mounts readonly (#2596)

* fix(netdata): make host mounts readonly

* actually mount hostpaths as host paths
This commit is contained in:
Stavros Kois 2022-05-02 01:14:40 +03:00 committed by GitHub
parent a96e6c2d61
commit 903e98b07c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 11 deletions

View File

@ -18,7 +18,7 @@ maintainers:
name: netdata
sources:
- https://github.com/netdata
version: 0.0.1
version: 0.0.2
annotations:
truecharts.org/catagories: |
- utilities

View File

@ -67,34 +67,34 @@ persistence:
mountPath: "/var/cache/netdata"
passwd:
enabled: true
type: hostPath
hostPath: "/etc/passwd"
mountPath: "/host/etc/passwd"
hostPathType: ""
readOnly: false
readOnly: true
group:
enabled: true
type: hostPath
hostPath: "/etc/group"
mountPath: "/host/etc/group"
hostPathType: ""
readOnly: false
readOnly: true
proc:
enabled: true
type: hostPath
hostPath: "/proc"
mountPath: "/host/proc"
hostPathType: ""
readOnly: false
readOnly: true
sys:
enabled: true
type: hostPath
hostPath: "/sys"
mountPath: "/host/sys"
hostPathType: ""
readOnly: false
readOnly: true
os:
enabled: true
type: hostPath
hostPath: "/etc/os-release"
mountPath: "/host/etc/os-release"
hostPathType: ""
readOnly: false
readOnly: true
initContainers:
create-config: