You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2022-07-27T17:11:54.168Z error operator/internal/config-reloader/file_watch.go:159 cannot read file content: open /etc/crontabs/root: permission denied
2022-07-27T17:11:54.168Z error operator/internal/config-reloader/file_watch.go:179 cannot walk: cannot read file content: open /etc/crontabs/root: permission denied
2022-07-27T17:11:54.168Z error operator/internal/config-reloader/file_watch.go:210 cannot update dir watch cache: cannot walk path: /etc/vm, err: cannot read file content: open /etc/crontabs/root: permission denied
Any way to fix this so we can run as non-root? This seems non-ideal.
previously it runs over parent directory, which leads to errors and logs and incorrect behaviour
if config-reloader doesn't have enough permissions
#510
I've defined a securityContext for my vmagent pod:
But when I do this, I see issues in the pod log:
2022-07-27T17:11:54.168Z error operator/internal/config-reloader/file_watch.go:159 cannot read file content: open /etc/crontabs/root: permission denied
2022-07-27T17:11:54.168Z error operator/internal/config-reloader/file_watch.go:179 cannot walk: cannot read file content: open /etc/crontabs/root: permission denied
2022-07-27T17:11:54.168Z error operator/internal/config-reloader/file_watch.go:210 cannot update dir watch cache: cannot walk path: /etc/vm, err: cannot read file content: open /etc/crontabs/root: permission denied
Any way to fix this so we can run as non-root? This seems non-ideal.
Originally:
VictoriaMetrics/helm-charts#353
The text was updated successfully, but these errors were encountered: