Kubernetes - Secrets
Given this Pod spec snippet, what will be the value of environment variable
Assuming the Secret
DB_PASSWORD inside the container?env:
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
name: db-secret
key: passwordAssuming the Secret
db-secret has the key password with value supersecret123.