mirror of
https://github.com/kairos-io/osbuilder.git
synced 2025-08-17 15:26:58 +00:00
extend api model for rpi5
This commit is contained in:
parent
458ef60a33
commit
f7d6ecc51f
@ -26,6 +26,7 @@ type Model string
|
||||
const (
|
||||
RPI3 Model = "rpi3"
|
||||
RPI4 Model = "rpi4"
|
||||
RPI5 Model = "rpi5"
|
||||
)
|
||||
|
||||
// OSArtifactSpec defines the desired state of OSArtifact
|
||||
@ -38,7 +39,7 @@ type OSArtifactSpec struct {
|
||||
ISO bool `json:"iso,omitempty"`
|
||||
|
||||
// +kubebuilder:validation:Type:=string
|
||||
// +kubebuilder:validation:Enum:=rpi3;rpi4
|
||||
// +kubebuilder:validation:Enum:=rpi3;rpi4;rpi5
|
||||
// +optional
|
||||
Model *Model `json:"model,omitempty"`
|
||||
|
||||
|
@ -290,6 +290,7 @@ spec:
|
||||
enum:
|
||||
- rpi3
|
||||
- rpi4
|
||||
- rpi5
|
||||
type: string
|
||||
project:
|
||||
type: string
|
||||
|
@ -290,6 +290,7 @@ spec:
|
||||
enum:
|
||||
- rpi3
|
||||
- rpi4
|
||||
- rpi5
|
||||
type: string
|
||||
project:
|
||||
type: string
|
||||
|
Loading…
Reference in New Issue
Block a user