Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-farache authored and gciavarrini committed Jun 21, 2024
1 parent 9950794 commit 4cd758b
Show file tree
Hide file tree
Showing 5 changed files with 5,184 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/modify-vm-resources/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: 0.0.1
version: 0.0.2

# 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
Expand Down
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
Loading

0 comments on commit 4cd758b

Please sign in to comment.