Skip to content

Commit

Permalink
tested different way of setting the securityContext
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Aug 24, 2023
1 parent f3889fc commit 6db865f
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ spec:
app.kubernetes.io/part-of: tum-campus-app
app.kubernetes.io/name: backend-v2
spec:
securityContext:
runAsUser: appuser
runAsGroup: users
volumes:
- name: storage-vol
persistentVolumeClaim:
Expand Down Expand Up @@ -74,6 +71,8 @@ spec:
name: http
securityContext:
runAsNonRoot: true
runAsUser: appuser
runAsGroup: users
readOnlyRootFilesystem: true
resources:
requests:
Expand Down

0 comments on commit 6db865f

Please sign in to comment.