Skip to content

Commit

Permalink
Add security context (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
EarthlingDavey authored Dec 3, 2024
1 parent 348c176 commit e64998e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions deploy/development/deployment.tpl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ spec:
app: intranet-archive-dev
spec:
serviceAccountName: ${KUBE_NAMESPACE}-service
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
runAsNonRoot: true
seccompProfile:
type: "RuntimeDefault"
containers:
- name: intranet-archive
image: ${ECR_URL}:${IMAGE_TAG}
Expand Down

0 comments on commit e64998e

Please sign in to comment.