From 92f74ae2a3506cea96635e922c0217dc1ef96bb9 Mon Sep 17 00:00:00 2001 From: Jan Malkiewicz Date: Wed, 19 Aug 2020 15:49:10 +0200 Subject: Add init container support for truststore merger. Issue-ID: DCAEGEN2-2253 Signed-off-by: Jan Malkiewicz Change-Id: I98f27834b36cad333728d41ec079b86a090e77f3 --- k8s/k8splugin/tasks.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'k8s/k8splugin/tasks.py') 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, -- cgit 1.2.3-korg