Skip to content

[velero] chore(upgrade-crds) double quote cp command for better shell compatibility#719

Closed
QuentinBtd wants to merge 1 commit intovmware-tanzu:mainfrom
QuentinBtd:chore/upgrade-crds/double_quotes_cp_command
Closed

[velero] chore(upgrade-crds) double quote cp command for better shell compatibility#719
QuentinBtd wants to merge 1 commit intovmware-tanzu:mainfrom
QuentinBtd:chore/upgrade-crds/double_quotes_cp_command

Conversation

@QuentinBtd
Copy link
Copy Markdown

@QuentinBtd QuentinBtd commented Nov 21, 2025

Special notes for your reviewer:

I tried to use another kubectl image, like alpine/kubectl. But running

/bin/sh -c cp `which sh` /tmp && cp `which kubectl` /tmp

not works as well. The command needs to be quoted:

/bin/sh -c "cp `which sh` /tmp && cp `which kubectl` /tmp"

Checklist

@QuentinBtd QuentinBtd force-pushed the chore/upgrade-crds/double_quotes_cp_command branch from 873ce34 to 3c83f66 Compare November 21, 2025 15:26
@QuentinBtd QuentinBtd marked this pull request as ready for review November 21, 2025 15:27
…ility

Signed-off-by: Quentin BERTRAND <contact@quentinbertrand.fr>
@QuentinBtd QuentinBtd force-pushed the chore/upgrade-crds/double_quotes_cp_command branch from 3c83f66 to bf3624c Compare November 21, 2025 15:44
@QuentinBtd QuentinBtd marked this pull request as draft November 21, 2025 16:03
@jenting
Copy link
Copy Markdown
Collaborator

jenting commented Mar 24, 2026

We don't rely on the cp command anymore, closing it.

@jenting jenting closed this Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants