Permalink
Browse files

retrieve tree from inside pod

  • Loading branch information...
Liamsi authored and gdbelvin committed Aug 25, 2017
1 parent 9db84b2 commit 0746e2b52a732a59cbd81e2095bc5b3a7f8fcec7
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/configure_trillian.sh
@@ -13,7 +13,7 @@ function retrieveTrees()
JSON=`curl -f http://${KT_URL}/v1/domain/info`
else
KTSRV=$(kubectl get pods --selector=run=kt-server -o jsonpath={.items[*].metadata.name})
JSON=`kubectl exec -i ${KTSRV} -- curl http://kt-server:8080/v1/domain/info`
JSON=`kubectl exec -i ${KTSRV} -- curl -k https://localhost:8080/v1/domain/info`
fi
export LOG_ID=`echo ${JSON} | jq -r '.log.tree_id'`

0 comments on commit 0746e2b

Please sign in to comment.