-
Notifications
You must be signed in to change notification settings - Fork 18
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
Adding docs readme and getting started guide #66
Conversation
Signed-off-by: Aravind Ramalingam <ramaliar@amazon.com>
Signed-off-by: Aravind Ramalingam <ramaliar@amazon.com>
Codecov Report
@@ Coverage Diff @@
## main #66 +/- ##
=======================================
Coverage 59.50% 59.50%
=======================================
Files 4 4
Lines 321 321
=======================================
Hits 191 191
Misses 97 97
Partials 33 33 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
This is great, thanks for putting this together @pokearu! I left a few comments.
Signed-off-by: Aravind Ramalingam <ramaliar@amazon.com>
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.
Useful doc. Would it be better off as a section in the root README so people don't need to navigate to this separately.
 | ||
Rufio controller consists of three main API types, [Machine](https://github.com/tinkerbell/rufio/blob/main/api/v1alpha1/machine.go), [Job](https://github.com/tinkerbell/rufio/blob/main/api/v1alpha1/job.go) and [Task](https://github.com/tinkerbell/rufio/blob/main/api/v1alpha1/task.go). An operator or an automated client like [CAPT](https://github.com/tinkerbell/cluster-api-provider-tinkerbell) can interact with Rufio using these APIs to manage the state of their physical machines. | ||
### Machine API | ||
The Machine type contains the information required for communicating with the BMC of the physical hardware. |
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.
The Machine type contains the information required for communicating with the BMC of the physical hardware. | |
The Machine type contains the information required for communicating with a BMC. |
namespace: sample | ||
insecureTLS: false | ||
``` | ||
The `connection` object contains the required fields for establising a BMC connection. Fields `host`, `port` represent the BMC IP for the physical machine and `insecureTLS` instructs weather to use insecure TLS connectivity for performing BMC API calls. Field `authSecretRef` is a `SecretReference` which points to a kubernetes secret that contains the username/password for authenticating BMC API calls. |
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 think this level of docs would be better placed on the API types themselves. We can link to that as needed.
Description
Adding documentation to elaborate on rufio API and a getting started guide.