-
Notifications
You must be signed in to change notification settings - Fork 10
Add BMCSettings type and controller implementation
#303
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
Conversation
7a80936 to
117d5a0
Compare
BMCSettings type and controller implementation
b59d95c to
6390b3f
Compare
|
Converting it back to draft as it needs a bit of update to accommodate different type of vendors and variation of settings available. |
31c2bac to
f0eecd2
Compare
dd1c051 to
733b885
Compare
733b885 to
ba84abc
Compare
|
I need to do a better job with rebasing/merging with main. I messed up history again when trying to merge with main. |
0c35c73 to
0e5194a
Compare
Nuckal777
left a comment
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 found some time for another review pass.
bmc/oem/dell.go
Outdated
| // for wach sub type, apply the settings | ||
| for settingPath, payload := range payloads { | ||
| // fetch the etag required for settingPath | ||
| etag, err := func(uri string) ([]string, error) { |
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.
Is it possible to batch the requests instead of doing a loop? If yes, it would be a good follow-up.
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 have not tried it. server usually takes one update at a time. may be can check it out as a follow-up for sure.
* Add webhook for BMCSettings resources * remove serverRefList * Add delete logic in the webbhoob * fix some housekeeping stuff
fixes: #306
details #287