头盔安装"unknown flag: --output"



helm install myChart-0.0.1.tgz --output json结果为Error: unknown flag: --output

我使用头盔版本v2.14.3.根据文档 https://helm.sh/docs/helm/#helm-install 这应该有效。其他标志似乎工作正常。例如helm install myChart-0.0.1.tgz --namespace test-ns --set random.variable="debug" --name mychart

该文档还说明了架构helm install [CHART] [flags], 虽然它的示例表明我的测试中的架构helm install [flags] [CHART]似乎都有效,但不接受输出标志。

输出标志添加了提交 a52d6de9e17fc4dda4928f0029362e9be075aa24,该标志仅存在于release-2.15分支中。文档是从 master 生成的,因此它已经具有选项,但您的版本还没有。

您当前的版本不支持--output标志,要使用它,请将您的 helm 版本升级到v2.15.0.

来自: V2.15.0 更新日志

Introduced --output to helm repo list, helm search, and helm install

相关内容

最新更新