Add BIOSSettingsSet resource and controller#383
Conversation
8f187f5 to
d303208
Compare
|
moving to draft to wait for PR with biosSettingsFlow and BiosVersionSet to complete. this will help reduce double work :) |
00d8b67 to
b4ca700
Compare
b4ca700 to
f438617
Compare
| BIOSSettingsTemplate BIOSSettingsTemplate `json:"biosSettingsTemplate,omitempty"` | ||
|
|
||
| // ServerSelector specifies a label selector to identify the servers that are to be selected. | ||
| // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="ServerSelector is immutable" |
There was a problem hiding this comment.
Why is the serverSelector immutable here? This is not done for other Set types.
There was a problem hiding this comment.
I realized that it might be good to restrict it? I will need to add it to others as well.
basically, if they change the selector, whole thing will work like newly created one anyway, because it will delete all current and create new one..
why not create new resource at first place?
let me know what you think?
There was a problem hiding this comment.
Can't we just recalculate the dependencies and create/update/delete all child objects? What is the problem with that?
There was a problem hiding this comment.
But I guess we can fix that later.
@Nuckal777 or we could merge this into #403's branch.. if this PR looks good, then merge all together to main. |
224cae9 to
b753de8
Compare
afritzler
left a comment
There was a problem hiding this comment.
Lgtm from my side. Just some minor cosmetics.
Fixes #349