Skip to content

Commit

Permalink
feat: support a more secure security-context
Browse files Browse the repository at this point in the history
  • Loading branch information
Apollorion committed Sep 17, 2024
1 parent 1525632 commit 0d7b3fd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions spacelift-promex/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,15 @@ spec:
ports:
- name: metrics
containerPort: 9953
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
runAsNonRoot: true
seccompProfile:
type: "RuntimeDefault"
runAsUser: 1983
readinessProbe:
httpGet:
path: /health
Expand Down

0 comments on commit 0d7b3fd

Please sign in to comment.