Feedback

Chat Icon

DevSecOps in Practice

A Hands-On Guide to Operationalizing DevSecOps at Scale

Setting Up the Foundation: Kubernetes Manifests
27%

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 Scale

Enroll now to unlock all content and receive all future updates for free.