Verified Commit f833ce8c authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

fix helm values file integration

parent 19e099ff
......@@ -81,9 +81,11 @@ class DeleteService:
job_args.extend(['--dry-run', set_values['sessionId']])
else:
job_args.append(set_values['sessionId'])
job_args = {'jobArgs': ' '.join(job_args)}
job_args = {'jobArgs': "'" + "' '".join(job_args) + "'"}
path_to_charts = os.path.join(self.root_path, "charts", "deletion-marker")
cp = self.helm.install( # noqa: F841
chart=os.path.join(self.root_path, "charts", 'dd-marker-prod'),
chart=path_to_charts,
values_file=os.path.join(path_to_charts, "helm-values", "dd-marker-" + os.getenv("ENV", "") + ".yaml"),
name=set_values['sessionId'] + '-deleter',
namespace=self.namespace,
set_values=job_args,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment