Q: 5
a. Retrieve the content of the existing secret named default-token-xxxxx in the testing namespace. Store the value of the token in the token.txt b. Create a new secret named test-db-secret in the DB namespace with the following content: username: mysql password: password@123 Create the Pod name test-db-pod of image nginx in the namespace db that can access test-db-secret via a volume at path /etc/mysql-credentials
Your Answer
Discussion
Secret names can be tricky if they auto-generate, but D fits the needed steps.
These YAML/secret questions always feel like a pain, but it's D.
Its D (pretty sure but always double check with kubectl docs and practice labs for these YAML tasks).
Be respectful. No spam.