Skip to content

Commit

Permalink
add allowPrivilegeEscalation: false to securityContext for metrics 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rayandas committed Sep 16, 2022
1 parent 3cc288b commit bfd3683
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rke/templates/metrics_v0.5.0.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ spec:
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 1000
allowPrivilegeEscalation: false
volumeMounts:
- mountPath: /tmp
name: tmp-dir
Expand Down

0 comments on commit bfd3683

Please sign in to comment.