InChart.yaml
我有kubeVersion: ">=1.10.1"
群集节点的版本低于
v1.18.0-rc.1
并且 helm 安装失败并显示错误
Error: chart requires kubeVersion: >=1.10.1 which is incompatible with Kubernetes v1.18.0-rc.1
我尝试将 kubeVersion 更改为1.10.1-rc.1
但出现了一些新错误
error unmarshaling JSON: while decoding JSON: json: cannot unmarshal bool into Go value of type releaseutil.SimpleHead
# helm version
version.BuildInfo{Version:"v3.1.2", GitCommit:"d878d4d45863e42fd5cff6743294a11d28a9abce", GitTreeState:"clean", GoVersion:"go1.13.8"}
要允许预发行版(例如 rc(,至少在 Helm 中,约束后缀需要-0
。例如,>=1.20.0-0
将允许大于或等于 1.20.0 的版本,包括任何预发行版。