簡體   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