-
Notifications
You must be signed in to change notification settings - Fork 674
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define Flyte agent pod and container securityContext
- Follow security best practices and allow for more granular configuration. Right now, the default flyteagent container cannot run with the following desirable podSecurityContext: runAsNonRoot: true runAsUser: XXX The container crashes on startup It would also be desirable to set a container securityContext with: capabilities: drop: - ALL The container launched with caps dropped, but I wasn't familiar enough with the code in that container to know if that will actually work, so didn't set a default Signed-off-by: ddl-ebrown <[email protected]>
- Loading branch information
1 parent
fb9ffd5
commit 6376a60
Showing
4 changed files
with
18 additions
and
0 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
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