Skip to content

Commit

Permalink
Merge pull request #2423 from philipgough/ci-fix-grafana
Browse files Browse the repository at this point in the history
  • Loading branch information
kakkoyun authored May 13, 2024
2 parents e3afd46 + d0b0b0d commit cb55161
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jsonnet/kube-prometheus/components/grafana.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ function(params)
template+: {
spec+: {
automountServiceAccountToken: false,
securityContext+: {
runAsGroup: 65534,
},
},
},
},
Expand Down
1 change: 1 addition & 0 deletions manifests/grafana-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ spec:
kubernetes.io/os: linux
securityContext:
fsGroup: 65534
runAsGroup: 65534
runAsNonRoot: true
runAsUser: 65534
serviceAccountName: grafana
Expand Down

0 comments on commit cb55161

Please sign in to comment.