mirror of
https://github.com/openziti/zrok.git
synced 2025-02-14 01:09:37 +01:00
Merge branch 'v1_0_0' into ui100
This commit is contained in:
commit
381eef21f7
@ -20,6 +20,8 @@ FIX: Document unique names
|
|||||||
|
|
||||||
FIX: reduce Docker image sizes (https://github.com/openziti/zrok/pull/783)
|
FIX: reduce Docker image sizes (https://github.com/openziti/zrok/pull/783)
|
||||||
|
|
||||||
|
FIX: Docker reserved private share startup error (https://github.com/openziti/zrok/pull/801)
|
||||||
|
|
||||||
FIX: Correct the download URL for the armv7 Linux release (https://github.com/openziti/zrok/issues/782)
|
FIX: Correct the download URL for the armv7 Linux release (https://github.com/openziti/zrok/issues/782)
|
||||||
|
|
||||||
CHANGE: briefly mention the backend modes that apply to public and private share concepts
|
CHANGE: briefly mention the backend modes that apply to public and private share concepts
|
||||||
|
@ -217,12 +217,14 @@ else
|
|||||||
echo "ERROR: invalid JSON in $(realpath ~/.zrok)/reserved.json" >&2
|
echo "ERROR: invalid JSON in $(realpath ~/.zrok)/reserved.json" >&2
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
ZROK_PUBLIC_URLS=$(jq -cr '.frontend_endpoints' ~/.zrok/reserved.json 2>/dev/null)
|
if [[ "${ZROK_FRONTEND_MODE:-}" == reserved-public ]]; then
|
||||||
if [[ -z "${ZROK_PUBLIC_URLS}" || "${ZROK_PUBLIC_URLS}" == null ]]; then
|
ZROK_PUBLIC_URLS=$(jq -cr '.frontend_endpoints' ~/.zrok/reserved.json 2>/dev/null)
|
||||||
echo "ERROR: frontend endpoints not defined in $(realpath ~/.zrok)/reserved.json" >&2
|
if [[ -z "${ZROK_PUBLIC_URLS}" || "${ZROK_PUBLIC_URLS}" == null ]]; then
|
||||||
exit 1
|
echo "ERROR: frontend endpoints not defined in $(realpath ~/.zrok)/reserved.json" >&2
|
||||||
else
|
exit 1
|
||||||
echo "INFO: zrok public URLs: ${ZROK_PUBLIC_URLS}"
|
else
|
||||||
|
echo "INFO: zrok public URLs: ${ZROK_PUBLIC_URLS}"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
ZROK_RESERVED_TOKEN=$(jq -r '.token' ~/.zrok/reserved.json 2>/dev/null)
|
ZROK_RESERVED_TOKEN=$(jq -r '.token' ~/.zrok/reserved.json 2>/dev/null)
|
||||||
if [[ -z "${ZROK_RESERVED_TOKEN}" || "${ZROK_RESERVED_TOKEN}" == null ]]; then
|
if [[ -z "${ZROK_RESERVED_TOKEN}" || "${ZROK_RESERVED_TOKEN}" == null ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user