Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-farache committed Dec 18, 2024
1 parent c36f3c6 commit 9e9e009
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
operation: '{ "result": { "completedWith":"success", "message": "VM " + .vm_name + " in namespace " + .vm_namespace + " updated.", "outputs":[ { "key":"Console URL", "value": $SECRET.cluster_console_url + "/k8s/ns/" + .vm_namespace + "/kubevirt.io~v1~VirtualMachine/" + .vm_name + "/console/standalone", "format":"link" } ] } }'
type: expression
- name: errorVMNotRunningResult
operation: '{ "result": { "completedWith":"error", "message": "VM " + .vm_name + " in namespace " + .vm_namespace + " not ready after the update after checking" + .vmStatusRunningRetries + " times: " + .vm.status } }'
operation: '{ "result": { "completedWith":"error", "message": "VM " + .vm_name + " in namespace " + .vm_namespace + " not ready after the update after checking" + (.vmStatusRunningRetries|tostring) + " times: " + .vm.status } }'
type: expression
- name: errorAuthorizationDeniedResult
operation: '{ "result": { "completedWith":"error", "message": "Authorization denied to update VM " + .vm_name + " in namespace " + .vm_namespace + ". Memory: " + .vm_new_memory + ". CPU cores: " + (.vm_new_cpu_cores|tostring) + ". CPU threads: " + (.vm_new_cpu_threads|tostring) + ". CPU sockets: " + (.vm_new_cpu_sockets|tostring), "outputs":[ { "key":"Jira issue", "value": $SECRET.jira_url + "/jira/servicedesk/projects/" + .projectKey + "/issues/" + .jiraCreateIssueResult.key, "format":"link" }] } }'
Expand Down Expand Up @@ -354,7 +354,7 @@ spec:
functionRef:
arguments:
payload:
description: '"VM " + .vm_name + " in namespace " + .vm_namespace + " not ready after the update after checking" + .vmStatusRunningRetries + " times: " + .vm.status'
description: '"VM " + .vm_name + " in namespace " + .vm_namespace + " not ready after the update after checking" + (.vmStatusRunningRetries|tostring) + " times: " + .vm.status'
severity: high
title: '"VM " + .vm_name + " in namespace " + .vm_namespace + " not ready"'
topic: Modify VM Resources workflow
Expand Down Expand Up @@ -425,7 +425,7 @@ spec:
podTemplate:
container:
resources: {}
image: quay.io/orchestrator/serverless-workflow-modify-vm-resources:c1989c43998cd6a8bd5ed164d78a99841ea64e48
image: quay.io/orchestrator/serverless-workflow-modify-vm-resources:8cc116b6a74f709d5e401226579ca6976b591ec6
envFrom:
- secretRef:
name: modify-vm-resources-creds
Expand Down

0 comments on commit 9e9e009

Please sign in to comment.