Skip to content

Commit

Permalink
Try to ensure we're always using the right user/group
Browse files Browse the repository at this point in the history
  • Loading branch information
myieye committed May 16, 2024
1 parent c9c16a2 commit 1c568df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deployment/base/hg-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ spec:
spec:
securityContext:
fsGroup: 33
runAsUser: 33
runAsGroup: 33 # www-data
runAsNonRoot: true
containers:
- name: hgweb
image: ghcr.io/sillsdev/lexbox-hgweb:latest
Expand Down Expand Up @@ -176,6 +179,7 @@ spec:
securityContext:
runAsUser: 33
runAsGroup: 33 # www-data
runAsNonRoot: true
image: busybox:1.36.1
command:
- 'sh'
Expand Down
1 change: 1 addition & 0 deletions deployment/init-repos/hg-deployment-patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ spec:
securityContext:
runAsUser: 33
runAsGroup: 33 # www-data
runAsNonRoot: true
image: busybox:1.36.1
command:
- 'sh'
Expand Down

0 comments on commit 1c568df

Please sign in to comment.