Kubernetes - sharing secret across namespaces
问题 Is there a way to share secrets across namespaces in Kubernetes? My use case is: I have the same private registry for all my namespaces and I want to avoid creating the same secret for each. Thanks for your help. 回答1: Secret API objects reside in a namespace. They can only be referenced by pods in that same namespace. Basically, you will have to create the secret for every namespace. https://kubernetes.io/docs/concepts/configuration/secret/#details 回答2: They can only be referenced by pods in