error calling ne: incompatible types for comparison

执行:

helm upgrade ingress-nginx -n ingress-nginx -f values.yaml ingress-nginx-4.11.5.tgz

报错:

Error: UPGRADE FAILED: template: ingress-nginx/templates/controller-role.yaml:48:9: executing "ingress-nginx/templates/controller-role.yaml" at <ne (index .Values.controller.extraArgs "update-status") "false">: error calling ne: incompatible types for comparison

分析:

这个错误表明 Helm Chart 模板 ingress-nginx/templates/controller-role.yaml 在解析 update-status 参数时,遇到了类型不兼容的问题。

查看:支持的版本表

ingress-nginx 【Supported Versions table】

解决:

helm version 版本过低 升级

直接覆盖安装

1.  自动下载最新的 Helm 3 并覆盖旧版本,无需手动卸载

curl -fsSL https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash

2.   检查升级是否成功

helm version

3.  如果版本没有变,可能是系统仍在使用旧的 Helm,运行:

hash -r

然后重新检查 helm version

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值