We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f54269 commit 9421f1bCopy full SHA for 9421f1b
1 file changed
router/image/templates/generate-certs
@@ -18,6 +18,7 @@ rm -rf $KEY_PATH
18
mkdir -p $CERT_PATH
19
mkdir -p $KEY_PATH
20
21
+{{ if gt (len (lsdir "/deis/certs")) 0 }}
22
while read etcd_path; do
23
{{ range $cert := ls "/deis/certs" }}
24
if [[ "$etcd_path" == "{{ $cert }}" ]]; then
@@ -29,4 +30,7 @@ EOF
29
30
EOF
31
fi{{ end }}
32
done < /etc/ssl/deis_certs
33
+{{ else }}
34
+# there is no certificates to generate
35
+{{ end }}
36
0 commit comments