Consul Template
Consul TemplateGitHubhashicorp/consul-templateConsul Template provides a convenient way to populate values from Consul into the file system. · Example of reading a key:笔记:Consul Template provides a convenient way to populate values from Consul into the file system.
Installation
brew install consul-templateUsage
Example of reading a key:
{{ key "/hashicorp/street_address" }}Execution command:
consul-template -template "find_address.tpl:hashicorp_address.txt"Syntax
格式: 模板:目标文件:命令
consul-template \
-consul-addr "10.4.4.6:8500" \
-vault-addr "https://10.5.32.5:8200"Links
- Official Tutorial链接learn.hashicorp.com/consul/developer-configuration/consul-templateConsul Template provides a convenient way to populate values from Consul into the file system. · Example of reading a key:笔记:Consul Template
- Internal Instance
关联信息
反向链接、本文链接的其他页面和外部资料。
参考资料
GitHub1 条
- hashicorp/consul-templategithub.com/hashicorp/consul-template
其他外链2 条
- consul.zhensi.wode.coconsul.zhensi.wode.co/
- learn.hashicorp.com/consul/developer-configuration/consul-templatelearn.hashicorp.com/consul/developer-configuration/consul-template