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"` GCEImage bool `json:"gceImage,omitempty"`
Netboot bool `json:"netboot,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) // TODO: treat cloudconfig as a secret, and take a secretRef where to store it (optionally)
CloudConfig string `json:"cloudConfig,omitempty"` CloudConfig string `json:"cloudConfig,omitempty"`

View File

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