From 9a5178c04bc059cf56a10726a2d06f85d9c41740 Mon Sep 17 00:00:00 2001 From: Gabriel Mainberger Date: Tue, 8 Jan 2019 15:57:20 +0100 Subject: [PATCH] Change the process_template parameter switch from -v to -p Since OpenShift 3.5 the oc process command switch -p is used instead of -v. In OpenShift 3.10 the switch -v support has been removed completely. --- library/openshift_resource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/openshift_resource.py b/library/openshift_resource.py index 3d21df0..f1177a5 100644 --- a/library/openshift_resource.py +++ b/library/openshift_resource.py @@ -241,7 +241,7 @@ class ResourceModule: self.debug("process_template") if arguments: - args = [_ for arg in arguments.items() for _ in ('-v', "=".join(arg)) if not arg[1].startswith('__omit_place_holder__')] + args = [_ for arg in arguments.items() for _ in ('-p', "=".join(arg)) if not arg[1].startswith('__omit_place_holder__')] else: args = []