[BUG][OpenSearch] Init container running as root #656
Labels
bug
Something isn't working
good first issue
Good for newcomers
Mend: configuration error
Mend configuration error
Describe the bug
In the opensearch helm chart there are 2 init containers running as root (user 0). The fsgroup-volume and the sysctl. These two init containers can be modified to run as user 1000 / group 1000 and will then no longer need to run as 0.
These security contexts should ultimately be able to be modified/controlled via the values file for easier modifications.
To Reproduce
N/A
Expected behavior
Init containers should not be running as root.
Chart Name
Opensearch (statefulset.yaml)
Screenshots
Host/Environment (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: