-
Notifications
You must be signed in to change notification settings - Fork 254
Update documentation about dynamic SSH key injection #870
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
base: main
Are you sure you want to change the base?
Conversation
- Added deprecation notice, that in a future release dynamic SSH key injection will stop working for older guest agents - Changed wording, so that there are not 4 "Note:" blocks right next to each other. Signed-off-by: Andrej Krejcir <akrejcir@redhat.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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dhiller The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
> **Requirement:** The qemu-guest-agent must be installed within the guest. | ||
|
||
> **Deprecation Notice:** The implementation supporting qemu-guest-agent versions older than 5.2 is deprecated | ||
> and will stop working in a future release. |
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.
> and will stop working in a future release. | |
> and it will stop working in a future release. |
> **Deprecation Notice:** The implementation supporting qemu-guest-agent versions older than 5.2 is deprecated | ||
> and will stop working in a future release. | ||
|
||
> **Important:** When using `qemuGuestAgent` propagation, |
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.
> **Important:** When using `qemuGuestAgent` propagation, | |
> **Important:** When using `qemuGuestAgent` propagation method, |
> **Deprecation Notice:** The implementation supporting qemu-guest-agent versions older than 5.2 is deprecated | ||
> and will stop working in a future release. |
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.
> **Deprecation Notice:** The implementation supporting qemu-guest-agent versions older than 5.2 is deprecated | |
> and will stop working in a future release. | |
> **Deprecation Notice:** Support for qemu-guest-agent versions older than 5.2 is deprecated | |
> and will be removed in a future release. |
/hold |
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 we can help to make this easier for the reader by breaking it up with headings, and then using the admonition markdown available through the Material theme.
I've tried to incorporate the other feedback as well.
Hopefully I understood the content and the suggestions make sense :)
> | ||
> Note: When using qemuGuestAgent propagation, | ||
> the `/home/$USER/.ssh/authorized_keys` file will be owned by the guest agent. | ||
> **Requirement:** The qemu-guest-agent must be installed within the guest. |
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.
These 4 different admonition types are unfortunately rendered indistinguishable grey here.
I suggest we break this into two headings and then use the admonition markdown. So I'd make this:
> **Requirement:** The qemu-guest-agent must be installed within the guest. | |
#### Requirements | |
The `qemu-guest-agent` must be installed within the guest. |
> the `/home/$USER/.ssh/authorized_keys` file will be owned by the guest agent. | ||
> **Requirement:** The qemu-guest-agent must be installed within the guest. | ||
|
||
> **Deprecation Notice:** The implementation supporting qemu-guest-agent versions older than 5.2 is deprecated |
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.
> **Deprecation Notice:** The implementation supporting qemu-guest-agent versions older than 5.2 is deprecated | |
!!! note "Deprecation notice" | |
Support for `qemu-guest-agent` versions older than 5.2 is deprecated and will be removed in a future release. |
https://squidfunk.github.io/mkdocs-material/reference/admonitions/#changing-the-title
> **Deprecation Notice:** The implementation supporting qemu-guest-agent versions older than 5.2 is deprecated | ||
> and will stop working in a future release. | ||
|
||
> **Important:** When using `qemuGuestAgent` propagation, |
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.
> **Important:** When using `qemuGuestAgent` propagation, | |
!!! Important | |
When using `qemuGuestAgent` propagation method, |
You'd need to replace the subsequent '>' characters and add the 4 spaces (as here) to keep it in the same admonition.
I think this also belongs above the 'requirements' heading in the opening text.
> **Further Reading:** More information about the motivation behind the access credentials API | ||
> can be found in the | ||
> [pull request description](https://github.com/kubevirt/kubevirt/pull/4195) | ||
> that introduced the API. |
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.
> **Further Reading:** More information about the motivation behind the access credentials API | |
> can be found in the | |
> [pull request description](https://github.com/kubevirt/kubevirt/pull/4195) | |
> that introduced the API. | |
For more information about the motivation behind the access credentials API, | |
see the [pull request description](https://github.com/kubevirt/kubevirt/pull/4195) | |
that introduced the API. |
I would also move this above the requirements heading, and in to the opening text. (iiuc)
> can be found in the | ||
> [pull request description](https://github.com/kubevirt/kubevirt/pull/4195) | ||
> that introduced the API. | ||
|
||
In the example below the `Secret` containing the SSH public key is | ||
In the example below, the `Secret` containing the SSH public key is |
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.
And then we can add an example heading here to distinguish it from the preceding section.
In the example below, the `Secret` containing the SSH public key is | |
#### Example: Dynamic SSH key injection in a Secret | |
In this example, the `Secret` containing the SSH public key is |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
What this PR does / why we need it:
Note:...
blocks right next to each other.Special notes for your reviewer:
This should be merged after the deprecation PR is merged: kubevirt/kubevirt#13881
Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.
Release note: