Skip to content

Commit

Permalink
use distroless noroot user and group (#878)
Browse files Browse the repository at this point in the history
  • Loading branch information
wasaga authored Jan 31, 2024
1 parent ec5cd28 commit ce9df0d
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 ce9df0d

Please sign in to comment.