Skip to content

Commit

Permalink
use distroless noroot user and group
Browse files Browse the repository at this point in the history
  • Loading branch information
wasaga committed Jan 29, 2024
1 parent 1f91b2e commit 51a09d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config/pomerium/deployment/no-root.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ spec:
securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
runAsGroup: 1000
runAsUser: 1000
runAsGroup: 65532
runAsUser: 65532
4 changes: 2 additions & 2 deletions deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -622,9 +622,9 @@ spec:
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
runAsGroup: 1000
runAsGroup: 65532
runAsNonRoot: true
runAsUser: 1000
runAsUser: 65532
volumeMounts:
- mountPath: /tmp
name: tmp
Expand Down

0 comments on commit 51a09d8

Please sign in to comment.