This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable Elasticsearch running as non-root without any extra capabiliti…
…es or privileges (#703) * Enable running OD-ES as non-root via helm By setting a securityContext for the pod, disabling initContainers and not giving SYS_CHROOT cap (both of which might not even be required anyway) it is possible to run as non-root. The "fixmount" initContainer is not required if a fsGroup is set via securityContext. The "SYS_CHROOT" cap does not appear to be required any more. Example parameters for this setup are given in values-nonroot.yaml Signed-off-by: Tim Rice <[email protected]> * document new parameters Signed-off-by: Tim Rice <[email protected]> * rename helm variable 'elasticsearch.securityContext' to 'elasticsearch.securityContextCustom' Signed-off-by: Tim Rice <[email protected]> Co-authored-by: Tim Rice <[email protected]>
- Loading branch information
Showing
6 changed files
with
600 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
Oops, something went wrong.