首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >解决错误不能为非函数hasKey提供参数

解决错误不能为非函数hasKey提供参数
EN

Stack Overflow用户
提问于 2021-08-06 11:31:24
回答 1查看 775关注 0票数 0

我无法找到有关此错误的任何信息;我正在尝试用helm图表( v3.0.3 )安装GitLab特定版本(12.7.5),并继续接收此错误。

错误:模板:gitlab/template/NOTES.txt:39:3:执行“gitlab/gitlab.deprecations/NOTES.txt”在:

错误调用包括: template: gitlab/template/_dedications.tpl:31:39:

在处执行”gitlab.deprecate.registry.replicas“:

错误调用包括: template: gitlab/template/_dedications.tpl:135:7:

执行"gitlab.deprecate.registry.replicas“at <(hasKey .Values.registry "minReplicas")或(hasKey .Values.registry "maxReplicas")>:不能为非函数hasKey .Values.registry "minReplicas”提供参数

helm.go:88: debug模板:gitlab/template/NOTES.txt:39:3:在处执行”gitlab/template/NOTES.txt“:

错误调用包括: template: gitlab/template/_dedications.tpl:31:39:

在处执行”gitlab.deprecate.registry.replicas“:

错误调用包括: template: gitlab/template/_dedications.tpl:135:7:执行"gitlab.deprecate.registry.replicas“at <(hasKey .Values.registry "minReplicas")或(hasKey .Values.registry "maxReplicas")>:

不能对非函数hasKey .Values.registry "minReplicas“进行论证。

有人能告诉我怎么处理这件事吗?

舵机版本

{版本:“v3.6.3”,GitCommit:"d506314abfb5d21419df8c7e7e68012379db2354",GitTreeState:“干净”,GoVersion:"go1.16.5"}

Kubernetes版本

客户端版本: GitCommit:"092fbfbf53427de67cac1e9fa54aaa09a28371d7",{主:“1”,小调:“21”,GitVersion:"v1.21.2",version.Info GitTreeState:“干净”,BuildDate:"2021-06-16T12:59:11Z",GoVersion:"go1.16.5",编译器:“gc”,平台:“linux/amd64 64”}服务器版本:version.Info{18:“1”,未成年人:“18”,GitVersion:"v1.18.6",GitCommit:"dff82dc0de47299ab66c83c626e08b245ab19037",GitTreeState:“干净”,BuildDate:"2020-07-15T16:51:04Z",GoVersion:"go1.13.9",编译器:“gc”,平台:“linux/amd64 64”}

EN

回答 1

Stack Overflow用户

发布于 2021-08-10 19:06:47

结果发现,在该特定版本的舵机图表(v3.0.3)中存在缺陷。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/68680877

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档