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
7c715c81
Unverified
Commit
7c715c81
authored
Feb 14, 2022
by
Philip Gough
Committed by
GitHub
Feb 14, 2022
Browse files
Options
Downloads
Plain Diff
Merge pull request #1624 from ArthurSens/grafana-volume
Add extra-volume mount for plugins downloads
parents
bb850800
43879b52
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/grafana.libsonnet
+9
-0
9 additions, 0 deletions
jsonnet/kube-prometheus/components/grafana.libsonnet
manifests/grafana-deployment.yaml
+5
-0
5 additions, 0 deletions
manifests/grafana-deployment.yaml
with
14 additions
and
0 deletions
jsonnet/kube-prometheus/components/grafana.libsonnet
+
9
−
0
View file @
7c715c81
...
...
@@ -100,7 +100,16 @@ function(params)
readOnlyRootFilesystem
:
true
,
capabilities
:
{
drop
:
[
'ALL'
]
},
},
volumeMounts
+:
[{
mountPath
:
'/tmp'
,
name
:
'tmp-plugins'
,
readOnly
:
false
,
}],
},
super
.
containers
),
volumes
+:
[{
name
:
'tmp-plugins'
,
emptyDir
:
{},
}],
},
},
},
...
...
This diff is collapsed.
Click to expand it.
manifests/grafana-deployment.yaml
+
5
−
0
View file @
7c715c81
...
...
@@ -137,6 +137,9 @@ spec:
-
mountPath
:
/etc/grafana
name
:
grafana-config
readOnly
:
false
-
mountPath
:
/tmp
name
:
tmp-plugins
readOnly
:
false
nodeSelector
:
kubernetes.io/os
:
linux
securityContext
:
...
...
@@ -228,3 +231,5 @@ spec:
-
name
:
grafana-config
secret
:
secretName
:
grafana-config
-
emptyDir
:
{}
name
:
tmp-plugins
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