使用kubernetes helm部署服務(wù),遇到template文件定義需要使用“或”的場(chǎng)景,查到原來(lái)helm template使用的是go template的語(yǔ)法,網(wǎng)上找了很多go template的介紹文檔,有一篇特別清晰,mark一下
go template
reference: http://www.g-var.com/posts/translation/hugo/hugo-21-go-template-primer/
使用kubernetes helm部署服務(wù),遇到template文件定義需要使用“或”的場(chǎng)景,查到原來(lái)helm template使用的是go template的語(yǔ)法,網(wǎng)上找了很多go template的介紹文檔,有一篇特別清晰,mark一下
go template
reference: http://www.g-var.com/posts/translation/hugo/hugo-21-go-template-primer/