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
d0b0b0d0
Commit
d0b0b0d0
authored
10 months ago
by
Philip Gough
Browse files
Options
Downloads
Patches
Plain Diff
ci: Add runAsGroup for Grafana Deployment
parent
2147ea00
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
jsonnet/kube-prometheus/components/grafana.libsonnet
+3
-0
3 additions, 0 deletions
jsonnet/kube-prometheus/components/grafana.libsonnet
manifests/grafana-deployment.yaml
+1
-0
1 addition, 0 deletions
manifests/grafana-deployment.yaml
with
4 additions
and
0 deletions
jsonnet/kube-prometheus/components/grafana.libsonnet
+
3
−
0
View file @
d0b0b0d0
...
@@ -116,6 +116,9 @@ function(params)
...
@@ -116,6 +116,9 @@ function(params)
template
+:
{
template
+:
{
spec
+:
{
spec
+:
{
automountServiceAccountToken
:
false
,
automountServiceAccountToken
:
false
,
securityContext
+:
{
runAsGroup
:
65534
,
},
},
},
},
},
},
},
...
...
This diff is collapsed.
Click to expand it.
manifests/grafana-deployment.yaml
+
1
−
0
View file @
d0b0b0d0
...
@@ -152,6 +152,7 @@ spec:
...
@@ -152,6 +152,7 @@ spec:
kubernetes.io/os
:
linux
kubernetes.io/os
:
linux
securityContext
:
securityContext
:
fsGroup
:
65534
fsGroup
:
65534
runAsGroup
:
65534
runAsNonRoot
:
true
runAsNonRoot
:
true
runAsUser
:
65534
runAsUser
:
65534
serviceAccountName
:
grafana
serviceAccountName
:
grafana
...
...
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