removed CAP_ from node-exporter daemonset
This commit is contained in:
@@ -185,7 +185,7 @@ function(params) {
|
||||
securityContext: {
|
||||
allowPrivilegeEscalation: false,
|
||||
readOnlyRootFilesystem: true,
|
||||
capabilities: { drop: ['ALL'], add: ['CAP_SYS_TIME'] },
|
||||
capabilities: { drop: ['ALL'], add: ['SYS_TIME'] },
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ spec:
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
add:
|
||||
- CAP_SYS_TIME
|
||||
- SYS_TIME
|
||||
drop:
|
||||
- ALL
|
||||
readOnlyRootFilesystem: true
|
||||
|
||||
Reference in New Issue
Block a user