Skip to content

Commit 020bdb9

Browse files
authored
feat: support a more secure security-context (#76)
1 parent 1525632 commit 020bdb9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

spacelift-promex/templates/deployment.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,15 @@ spec:
4040
ports:
4141
- name: metrics
4242
containerPort: 9953
43+
securityContext:
44+
allowPrivilegeEscalation: false
45+
capabilities:
46+
drop:
47+
- ALL
48+
runAsNonRoot: true
49+
seccompProfile:
50+
type: "RuntimeDefault"
51+
runAsUser: 1983
4352
readinessProbe:
4453
httpGet:
4554
path: /health

0 commit comments

Comments
 (0)