Skip to content

Commit 5249c10

Browse files
committed
add comments of 472 and 65534
Signed-off-by: JaredforReal <[email protected]>
1 parent ebbce20 commit 5249c10

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

deploy/kubernetes/observability/grafana/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
app: grafana
1616
spec:
1717
securityContext:
18-
runAsNonRoot: true
18+
# Run as non-root user 472 (grafana) and set fsGroup for volume permissions.
1919
runAsUser: 472
2020
fsGroup: 472
2121
containers:

deploy/kubernetes/observability/prometheus/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ spec:
1717
serviceAccountName: prometheus
1818
securityContext:
1919
runAsNonRoot: true
20+
# Run as user 'nobody' and group 'nobody' for enhanced security
2021
runAsUser: 65534
2122
fsGroup: 65534
2223
containers:

0 commit comments

Comments
 (0)