Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

request-vm-cnv: Automatic manifests generation #371

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/request-vm-cnv/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,51 @@
apiVersion: v1
data:
request-vm-cnv__main-schema.json: |
{
"$id": "classpath:/schemas/request-vm-cnv-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_image": {
"title": "VM Image",
"description": "Image to use to create the VM",
"type": "string",
"enum": ["centos-stream8","centos-stream9","centos7","fedora","rhel7","rhel8","rhel9"]
}
},
"required": [
"projectKey",
"vm_name",
"vm_image",
"vm_namespace"
]
}
}
}
kind: ConfigMap
metadata:
creationTimestamp: null
name: 01-request-vm-cnv-resources
Loading