chore: listen on only 9090 for /metrics and /live

Previously, 9091 and 9090 both led to the same web server, meaning both
/metrics and /live were reachable and fully functional through both.
This commit changes that so that only port 9090 is used for both.

Closes #381.
This commit is contained in:
d3adb5
2023-02-05 13:29:41 -08:00
parent 9463cd5fc2
commit 2f8999e3cb
7 changed files with 12 additions and 21 deletions

View File

@@ -1,6 +1,9 @@
package constants
const (
// DefaultHttpListenAddr is the default listening address for global http server
DefaultHttpListenAddr = ":9090"
// ConfigmapEnvVarPostfix is a postfix for configmap envVar
ConfigmapEnvVarPostfix = "CONFIGMAP"
// SecretEnvVarPostfix is a postfix for secret envVar