Fixup duplicated crd def

This commit is contained in:
Ettore Di Giacinto
2022-11-07 22:25:58 +00:00
parent 7ae1f7105a
commit 4997cf18ee
2 changed files with 15 additions and 1 deletions

View File

@@ -40,7 +40,7 @@ type OSArtifactSpec struct {
GCEImage bool `json:"gceImage,omitempty"`
Netboot bool `json:"netboot,omitempty"`
NetbootURL string `json:"netboot_url",omitempty`
NetbootURL string `json:"netbootURL,omitempty"`
// TODO: treat cloudconfig as a secret, and take a secretRef where to store it (optionally)
CloudConfig string `json:"cloudConfig,omitempty"`

View File

@@ -35,6 +35,8 @@ spec:
spec:
description: OSArtifactSpec defines the desired state of OSArtifact
properties:
azureImage:
type: boolean
bundles:
items:
type: string
@@ -43,6 +45,13 @@ spec:
description: 'TODO: treat cloudconfig as a secret, and take a secretRef
where to store it (optionally)'
type: string
cloudImage:
type: boolean
diskSize:
description: Disk-only stuff
type: string
gceImage:
type: boolean
grubConfig:
type: string
imageName:
@@ -50,7 +59,12 @@ spec:
to remove/update
type: string
iso:
description: This needs to be revisited
type: boolean
netboot:
type: boolean
netbootURL:
type: string
osRelease:
type: string
pull: