帝國cms怎么做音樂網(wǎng)站如何查看一個網(wǎng)站的訪問量
.helmignore文件
.helmignore文件用來指定您不想包含在您的helm chart中的文件。
如果該文件存在,helm package命令會在打包應(yīng)用時忽略所有在.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、末尾空格總會被忽略(不支持轉(zhuǎn)義序列)
4、不支持'!'作為特殊的引導(dǎo)序列
5、默認(rèn)不會排除自身,需要顯示添加.helmignore
我們需要您的幫助使該文檔更好。添加、修正或移除信息,提交問題 或者發(fā)起PR。
https://github.com/helm/helm-www/issues
————————————
僅用于本人學(xué)習(xí)
來源:Helm | Docs