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]: 527679e5e8/manifests/base/deployment.yaml
pull/8029/head
parent
432a312a35
commit
d27cf375af
|
@ -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"]
|
||||||
|
|
Loading…
Reference in New Issue