We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4550e22 commit 5c31281Copy full SHA for 5c31281
templates/etcd.tmpl
@@ -4,6 +4,7 @@
4
5
{{range $key, $value := .}}
6
{{ with $address := index $value.Addresses 0 }}
7
+# {{ $value.Name }}
8
curl -L http://127.0.0.1:4001/v2/keys/backends/{{ $value.Image.Repository}}/{{printf "%.*s" 12 $value.ID}} -XPUT -d value="{{ $address.IP }}:{{ $address.Port }}" -d ttl=15
9
{{ end }}
10
{{end}}
0 commit comments