本文介绍了错误:在Chart.yaml中找到,但在charts/目录中丢失:MySQL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经将MySQL添加到requirements s.yaml中。Helm Dependency下载MySQL图表
helm dependency update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "nginx" chart repository
...Successfully got an update from the "stable" chart repository
Update Complete. ⎈Happy Helming!⎈
Saving 1 charts
Downloading mysql from repo <our private repository>
Deleting outdated charts
但当我安装My_app_char../my_app_char../my_app_char..出现错误Error: found in Chart.yaml, but missing in charts/ directory: mysql
推荐答案
我更新了.helmIgnore
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
charts/
它包含图表/我删除了条目,它起作用了
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
这篇关于错误:在Chart.yaml中找到,但在charts/目录中丢失:MySQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!