BLasan commented on a change in pull request #1583:
URL: https://github.com/apache/fineract/pull/1583#discussion_r559565081
##########
File path: kubernetes/kubectl-startup.sh
##########
@@ -19,7 +19,7 @@
#
echo "Setting Up Fineract service configuration..."
-kubectl create secret generic fineract-tenants-db-secret
--from-literal=username=root --from-literal=password=$(head /dev/urandom | tr
-dc A-Za-z0-9 | head -c 16)
+kubectl create secret generic fineract-tenants-db-secret
--from-literal=username=root --from-literal=password=root
Review comment:
I have introduced an initcontainer instead of hardcoding the password.
So before the container creation it will bind /var/lib/mysql directory which
could help us to get rid of this "Access Denied" issue after restarting the
container
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]