fix: add pvc annotations/labels from volume claim tpl#217
Conversation
✅ Deploy Preview for agent-sandbox ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Welcome @dhenkel92! |
|
Hi @dhenkel92. Thanks for your PR. I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
57b128b to
00fdb06
Compare
|
/ok-to-test |
00fdb06 to
20cfdf4
Compare
barney-s
left a comment
There was a problem hiding this comment.
The changes look good and correctly solve the problem described. The usage of maps.Clone is appropriate and safe. I have a minor suggestion regarding the consistency of labels on the generated PVCs compared to other resources.
20cfdf4 to
5c444ca
Compare
|
|
||
| pvcLabels := map[string]string{ | ||
| sandboxLabel: nameHash, | ||
| } |
There was a problem hiding this comment.
Move this part to after maps.Copy, to prevent users from overwriting system-managed labels.
5c444ca to
83a995b
Compare
|
@janetkuo could you please take another look at this PR? |
|
The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to us at Agent Sandbox. /lifecycle stale |
|
/remove-lifecycle stale |
|
@dhenkel92: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
83a995b to
ed8b8e7
Compare
|
/retest |
|
/lgtm |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aditya-shantanu, barney-s, dhenkel92 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The Sandbox CRD lets you define volume claim templates, including metadata like labels and annotations. However, these aren’t synced to the generated PVC, so this PR fills that gap.