-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automated PR from rhdhorchestrator/serverless-workflows#266
- Loading branch information
1 parent
9950794
commit 4cd758b
Showing
5 changed files
with
5,184 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
72 changes: 72 additions & 0 deletions
72
charts/modify-vm-resources/templates/01-configmap_01-modify-vm-resources-resources.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
apiVersion: v1 | ||
data: | ||
modify-vm-resources__main-schema.json: | | ||
{ | ||
"$id": "classpath:/schemas/modify-vm-resources-schema.json", | ||
"title": "Data input schema", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"type": "object", | ||
"properties": { | ||
"inputs": { | ||
"title": "Inputs", | ||
"type": "object", | ||
"properties": { | ||
"projectKey": { | ||
"title": "Project Key", | ||
"description": "JIRA project key", | ||
"type": "string" | ||
}, | ||
"vm_namespace": { | ||
"title": "VM Namespace", | ||
"description": "Namespace in which create the VM", | ||
"type": "string", | ||
"default": "default", | ||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" | ||
}, | ||
"vm_name": { | ||
"title": "VM Name", | ||
"description": "Name of the VM to create", | ||
"type": "string", | ||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" | ||
}, | ||
"vm_new_memory": { | ||
"title": "Memory", | ||
"description": "The new guest memory of the VM", | ||
"type": "string", | ||
"examples": ["2Gi"] | ||
}, | ||
"vm_new_cpu_cores": { | ||
"title": "CPU Cores", | ||
"description": "The new amount of CPU cores available to the VM", | ||
"type": "integer" | ||
}, | ||
"vm_new_cpu_threads": { | ||
"title": "CPU Threads", | ||
"description": "The new amount of CPU threads available to the VM", | ||
"type": "integer" | ||
}, | ||
"vm_new_cpu_sockets": { | ||
"title": "CPU Sockets", | ||
"description": "The new amount of CPU sockets available to the VM", | ||
"type": "integer" | ||
}, | ||
"vm_auto_restart": { | ||
"title": "Auto-Restart VM", | ||
"description": "Auto restart the VM to put into effect the changes", | ||
"type": "boolean", | ||
"default": false | ||
} | ||
}, | ||
"required": [ | ||
"projectKey", | ||
"vm_name", | ||
"vm_namespace" | ||
] | ||
} | ||
} | ||
} | ||
kind: ConfigMap | ||
metadata: | ||
creationTimestamp: null | ||
name: 01-modify-vm-resources-resources |
Oops, something went wrong.