Skip to content

Instantly share code, notes, and snippets.

View pharshavreddy's full-sized avatar

pharshavreddy

View GitHub Profile
Questions are not from any actual exam!!!
Q: Create a secret that has the following username password data:
username=missawesome
password=123kube321
Create a pod running nginx that has access to those data items in a volume mount path at /tmp/secret-volume
log into the nginx pod you created and list the items and cat the output of the data items to a file "credentials.txt"