diff options
author | Jan Malkiewicz <jan.malkiewicz@nokia.com> | 2020-08-19 15:49:10 +0200 |
---|---|---|
committer | Jan Malkiewicz <jan.malkiewicz@nokia.com> | 2020-08-28 09:00:24 +0200 |
commit | 92f74ae2a3506cea96635e922c0217dc1ef96bb9 (patch) | |
tree | 054b49c3216c5075d8e3ffb40b7c502157b67f64 /k8s/k8splugin/tasks.py | |
parent | 43f0c2c84a1d1c0e9dd49e41c748f56b5820760b (diff) |
Add init container support for truststore merger.
Issue-ID: DCAEGEN2-2253
Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com>
Change-Id: I98f27834b36cad333728d41ec079b86a090e77f3
Diffstat (limited to 'k8s/k8splugin/tasks.py')
-rw-r--r-- | k8s/k8splugin/tasks.py | 4 |
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, |