-
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
Implement provider options #154
Implement provider options #154
Conversation
Moving the provider options under connection allows the options to be available to both the machine and task controllers. Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
Codecov Report
@@ Coverage Diff @@
## main #154 +/- ##
==========================================
+ Coverage 61.82% 63.17% +1.35%
==========================================
Files 4 5 +1
Lines 351 478 +127
==========================================
+ Hits 217 302 +85
- Misses 100 137 +37
- Partials 34 39 +5
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
This is optional as it is not required when using the RPC provider. Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
This makes the provider opts in the CRD operational via the bmclib client. Rename pkg; controllers -> controller: this is the preferred practive in Go. Added a requeue interval. Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
Implements provider options defined in the connection of a task CR. Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
controller-gen doesn't format the imports like goimports does so the CI run of goimports will fail. This provides a make goal to run the go fmt and goimports. Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
This will exercise the provider option logic. Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
This allows for the fields to not be included when nil is various applications. Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
@Mergifyio queue |
🛑 The pull request has been removed from the queue
|
@Mergifyio refresh |
✅ Pull request refreshed |
@Mergifyio queue |
🛑 The pull request has been removed from the queue
|
@Mergifyio refresh |
✅ Pull request refreshed |
@Mergifyio unqueue |
☑️ The pull request is not queued |
@Mergifyio queue |
🛑 The pull request has been removed from the queue
|
Description
This implements the provider options now available in the connection crd for machine and task controllers. Also, updated dependencies for controller-runtime and kubernetes client libraries.
Why is this needed
Fixes: #
How Has This Been Tested?
How are existing users impacted? What migration steps/scripts do we need?
Checklist:
I have: