Skip to content

Commit

Permalink
[kube-state-metrics] set parameters for podsecurity restricted (prome…
Browse files Browse the repository at this point in the history
…theus-community#3194)

Signed-off-by: Pat Riehecky <riehecky@fnal.gov>
Co-authored-by: Manuel Rüger <manuel@rueg.eu>
  • Loading branch information
2 people authored and Matiasmct committed May 16, 2023
1 parent 61e752d commit 2b5e9ea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/kube-state-metrics/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ keywords:
- prometheus
- kubernetes
type: application
version: 5.3.0
version: 5.4.0
appVersion: 2.8.2
home: https://github.com/kubernetes/kube-state-metrics/
sources:
Expand Down
7 changes: 7 additions & 0 deletions charts/kube-state-metrics/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,14 @@ securityContext:
enabled: true
runAsGroup: 65534
runAsUser: 65534
runAsNonRoot: true
fsGroup: 65534
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
seccompProfile:
type: RuntimeDefault

## Specify security settings for a Container
## Allows overrides and additional options compared to (Pod) securityContext
Expand Down

0 comments on commit 2b5e9ea

Please sign in to comment.