确保已安装最新版本的Helm工具,并且已正确配置本地仓库地址。
将Orion的本地tgz文件添加到Helm仓库中:
$ helm repo index /path/to/local/repo --url file://path/to/local/repo
安装Orion时指定仓库地址:
$ helm install --repo /path/to/local/repo orion
如果helm chart文件中引用了本地文件,请使用“--set”选项指定文件路径:
$ helm install --set file_path=/path/to/local/file orion
例如:
values.yaml文件内容: config: file_path: /path/to/local/file
$ helm install --values values.yaml orion