-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run the service with the least privilege
Make the container run as user 1001 instead of user root. Configure SecurityContext to deploy the service in k8s using a non-root user. Allow running the service with the least privilege. Signed-off-by: [email protected] <[email protected]>
- Loading branch information
1 parent
b94ca50
commit a701364
Showing
2 changed files
with
14 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters