This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2020-09-02 22:04:12 +00:00
|
|
|
"""Proxy Provider Kubernetes Contoller"""
|
|
|
|
from passbook.outposts.controllers.kubernetes import KubernetesController
|
2020-11-04 09:54:44 +00:00
|
|
|
from passbook.outposts.models import KubernetesServiceConnection, Outpost
|
2020-10-18 15:13:44 +00:00
|
|
|
from passbook.providers.proxy.controllers.k8s.ingress import IngressReconciler
|
2020-09-02 22:04:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
class ProxyKubernetesController(KubernetesController):
|
|
|
|
"""Proxy Provider Kubernetes Contoller"""
|
|
|
|
|
2020-11-04 09:54:44 +00:00
|
|
|
def __init__(self, outpost: Outpost, connection: KubernetesServiceConnection):
|
|
|
|
super().__init__(outpost, connection)
|
2020-09-02 22:04:12 +00:00
|
|
|
self.deployment_ports = {
|
|
|
|
"http": 4180,
|
|
|
|
"https": 4443,
|
|
|
|
}
|
2020-10-18 15:13:44 +00:00
|
|
|
self.reconcilers["ingress"] = IngressReconciler
|
|
|
|
self.reconcile_order.append("ingress")
|