Document the / URL of the HTTP port

This commit is contained in:
Tim Hockin 2023-07-11 11:14:18 -07:00
parent ee27153186
commit 8981e7f5bb
2 changed files with 10 additions and 4 deletions

View File

@ -237,8 +237,11 @@ OPTIONS
Print help text and exit. Print help text and exit.
--http-bind <string>, $GITSYNC_HTTP_BIND --http-bind <string>, $GITSYNC_HTTP_BIND
The bind address (including port) for git-sync's HTTP endpoint. If The bind address (including port) for git-sync's HTTP endpoint.
not specified, the HTTP endpoint is not enabled. The '/' URL of this endpoint is suitable for Kubernetes startup and
liveness probes, returning a 5xx error until the first sync is
complete, and a 200 status thereafter. If not specified, the HTTP
endpoint is not enabled.
Examples: Examples:
":1234": listen on any IP, port 1234 ":1234": listen on any IP, port 1234

View File

@ -2370,8 +2370,11 @@ OPTIONS
Print help text and exit. Print help text and exit.
--http-bind <string>, $GITSYNC_HTTP_BIND --http-bind <string>, $GITSYNC_HTTP_BIND
The bind address (including port) for git-sync's HTTP endpoint. If The bind address (including port) for git-sync's HTTP endpoint.
not specified, the HTTP endpoint is not enabled. The '/' URL of this endpoint is suitable for Kubernetes startup and
liveness probes, returning a 5xx error until the first sync is
complete, and a 200 status thereafter. If not specified, the HTTP
endpoint is not enabled.
Examples: Examples:
":1234": listen on any IP, port 1234 ":1234": listen on any IP, port 1234