网站模板下载百度云链接怎么做,安卓 wordpress 源码分析,如何组做网站,唐山做网站价格.helmignore文件 .helmignore文件用来指定您不想包含在您的helm chart中的文件。
如果该文件存在#xff0c;helm package命令会在打包应用时忽略所有在.helmignore文件中匹配的文件。
有助于避免不需要的或敏感文件及目录添加到您的helm chart中。
.helmignore文件支持Uni….helmignore文件 .helmignore文件用来指定您不想包含在您的helm chart中的文件。
如果该文件存在helm package命令会在打包应用时忽略所有在.helmignore文件中匹配的文件。
有助于避免不需要的或敏感文件及目录添加到您的helm chart中。
.helmignore文件支持Unix shell的全局匹配相对路径匹配以及反向匹配以作为前缀。每行只考虑一种模式。
这里是一个.helmignore文件示例
# comment # Match any file or path named .helmignore
.helmignore # Match any file or path named .git
.git # Match any text file
*.txt # Match only directories named mydir
mydir/ # Match only text files in the top-level directory
/*.txt # Match only the file foo.txt in the top-level directory
/foo.txt # Match any file named ab.txt,ac.txt,or ad.txt
a[b-d].txt # Match any file under subdir matching temp*
*/temp* */*/temp*
temp?
# comment# Match any file or path named .helmignore
.helmignore# Match any file or path named .git
.git# Match any text file
*.txt# Match only directories named mydir
mydir/# Match only text files in the top-level directory
/*.txt# Match only the file foo.txt in the top-level directory
/foo.txt# Match any file named ab.txt, ac.txt, or ad.txt
a[b-d].txt# Match any file under subdir matching temp*
*/temp**/*/temp*
temp?
一些值得注意的和.gitignore不同之处
1、不支持‘**’语法。
2、globbing库是Go的filepath.Match不是fnmatch(3)
3、末尾空格总会被忽略不支持转义序列
4、不支持!作为特殊的引导序列
5、默认不会排除自身需要显示添加.helmignore
我们需要您的帮助使该文档更好。添加、修正或移除信息提交问题 或者发起PR。
https://github.com/helm/helm-www/issues ————————————
仅用于本人学习
来源Helm | Docs