Skip to content

Instantly share code, notes, and snippets.

@orarnon
Created January 11, 2021 10:30
Show Gist options
  • Save orarnon/d04945a61386f187e848af91a73e68f9 to your computer and use it in GitHub Desktop.
Save orarnon/d04945a61386f187e848af91a73e68f9 to your computer and use it in GitHub Desktop.
Consul-Template Configuration JSON Result
{
"Consul": {
"Address": "",
"Namespace": "",
"Auth": {
"Enabled": false,
"Username": "",
"Password": ""
},
"Retry": {
"Attempts": 12,
"Backoff": 250000000,
"MaxBackoff": 60000000000,
"Enabled": true
},
"SSL": {
"CaCert": "",
"CaPath": "",
"Cert": "",
"Enabled": false,
"Key": "",
"ServerName": "",
"Verify": true
},
"Token": "",
"Transport": {
"DialKeepAlive": 30000000000,
"DialTimeout": 30000000000,
"DisableKeepAlives": false,
"IdleConnTimeout": 90000000000,
"MaxIdleConns": 100,
"MaxIdleConnsPerHost": 3,
"TLSHandshakeTimeout": 10000000000
}
},
"Dedup": {
"Enabled": false,
"MaxStale": 2000000000,
"Prefix": "consul-template/dedup/",
"TTL": 15000000000,
"BlockQueryWaitTime": 60000000000
},
"DefaultDelims": {
"Left": null,
"Right": null
},
"Exec": {
"Command": "",
"Enabled": false,
"Env": {
"Denylist": [],
"Custom": [],
"Pristine": false,
"Allowlist": []
},
"KillSignal": 2,
"KillTimeout": 30000000000,
"ReloadSignal": null,
"Splay": 0,
"Timeout": 0
},
"KillSignal": 2,
"LogLevel": "trace",
"MaxStale": 5280000000000,
"PidFile": "",
"ReloadSignal": 1,
"Syslog": {
"Enabled": false,
"Facility": "LOCAL0",
"Name": "consul-template"
},
"Templates": [],
"Vault": {
"Address": "",
"Enabled": false,
"Namespace": "",
"RenewToken": false,
"Retry": {
"Attempts": 12,
"Backoff": 250000000,
"MaxBackoff": 60000000000,
"Enabled": true
},
"SSL": {
"CaCert": "",
"CaPath": "",
"Cert": "",
"Enabled": true,
"Key": "",
"ServerName": "",
"Verify": true
},
"Transport": {
"DialKeepAlive": 30000000000,
"DialTimeout": 30000000000,
"DisableKeepAlives": false,
"IdleConnTimeout": 90000000000,
"MaxIdleConns": 100,
"MaxIdleConnsPerHost": 3,
"TLSHandshakeTimeout": 10000000000
},
"UnwrapToken": false
},
"Wait": {
"Enabled": false,
"Min": 0,
"Max": 0
},
"Once": false,
"BlockQueryWaitTime": 60000000000
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment