Skip to main content
Solved

Kubernetes Questions of the day July 12


Geoff Burke
Forum|alt.badge.img+22

What are some methods that can be used to leverage secrets in a pod?

Best answer by Chris.Childerhose

You mount them as a data volume or expose them as environment variables in a pod.

View original
Did this topic help you find an answer to your question?

2 comments

Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 8502 comments
  • Answer
  • July 12, 2022

You mount them as a data volume or expose them as environment variables in a pod.


JMeixner
Forum|alt.badge.img+17
  • On the path to Greatness
  • 2650 comments
  • July 12, 2022
  • Secrets as namespaced objects.
  • Secret data stored in tmpfs in nodes.
  • API server stores secrets as plain text in etcd.
  • Or as @Chris.Childerhose said secrets data in environment variables

Comment