-
Notifications
You must be signed in to change notification settings - Fork 17
K8SPSMDB-1433 Fixed the option to specify vault secret for #259
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
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.
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.
docs/encryption.md
Outdated
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}') |
Copilot
AI
Sep 18, 2025
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 command is missing variable assignment. It should be VAULT_POD_NAME=$(kubectl...)
to store the pod name for later use.
$(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
e14ca1a
to
9403fd0
Compare
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, but don't forget to apply copilot's suggestions. they look valid.
Co-authored-by: Copilot <[email protected]>
Updated the doc to improve the flow and readability