- Home
- All questions
- Question 971
CKA study material · question 971 of 1000
kubectl create secret generic tls-bundle --from-file=/certs/server.pem is run. What key is created?
Show the answer
Answer: D. server.pem
The key defaults to the file's basename; a different key is chosen by writing the argument as key=path.
Source: kubectl create secret generic (Kubernetes) — Synopsis