components/*: Forbid write access to root filesystem

Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
Arthur Silva Sens
2022-01-27 09:13:18 +00:00
committed by ArthurSens
parent 48b2bb6a72
commit 57c46a2861
13 changed files with 33 additions and 5 deletions

View File

@@ -47,6 +47,7 @@ spec:
memory: 100Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
volumeMounts:
- mountPath: /var/lib/grafana
name: grafana-storage