diff --git a/dockerfile/Dockerfile b/dockerfile/Dockerfile index 39b2599..b00a90a 100644 --- a/dockerfile/Dockerfile +++ b/dockerfile/Dockerfile @@ -4,7 +4,7 @@ ENV GIN_MODE release RUN apk add --update git bash && rm -rf /var/cache/apk/* RUN go get -d github.com/channelmeter/vault-gatekeeper-mesos && \ cd $GOPATH/src/github.com/channelmeter/vault-gatekeeper-mesos && \ - git checkout tags/0.0.5 + git checkout tags/0.0.6 RUN cd $GOPATH/src/github.com/channelmeter/vault-gatekeeper-mesos && \ /bin/bash ./build.bash && cp ./vltgatekeeper /bin/vltgatekeeper diff --git a/gatekeeper.go b/gatekeeper.go index 4dd2006..f9736dd 100644 --- a/gatekeeper.go +++ b/gatekeeper.go @@ -71,7 +71,7 @@ func defaultEnvVar(key string, def string) (val string) { func init() { flag.StringVar(&config.ListenAddress, "listen", defaultEnvVar("LISTEN_ADDR", ":9201"), "Hostname and port to listen on. (Overrides the LISTEN_ADDR environment variable if set.)") flag.StringVar(&config.TlsCert, "tls-cert", defaultEnvVar("TLS_CERT", ""), "Path to TLS certificate. If this value is set, gatekeeper will be served over TLS.") - flag.StringVar(&config.TlsKey, "tls-cert", defaultEnvVar("TLS_KEY", ""), "Path to TLS key. If this value is set, gatekeeper will be served over TLS.") + flag.StringVar(&config.TlsKey, "tls-key", defaultEnvVar("TLS_KEY", ""), "Path to TLS key. If this value is set, gatekeeper will be served over TLS.") flag.StringVar(&config.Mesos, "mesos", defaultEnvVar("MESOS_MASTER", ""), "Address to mesos master. (Overrides the MESOS_MASTER environment variable if set.)")