我无法找到有关此错误的任何信息;我正在尝试用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”}
发布于 2021-08-10 19:06:47
结果发现,在该特定版本的舵机图表(v3.0.3)中存在缺陷。
https://stackoverflow.com/questions/68680877
复制相似问题