stacksimplify / aws-eks-kubernetes-masterclass

AWS EKS Kubernetes - Masterclass | DevOps, Microservices
https://www.stacksimplify.com
1.38k stars 6.31k forks source link

issue in 06-EKS-Storage-with-RDS-Database #45

Open m-hamed-a opened 2 months ago

m-hamed-a commented 2 months ago

Hi bro in this part (06-EKS-Storage-with-RDS-Database), i think there is an issue To change the configs you just changed the user from root to dbadmin: 02-UserManagementMicroservice-Deployment-Service.yml

Change To

      - name: DB_USERNAME
        value: "dbadmin"      

I think you should also change it's hostname, in your senario you decided to connect with RDS database, but the hostname is still remained "mysql" and it will connect to your k8s-mysql isn't it?