-
Notifications
You must be signed in to change notification settings - Fork 1.5k
MCO-2031: OS Image Stream to install-config schema #10192
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -128,6 +128,16 @@ type MachinePool struct { | |
| // The available types are etcd, swap and user-defined. | ||
| // +optional | ||
| DiskSetup []Disk `json:"diskSetup,omitempty"` | ||
|
|
||
| // OSImageStream specifies the OS Image Stream to use for machines in this pool. | ||
| // When set, this value overrides the global osImageStream defined in the InstallConfig. | ||
| // When unset, machines in this pool will inherit the global osImageStream value if configured, | ||
| // or fall back to the cluster's default OS image stream if neither value is set. | ||
| // This allows different machine pools to use different OS image streams while maintaining | ||
| // a common default for the cluster. | ||
| // | ||
| // +optional | ||
| OSImageStream string `json:"osImageStream,omitempty"` | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I know this is being actively discussed, but my understanding is that at present we will not allow mixed clusters (e.g. we will not allow control plane on 10 and compute on 9). If I'm correct in my understanding, we can simply remove this field from the machine pool...
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's a good point I wasn't also very sure of. So in the final implementation all the nodes will be either rhcos 9 or 10? @pablintino can you confirm?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I revisited this discussion and I was slightly mistaken: OpenShift 5 will allow mixed clusters day-2. |
||
| } | ||
|
|
||
| // MachinePoolPlatform is the platform-specific configuration for a machine | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would make this an "enum", similar to this example:
installer/pkg/types/installconfig.go
Line 166 in d9fb2e0
In which case, the explain data would show valid values.