javax4u / cka

certified kubernates administrator
Apache License 2.0
0 stars 0 forks source link

Currently, the webapp-deployment is running with below sensitive database #3

Open javax4u opened 2 months ago

javax4u commented 2 months ago

Currently, the webapp-deployment is running with below sensitive database environment variables directly embedded in the deployment YAML. To enhance security and protect the sensitive data, perform the following steps: Create a Kubernetes Secret named db-secret with the sensitive database environment variable values(base64):

Update the webapp-deployment to load the sensitive database environment variables from the newly created db-secret Secret.