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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
prometheus-operator
kube-prometheus
Commits
30bfd69c
Commit
30bfd69c
authored
3 years ago
by
Wulf Thimm
Browse files
Options
Downloads
Patches
Plain Diff
removed CAP_ from node-exporter daemonset
parent
5850e565
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide 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 @
30bfd69c
...
@@ -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 @
30bfd69c
...
@@ -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
register
or
sign in
to comment