Skip to content

Commit dc6f5d1

Browse files
Update migrator.yaml
1 parent 663fc3d commit dc6f5d1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

manifests/yamls/migrator.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ spec:
7474
initContainers:
7575
- name: postgresql-migrate-casbin
7676
image: quay.io/devtron/migrator:ec1dcab8-149-13278
77+
securityContext:
78+
allowPrivilegeEscalation: false
79+
runAsUser: 1000
80+
runAsNonRoot: true
7781
env:
7882
- name: SCRIPT_LOCATION
7983
value: scripts/casbin/

0 commit comments

Comments
 (0)