Order of ConfigMaps and Secrets
如果出于某种原因,您启用了 ConfigMap 和 secret,且它们之间存在公共属性,则 ConfigMap 中的值具有更高的优先级。也就是说:它将覆盖在 secret 中找到的任何值。
If, for whatever reason, you enabled both configmaps and secrets, and there is a common property between them, the value from the ConfigMap will have a higher precedence. That is: it will override whatever values are found in secrets.