diff --git a/charts/create-ocp-project/Chart.yaml b/charts/create-ocp-project/Chart.yaml index 75e50bdd..e8ede2a1 100644 --- a/charts/create-ocp-project/Chart.yaml +++ b/charts/create-ocp-project/Chart.yaml @@ -6,7 +6,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.3.0-rc4 +version: 1.3.0-rc5 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/create-ocp-project/templates/04-sonataflow_create-ocp-project.yaml b/charts/create-ocp-project/templates/04-sonataflow_create-ocp-project.yaml index 4360f1f5..35a4ccd0 100755 --- a/charts/create-ocp-project/templates/04-sonataflow_create-ocp-project.yaml +++ b/charts/create-ocp-project/templates/04-sonataflow_create-ocp-project.yaml @@ -42,13 +42,13 @@ spec: operation: sysout type: custom - name: successResult - operation: '{ "completedWith":"success", "message": "Project " + .projectName + " active", "outputs":[] }' + operation: '{ "result": { "completedWith":"success", "message": "Project " + .projectName + " active", "outputs":[] } }' type: expression - name: errorProjectNotActiveResult - operation: '{ "completedWith":"error", "message": "Project " + .projectName + " not active" }' + operation: '{ "result": { "completedWith":"error", "message": "Project " + .projectName + " not active" } }' type: expression - name: errorAuthorizationDeniedResult - operation: '{ "completedWith":"error", "message": "Creation of project " + .projectName + " denied", "outputs":[ { "key":"Jira issue", "value": $SECRET.jira_url + "/jira/servicedesk/projects/" + .operationsProjectKey + "/issues/" + .operationsJiraCreateIssueResult.key, "format":"link" }] }' + operation: '{ "result": { "completedWith":"error", "message": "Creation of project " + .projectName + " denied", "outputs":[ { "key":"Jira issue", "value": $SECRET.jira_url + "/jira/servicedesk/projects/" + .operationsProjectKey + "/issues/" + .operationsJiraCreateIssueResult.key, "format":"link" }] } }' type: expression start: stateName: '[Audit]: workflow started' @@ -325,7 +325,7 @@ spec: podTemplate: container: resources: {} - image: quay.io/orchestrator/serverless-workflow-create-ocp-project:be3e8e3c8099f475b29a7c67b61c6cb604f8b66c + image: quay.io/orchestrator/serverless-workflow-create-ocp-project:1e86b456df773f2daad9f18e3f83dfa6726a2a48 envFrom: - secretRef: name: create-ocp-project-creds