From 9a74837175b0e1a711fc32f1521410c465f45a85 Mon Sep 17 00:00:00 2001 From: jackyu Date: Tue, 24 Oct 2023 19:25:15 +0800 Subject: [PATCH 1/2] fix double quotation error --- charts/ks-devops/templates/cluster-step-templates.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/ks-devops/templates/cluster-step-templates.yaml b/charts/ks-devops/templates/cluster-step-templates.yaml index dcb12d9..02125d4 100644 --- a/charts/ks-devops/templates/cluster-step-templates.yaml +++ b/charts/ks-devops/templates/cluster-step-templates.yaml @@ -145,7 +145,7 @@ spec: "key": "message", "value": { "isLiteral": true, - "value": "{{.param.message}}" + "value": {{printf "%q" .param.message}} } } ], From cc4672630483402dc67e8143f9f8719eee8c55ce Mon Sep 17 00:00:00 2001 From: jackyu Date: Tue, 24 Oct 2023 19:26:03 +0800 Subject: [PATCH 2/2] fix render error of timeout --- charts/ks-devops/templates/cluster-step-templates.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/ks-devops/templates/cluster-step-templates.yaml b/charts/ks-devops/templates/cluster-step-templates.yaml index 02125d4..cfc8c6d 100644 --- a/charts/ks-devops/templates/cluster-step-templates.yaml +++ b/charts/ks-devops/templates/cluster-step-templates.yaml @@ -410,7 +410,7 @@ spec: "key": "activity", "value": { "isLiteral": true, - "value": .param.activity + "value": {{.param.activity}} } }, {