Skip to content
Snippets Groups Projects
Unverified Commit d27cf375 authored by Kenichi Omichi's avatar Kenichi Omichi Committed by GitHub
Browse files

Remove allowPrivilegeEscalation from metrics-server (#8014)

"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
parent 432a312a
No related branches found
No related tags found
No related merge requests found
...@@ -67,7 +67,6 @@ spec: ...@@ -67,7 +67,6 @@ spec:
failureThreshold: 3 failureThreshold: 3
initialDelaySeconds: 40 initialDelaySeconds: 40
securityContext: securityContext:
allowPrivilegeEscalation: false
capabilities: capabilities:
drop: ["all"] drop: ["all"]
add: ["NET_BIND_SERVICE"] add: ["NET_BIND_SERVICE"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment