providers/proxy: add metrics port to controllers

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-09-08 23:01:22 +02:00
parent 533eb59a04
commit f3ff398a44
2 changed files with 2 additions and 0 deletions

View file

@ -14,6 +14,7 @@ class ProxyDockerController(DockerController):
super().__init__(outpost, connection)
self.deployment_ports = [
DeploymentPort(9000, "http", "tcp"),
DeploymentPort(9100, "http-metrics", "tcp"),
DeploymentPort(9443, "https", "tcp"),
]

View file

@ -13,6 +13,7 @@ class ProxyKubernetesController(KubernetesController):
super().__init__(outpost, connection)
self.deployment_ports = [
DeploymentPort(9000, "http", "tcp"),
DeploymentPort(9100, "http-metrics", "tcp"),
DeploymentPort(9443, "https", "tcp"),
]
self.reconcilers["ingress"] = IngressReconciler