解决错误无法为非函数 hasKey 提供参数



我找不到关于这个错误的任何信息;我试图安装GitLab特定版本(12.7.5)与helm chart (v3.0.3)一直收到这个错误。

错误:template: gitlab/templates/NOTES.txt:39:3:正在执行"gitlab/templates/NOTES.txt"include "gitlab.deprecations".>:
调用include: template: gitlab/templates/_deprecations出错。Tpl:31:39:
正在执行"gitlab.deprecations"gitlab. deprecated .registry.replicas".>:
调用include: template: gitlab/templates/_deprecations出错。Tpl:135:7:
正在执行"gitlab. deprecte .registry.replicas"<(hasKey . values;registry "minReplicas")或(hasKey . values。registry "maxReplicas")>:不能给非函数hasKey . values参数。registry "minReplicas">
helm。go:88:[调试]template: gitlab/templates/NOTES.txt:39:3:执行"gitlab/templates/NOTES.txt"include "gitlab.deprecations".>:
调用include: template: gitlab/templates/_deprecations出错。Tpl:31:39:
正在执行"gitlab.deprecations"gitlab. deprecated .registry.replicas".>:
调用include: template: gitlab/templates/_deprecations出错。Tpl:135:7:执行gitlab. deprecte .registry.replicas;<(hasKey . values;registry "minReplicas")或(hasKey . values。registry "maxReplicas")>:
不能给非函数hasKey . values参数。注册"minReplicas">

谁能告诉我怎么处理这个?Helm Version
{Version: v3.6.3", GitCommit:"d506314abfb5d21419df8c7e7e68012379db2354", GitTreeState:"clean", GoVersion:"go1.16.5"}

Kubernetes版本
客户端版本:Version . info {Major:"1" Minor:"21", GitVersion:"v1.21.2", GitCommit:" 092fbf53427de67cac1e9fa54aaa09a28371d7 ", GitTreeState:"clean", BuildDate:" 20121-06-16t12:59:11 z", GoVersion:"go1.16.5",编译器:"gc",平台:"linux/amd64"}服务器版本号:Version . info {Major:"1" Minor:"18", GitVersion:"v1.18.6", GitCommit:"dff82dc0de47299ab66c83c626e08b245ab19037", GitTreeState:"clean", BuildDate:"2020-07-15 t16:51:04 ", GoVersion:"go1.13.9",编译器:"gc",平台:"linux/amd64"}

原来在那个特定版本的helm chart (v3.0.3)中有一个bug

相关内容

  • 没有找到相关文章

最新更新