Reputation: 15
I am new to kubernetes and I am not able to understand what is the use of secrets in kubernetes, can anybody tell me why secrets are used and what is the purpose of secrets?
Upvotes: 0
Views: 64
Reputation: 17621
Secrets are used to manage sensitive information like database passwords, user credentials, ssl certificates etc.
It would help you decouple the sensitive information from the builds. You can bind the secrets as volume or environment variables in the pod at run time
Upvotes: 2