繁体   English   中英

Kubernetes image_pull_secrets 只使用来自同一个命名空间的秘密,有没有其他方法可以让秘密不需要创建到所有命名空间?

[英]Kubernetes image_pull_secrets only uses secret from same namespace, is there other way so the secret doesn't need to be created to all namespaces?

我来自以下线程并在评论中提出问题

https://stackoverflow.com/a/40997561/2641128

The only difference is that I actually WANT the secret to be in the default namespace as I don't want to create it for all namespaces. Is there a way to reference to a secret the default namespace while the ingress is created inside a namespace?

2021 年有解决此问题的方法吗?

什么都没有改变,秘密仍然是一个命名空间被告对象......

秘密限制

秘密资源驻留在命名空间中。 Secrets 只能被同一命名空间中的 Pod 引用。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM