summaryrefslogtreecommitdiffstats
path: root/k8s/k8splugin
diff options
context:
space:
mode:
Diffstat (limited to 'k8s/k8splugin')
-rw-r--r--k8s/k8splugin/tasks.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/k8s/k8splugin/tasks.py b/k8s/k8splugin/tasks.py
index e03e4d2..3d24277 100644
--- a/k8s/k8splugin/tasks.py
+++ b/k8s/k8splugin/tasks.py
@@ -292,7 +292,9 @@ def _create_and_start_container(container_name, image, **kwargs):
ctx.logger.info("Passing k8sconfig: {}".format(plugin_conf))
replicas = kwargs.get("replicas", 1)
resource_config = _get_resources(**kwargs)
- _, dep = k8sclient.deploy(DCAE_NAMESPACE,
+ _, dep = k8sclient.deploy(
+ ctx,
+ DCAE_NAMESPACE,
container_name,
image,
replicas=replicas,