frontend: temporarily add a port 8090 for healthz in mTLS
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
parent
021660bb95
commit
7b35fb1291
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,7 @@ import (
|
|||
|
||||
const (
|
||||
port = "8080"
|
||||
secondaryPort = "8090" // TODO(ahmetb) remove this, currently used by health checks in Istio mTLS case.
|
||||
defaultCurrency = "USD"
|
||||
cookieMaxAge = 60 * 60 * 48
|
||||
|
||||
|
@ -107,6 +108,7 @@ func main() {
|
|||
Propagation: &b3.HTTPFormat{}}
|
||||
|
||||
log.Infof("starting server on " + addr + ":" + srvPort)
|
||||
go log.Fatal(http.ListenAndServe(addr+":"+secondaryPort, handler))
|
||||
log.Fatal(http.ListenAndServe(addr+":"+srvPort, handler))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue