【发布时间】:2021-09-12 13:48:51
【问题描述】:
我一直在尝试使用关键字needs(在doc 之后)来控制版本的安装顺序。
这是我的 helmfile:
helmDefaults:
createNamespace: false
timeout: 600
helmBinary: /usr/local/bin/helm
releases:
- name: dev-sjs-pg
chart: ../helm_charts/sjs-pg
- name: dev-sjs
chart: ../helm_charts/sjs
needs: ['dev-sjs-pgg']
关于版本:
helmfile version v0.139.9helm version.BuildInfo{Version:"v3.5.4", GitCommit:"1b5edb69df3d3a08df77c9902dc17af864ff05d1", GitTreeState:"clean", GoVersion:"go1.15.11"}
当我运行 helmfile sync 时,两个版本会同时安装。特别是,由于我的拼写错误(dev-sjs-pgg 而不是dev-sjs-pg),没有错误。就像needs 只是没有被阅读。
你能帮我理解我做错了什么吗?
【问题讨论】:
标签: helmfile