mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-26 22:42:52 +03:00
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
This commit is contained in:
@@ -67,7 +67,6 @@ spec:
|
||||
failureThreshold: 3
|
||||
initialDelaySeconds: 40
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
drop: ["all"]
|
||||
add: ["NET_BIND_SERVICE"]
|
||||
|
||||
Reference in New Issue
Block a user