Make Brownie to run in a less privileged environment - Executes only with ROOT today
karmops opened this issue · comments
karmops commented
Overview
Run an application that uses brownie in k8s using a security context
securityContext:
allowPrivilegeEscalation: false
runAsUser: 10001
runAsGroup: 10001
capabilities:
drop: ["ALL"]
Specification
securityContext:
allowPrivilegeEscalation: false
runAsUser: 10001
runAsGroup: 10001
capabilities:
drop: ["ALL"]
Result
Brownie only executes with the root user
seems cache.db
and topics.json
are created during the Brownie initialization.