Skip to content

Commit

Permalink
chore(schema): update talconfig.yaml JSON schema (#309)
Browse files Browse the repository at this point in the history
Co-authored-by: budimanjojo-bot <111944664+budimanjojo-bot[bot]@users.noreply.github.com>
  • Loading branch information
budimanjojo-bot[bot] authored Jan 23, 2024
1 parent b63e329 commit 4493ad1
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions pkg/config/schemas/talconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -331,12 +331,12 @@
"installerURLTmpl": {
"type": "string",
"description": "Template for installer image URL",
"default": "{{.RegistryURL}}/installer/{{.ID}}:{{.Version}}"
"default": "{{.RegistryURL}}/installer{{if .Secureboot}}-secureboot{{end}}/{{.ID}}:{{.Version}}"
},
"ISOURLTmpl": {
"type": "string",
"description": "Template for ISO image URL",
"default": "{{.Protocol}}://{{.RegistryURL}}/image/{{.ID}}/{{.Version}}/{{.Mode}}-{{.Arch}}.iso"
"default": "{{.Protocol}}://{{.RegistryURL}}/image/{{.ID}}/{{.Version}}/{{.Mode}}-{{.Arch}}{{if .Secureboot}}-secureboot{{end}}{{if and .Secureboot .UseUKI}}-uki.efi{{else}}.iso{{end}}"
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -473,6 +473,16 @@
"type": "string",
"description": "Machine architecture (e.g: amd64",
"default": "amd64"
},
"secureboot": {
"type": "boolean",
"description": "Whether to enable Secure Boot",
"default": false
},
"useUKI": {
"type": "boolean",
"description": "Whether to use UKI if Secure Boot is enabled",
"default": false
}
},
"additionalProperties": false,
Expand Down

0 comments on commit 4493ad1

Please sign in to comment.