Setting Up the Foundation: Kubernetes Manifests
41%
Ignoring Sensitive Data from SCM
In the above steps, we have created a sensitive file called menu-secret.yaml that contains the database URL with the username and password. For security reasons, we should ignore this file in the Git repository. We can do this by updating the .gitignore file in the RestQR directory:
cat <>$HOME/RestQR/.gitignore
# Ignore the menu secret file
menu-secret.yaml
EOF
We should also ignore the PostgreSQL secret file:
DevSecOps in Practice
A Hands-On Guide to Operationalizing DevSecOps at ScaleEnroll now to unlock current content and receive all future updates for free. Your purchase supports the author and fuels the creation of more exciting content. Act fast, as the price will rise as the course nears completion!
