[Feature Request]: Ability to add an initContainer
for the MySQL StatefulSet
#194
Labels
enhancement
New feature or request
initContainer
for the MySQL StatefulSet
#194
I am unable to run the MySQL database on the k8s cluster as the
mysql
user wherein I set thesecurityContext
torunAsUser
with ID999
, as available in themysql:8
image. Running as root is not an option either, due to security concerns.This is the log:
In order to circumvent this, I need to have an
initContainer
where I can override the file permissions on/var/lib/mysql
tochmod
it recursively with999:999
permissions.This is a request to add the ability to instantiate a new
initContainer
for the MySQL DB StatefulSet.The text was updated successfully, but these errors were encountered: