Helm: coalesce.go:196: 警告: 不能用非表覆盖 env 的表(map[])



当我运行helm install myproject ./myproject --namespace mynamespace时,我总是收到这些警告,即使我删除了所有模板。

coalesce.go:196: warning: cannot overwrite table with non table for env (map[])
coalesce.go:196: warning: cannot overwrite table with non table for env (map[])
coalesce.go:196: warning: cannot overwrite table with non table for env (map[])
NAME: myproject
LAST DEPLOYED: Tue Jan 28 17:48:30 2020
NAMESPACE: mynamespace
STATUS: deployed
REVISION: 1

我的版本:

kubectl version
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.0", GitCommit:"70132b0f130acc0bed193d9ba59dd186f0e634cf", GitTreeState:"clean", BuildDate:"2019-12-07T21:20:10Z", GoVersion:"go1.13.4", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.7", GitCommit:"6c143d35bb11d74970e7bc0b6c45b6bfdffc0bd4", GitTreeState:"clean", BuildDate:"2019-12-11T12:34:17Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}
helm version
version.BuildInfo{Version:"v3.0.2", GitCommit:"19e47ee3283ae98139d98460de796c1be1e3975f", GitTreeState:"clean", GoVersion:"go1.13.5"}

它们意味着什么?

如果您提供掌舵图会有所帮助,但我猜您可能有一个掌舵图,其中默认env未列为列表。

这意味着,没有 env 的掌舵图应具有以下内容:

env: []

例如,如果您env: {},则会遇到上述错误。

最新更新