Skip to content

Conversation

nastena1606
Copy link
Collaborator

Updated the doc to improve the flow and readability

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR improves the documentation for data-at-rest encryption in Percona Operator for MongoDB, focusing on better flow and readability. The changes restructure the content to provide clearer explanations and a more logical progression through the setup process.

  • Rewrote the introduction to better explain data-at-rest encryption and its two-tiered architecture
  • Enhanced HashiCorp Vault integration section with detailed step-by-step instructions and sample outputs
  • Improved formatting and organization with better section headings and structure

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

3. Retrieve the Pod name where Vault is running:

```{.bash data-prompt="$" }
$(kubectl -n $NAMESPACE get pod -l app.kubernetes.io/name=vault -o jsonpath='{.items[0].metadata.name}')
Copy link

Copilot AI Sep 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The command is missing variable assignment. It should be VAULT_POD_NAME=$(kubectl...) to store the pod name for later use.

Suggested change
$(kubectl -n $NAMESPACE get pod -l app.kubernetes.io/name=vault -o jsonpath='{.items[0].metadata.name}')
VAULT_POD_NAME=$(kubectl -n $NAMESPACE get pod -l app.kubernetes.io/name=vault -o jsonpath='{.items[0].metadata.name}')

Copilot uses AI. Check for mistakes.

Updated the doc to improve the flow and readability
Copy link
Contributor

@egegunes egegunes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but don't forget to apply copilot's suggestions. they look valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending release PR is ready to be included in the upcoming release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants