-
Notifications
You must be signed in to change notification settings - Fork 16
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
Update API with per provider opts: #143
Conversation
Codecov Report
@@ Coverage Diff @@
## main #143 +/- ##
==========================================
- Coverage 62.03% 61.82% -0.22%
==========================================
Files 4 4
Lines 353 351 -2
==========================================
- Hits 219 217 -2
Misses 100 100
Partials 34 34
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Hey Fellas, @chrisdoherty4 , @joelrebel , @pokearu . When you have some cycles, I'd appreciate a review. Please and thank you! |
This enables customization per provider. For example, redfish port, ipmitool cipher suite. Signed-off-by: Jacob Weinstock <[email protected]>
Signed-off-by: Jacob Weinstock <[email protected]>
Signed-off-by: Jacob Weinstock <[email protected]>
ea9317b
to
c23c9a4
Compare
Signed-off-by: Jacob Weinstock <[email protected]>
The way the linter was run the exit code was being swallowed up and always return 0. This meant that even with linting issues could CI was passing. This fixes that. The new version of the linter found some unused functions, so they were removed. The other changes were to resolve linting issues that were found. Signed-off-by: Jacob Weinstock <[email protected]>
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.
lgtm
api/v1alpha1/provider_opts.go
Outdated
// PrefixSigDisabled determines whether the algorithm will be prefixed to the signature. Example: sha256=abc123 | ||
PrefixSigDisabled bool `json:"prefixSigDisabled"` | ||
// Secrets are a map of algorithms to secrets used for signing. | ||
Secrets RPCSecrets `json:"secrets"` |
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.
Might consider HMACSecrets
Signed-off-by: Jacob Weinstock <[email protected]>
@Mergifyio queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at 357b551 |
Description
This enables customization per provider. For example, redfish port, ipmitool cipher suite.
Why is this needed
Once implemented will resolve #89 and #103
Fixes:
How Has This Been Tested?
How are existing users impacted? What migration steps/scripts do we need?
Checklist:
I have: