-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
kube play: update the handling of PersistentVolumeClaim #16420
kube play: update the handling of PersistentVolumeClaim #16420
Conversation
5f3babf
to
a5f5e65
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.
Code LGTM.
Are you intending to use that in the podman-kube@
template? If so, we need to massage that a bit I guess. kube play --replace
does not remove volumes. It may be worth adding a StartPre
directive using kube down
.
a5f5e65
to
70ed988
Compare
Bunch of little things, overall looks fine |
Up - do not fail if volume already exists, use the existing one Down - allow the user to remove the volume by passing --force Add tests Update the documentation Signed-off-by: Ygal Blum <[email protected]>
70ed988
to
1c8196a
Compare
@umohnani8 PTAL |
code LGTM |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rhatdan, ygalblum 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 |
/hold cancel |
/cherry-pick v4.3 |
@baude: #16420 failed to apply on top of branch "v4.3":
In response to this:
Instructions 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/test-infra repository. |
Up - do not fail if volume already exists, use the existing one
Down - allow the user to remove the volume by passing --force
Add tests
Signed-off-by: Ygal Blum [email protected]
Does this PR introduce a user-facing change?
Resolves #16348