hack/scripts-dev/docker-dns: add "--host-whitelist" tests

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
Gyuho Lee
2018-02-28 14:34:25 -08:00
parent 8edaecadc4
commit e9969aae7e
3 changed files with 3 additions and 5 deletions

View File

@@ -32,7 +32,6 @@ ETCDCTL_API=3 ./etcdctl \
--endpoints=https://m1.etcd.local:2379,https://m2.etcd.local:22379,https://m3.etcd.local:32379 \
get abc
# TODO: add host header check to enforce same-origin-policy
printf "\nWriting v2 key...\n"
curl -L https://127.0.0.1:2379/v2/keys/queue \
--cacert /certs/ca.crt \