outposts: fix kubernetes ApiClient not being used

This commit is contained in:
Jens Langhammer
2020-11-09 10:39:00 +01:00
parent 07da6ffa69
commit e99f6e289b
7 changed files with 7 additions and 30 deletions

View File

@ -36,7 +36,7 @@ class DeploymentReconciler(KubernetesObjectReconciler[V1Deployment]):
def __init__(self, controller: "KubernetesController") -> None:
super().__init__(controller)
self.api = AppsV1Api()
self.api = AppsV1Api(controller.client)
self.outpost = self.controller.outpost
@property