Spring Cloud Kubernetes Kubernetes PropertySource implementations Order of ConfigMaps and Secrets 如果出于某种原因,您同时启用了 configmap 和 secrets,并且它们之间存在公共属性,则 ConfigMap 中的值将具有更高的优先级。也就是说:它将覆盖在 secret 中找到的任何值。spring-doc.cn Spring Cloud Kubernetes Kubernetes PropertySource 实现 ConfigMap 和 Secret 的顺序 Namespace 解析 PropertySource 重新加载