diff --git a/charts/testkube-api/templates/deployment.yaml b/charts/testkube-api/templates/deployment.yaml index a3fd2b1bd..63d9d7723 100644 --- a/charts/testkube-api/templates/deployment.yaml +++ b/charts/testkube-api/templates/deployment.yaml @@ -203,7 +203,7 @@ spec: {{- if .Values.global.testWorkflows.globalTemplate.enabled }} {{- if .Values.global.testWorkflows.globalTemplate.inline }} - name: TESTKUBE_GLOBAL_WORKFLOW_TEMPLATE_INLINE - value: "{{ toYaml .Values.global.testWorkflows.globalTemplate.spec }}" + value: {{ toJson .Values.global.testWorkflows.globalTemplate.spec | quote }} {{- else }} - name: TESTKUBE_GLOBAL_WORKFLOW_TEMPLATE_NAME value: "{{ .Values.global.testWorkflows.globalTemplate.name }}"