Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
kube-prometheus
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
prometheus-operator
kube-prometheus
Commits
3f1323da
Unverified
Commit
3f1323da
authored
Feb 16, 2022
by
Arthur Silva Sens
Committed by
GitHub
Feb 16, 2022
Browse files
Options
Downloads
Plain Diff
Merge pull request #1647 from wulfthimm/wth/fix-node-exp
Removed CAP_ from node-exporter daemonset
parents
5850e565
30bfd69c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
jsonnet/kube-prometheus/components/node-exporter.libsonnet
+1
-1
1 addition, 1 deletion
jsonnet/kube-prometheus/components/node-exporter.libsonnet
manifests/nodeExporter-daemonset.yaml
+1
-1
1 addition, 1 deletion
manifests/nodeExporter-daemonset.yaml
with
2 additions
and
2 deletions
jsonnet/kube-prometheus/components/node-exporter.libsonnet
+
1
−
1
View file @
3f1323da
...
@@ -185,7 +185,7 @@ function(params) {
...
@@ -185,7 +185,7 @@ function(params) {
securityContext
:
{
securityContext
:
{
allowPrivilegeEscalation
:
false
,
allowPrivilegeEscalation
:
false
,
readOnlyRootFilesystem
:
true
,
readOnlyRootFilesystem
:
true
,
capabilities
:
{
drop
:
[
'ALL'
],
add
:
[
'
CAP_
SYS_TIME'
]
},
capabilities
:
{
drop
:
[
'ALL'
],
add
:
[
'SYS_TIME'
]
},
},
},
};
};
...
...
This diff is collapsed.
Click to expand it.
manifests/nodeExporter-daemonset.yaml
+
1
−
1
View file @
3f1323da
...
@@ -48,7 +48,7 @@ spec:
...
@@ -48,7 +48,7 @@ spec:
allowPrivilegeEscalation
:
false
allowPrivilegeEscalation
:
false
capabilities
:
capabilities
:
add
:
add
:
-
CAP_
SYS_TIME
-
SYS_TIME
drop
:
drop
:
-
ALL
-
ALL
readOnlyRootFilesystem
:
true
readOnlyRootFilesystem
:
true
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment