Skip to content
Snippets Groups Projects
Unverified Commit 2147ea00 authored by Kemal Akkoyun's avatar Kemal Akkoyun Committed by GitHub
Browse files

Merge pull request #2422 from philipgough/ci-fix

ci: Add runAsGroup for blackbox exporter containers
parents 2a07e457 d1ec0ab3
No related branches found
No related tags found
No related merge requests found
...@@ -183,6 +183,7 @@ function(params) { ...@@ -183,6 +183,7 @@ function(params) {
} else { } else {
runAsNonRoot: true, runAsNonRoot: true,
runAsUser: 65534, runAsUser: 65534,
runAsGroup: 65534,
allowPrivilegeEscalation: false, allowPrivilegeEscalation: false,
readOnlyRootFilesystem: true, readOnlyRootFilesystem: true,
capabilities: { drop: ['ALL'] }, capabilities: { drop: ['ALL'] },
...@@ -205,6 +206,7 @@ function(params) { ...@@ -205,6 +206,7 @@ function(params) {
securityContext: { securityContext: {
runAsNonRoot: true, runAsNonRoot: true,
runAsUser: 65534, runAsUser: 65534,
runAsGroup: 65534,
allowPrivilegeEscalation: false, allowPrivilegeEscalation: false,
readOnlyRootFilesystem: true, readOnlyRootFilesystem: true,
capabilities: { drop: ['ALL'] }, capabilities: { drop: ['ALL'] },
......
...@@ -48,6 +48,7 @@ spec: ...@@ -48,6 +48,7 @@ spec:
drop: drop:
- ALL - ALL
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
runAsGroup: 65534
runAsNonRoot: true runAsNonRoot: true
runAsUser: 65534 runAsUser: 65534
volumeMounts: volumeMounts:
...@@ -72,6 +73,7 @@ spec: ...@@ -72,6 +73,7 @@ spec:
drop: drop:
- ALL - ALL
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
runAsGroup: 65534
runAsNonRoot: true runAsNonRoot: true
runAsUser: 65534 runAsUser: 65534
terminationMessagePath: /dev/termination-log terminationMessagePath: /dev/termination-log
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment