[英]Skaffold with helm fails to parse artifactOverrides
My skaffold.yaml我的脚手架.yaml
apiVersion: skaffold/v1
kind: Config
build:
artifacts:
- image: tons/whoami-mn
jib: {}
tagPolicy:
gitCommit: {}
deploy:
helm:
releases:
- name: whoami-mn
chartPath: ./k8s/helm/whoami-mn
artifactOverrides:
image.repository: tons/whoami-mn
The command命令
skaffold dev --port-forward --namespace whoami-mn
The error错误
parsing skaffold config: unable to parse config: yaml: unmarshal errors:
line 11: field artifactOverrides not found in type v1.HelmRelease
Skaffold version: v1.13.1支架版本:v1.13.1
Helm version: v3.3.0 Helm 版本:v3.3.0
Any idea why I'm getting the above error?知道为什么我会收到上述错误吗? Please let me know if I should post other parts of my code请让我知道我是否应该发布我的代码的其他部分
apiVersion: skaffold/v2beta6
was the key to it. apiVersion: skaffold/v2beta6
是它的关键。
In the future you can also try the skaffold fix
command to find ways to update your schema automatically.将来您还可以尝试使用skaffold fix
命令来寻找自动更新架构的方法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.