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 name: netdata
sources: sources:
- https://github.com/netdata - https://github.com/netdata
version: 0.0.1 version: 0.0.2
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- utilities - utilities

View File

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