BLasan commented on a change in pull request #1583:
URL: https://github.com/apache/fineract/pull/1583#discussion_r559539660



##########
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:
       Actually these usernames and passwords will be saved as secrets.  But 
anyway you can get those values by running the command `kubectl get 
secrets/fineract-tenants-db-secret --template={{.data.password}} | base64 
--decode` . And the problem in here is that when we use a random password, 
after restarting the container we'll be getting access denied issue. 




----------------------------------------------------------------
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]


Reply via email to