Skip to content

Commit

Permalink
specify nonroot uid for manager
Browse files Browse the repository at this point in the history
  • Loading branch information
harpratap committed Aug 11, 2020
1 parent f7a3b65 commit ac14fa8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/plugin/v2/scaffolds/internal/templates/manager/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ spec:
labels:
control-plane: controller-manager
spec:
securityContext:
runAsUser: 1337
containers:
- command:
- /manager
Expand Down

0 comments on commit ac14fa8

Please sign in to comment.