18 lines
620 B
Python
18 lines
620 B
Python
"""Proxy Provider Kubernetes Contoller"""
|
|
from passbook.outposts.controllers.kubernetes import KubernetesController
|
|
from passbook.outposts.models import Outpost
|
|
from passbook.providers.proxy.controllers.k8s.ingress import IngressReconciler
|
|
|
|
|
|
class ProxyKubernetesController(KubernetesController):
|
|
"""Proxy Provider Kubernetes Contoller"""
|
|
|
|
def __init__(self, outpost: Outpost):
|
|
super().__init__(outpost)
|
|
self.deployment_ports = {
|
|
"http": 4180,
|
|
"https": 4443,
|
|
}
|
|
self.reconcilers["ingress"] = IngressReconciler
|
|
self.reconcile_order.append("ingress")
|