Document the / URL of the HTTP port
This commit is contained in:
parent
ee27153186
commit
8981e7f5bb
|
|
@ -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
|
||||||
|
|
|
||||||
7
main.go
7
main.go
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue