Skip to content

Commit

Permalink
Remove allowPrivilegeEscalation from metrics-server (kubernetes-sigs#…
Browse files Browse the repository at this point in the history
…8014) (kubernetes-sigs#8025)

"allowPrivilegeEscalation: false" blocks deploying metrics-server
on CentOS7. In addition, the original metrics-server manifest doesn't
contain it as [1]. This removes it.

[1]: https://github.com/kubernetes-sigs/metrics-server/blob/527679e5e8a103919c935d0575c20741796bc25d/manifests/base/deployment.yaml
  • Loading branch information
oomichi authored and shikaiwen committed Mar 2, 2023
1 parent 54bdfab commit 81c7a3c
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ spec:
failureThreshold: 3
initialDelaySeconds: 40
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop: ["all"]
add: ["NET_BIND_SERVICE"]
Expand Down

0 comments on commit 81c7a3c

Please sign in to comment.