Skip to content

Commit

Permalink
[prometheus-adapter] Fix security context capabilities (prometheus-co…
Browse files Browse the repository at this point in the history
…mmunity#3952)

K8s Pod security standards capabilities should be all uppercase

Signed-off-by: Krishna <[email protected]>
Signed-off-by: drfaust92 <[email protected]>
Signed-off-by: Ilia Lazebnik <[email protected]>
Co-authored-by: Ilia Lazebnik <[email protected]>
  • Loading branch information
2 people authored and Matiasmct committed Mar 20, 2024
1 parent 9e786d7 commit d93d707
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/prometheus-adapter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: prometheus-adapter
version: 4.8.0
version: 4.8.1
appVersion: v0.11.1
description: A Helm chart for k8s prometheus adapter
home: https://github.com/kubernetes-sigs/prometheus-adapter
Expand Down
2 changes: 1 addition & 1 deletion charts/prometheus-adapter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ podSecurityContext:
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop: ["all"]
drop: ["ALL"]
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 10001
Expand Down

0 comments on commit d93d707

Please sign in to comment.