Skip to content

Commit

Permalink
Merge pull request #2428 from philipgough/ci-fix-prom
Browse files Browse the repository at this point in the history
ci: Add runAsGroup for prom operator Deployment
  • Loading branch information
kakkoyun committed May 24, 2024
2 parents c523c26 + e8f461b commit 01c0e7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ function(params)
template+: {
spec+: {
automountServiceAccountToken: true,
securityContext+: {
runAsGroup: 65534,
},
containers+: [kubeRbacProxy],
},
},
Expand Down
1 change: 1 addition & 0 deletions manifests/prometheusOperator-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ spec:
nodeSelector:
kubernetes.io/os: linux
securityContext:
runAsGroup: 65534
runAsNonRoot: true
runAsUser: 65534
seccompProfile:
Expand Down

0 comments on commit 01c0e7d

Please sign in to comment.