Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions apps/sample-app/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,21 @@ spec:
labels:
app: sample-app
spec:
securityContext:
runAsNonRoot: true
runAsUser: 1000
runAsGroup: 1000
seccompProfile:
type: RuntimeDefault
containers:
- name: sample-app
image: ghcr.io/david-uka/sample-app:latest
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop:
- ALL
Comment thread
David-Uka marked this conversation as resolved.
ports:
- containerPort: 8080
env:
Expand Down
Loading