Skip to content
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

velero install --crds-only -o json CLI output cannot be used to kubectl apply since v1.15.0 #8539

Closed
blackpiglet opened this issue Dec 20, 2024 · 0 comments
Assignees
Labels
Area/CLI related to the command-line interface target/1.15.1
Milestone

Comments

@blackpiglet
Copy link
Contributor

blackpiglet commented Dec 20, 2024

Describe the problem/challenge you have

Run the CLI
./velero-v1.15.0-darwin-arm64/velero install --uploader-type=restic --dry-run --crds-only -o json
The output is something like the following:

⚠️  Uploader 'restic' is deprecated, don't use it for new backups, otherwise the backups won't be available for restore when this functionality is removed in a future version of Velero
{
  "apiVersion": "v1",
  "items": [
    {

It's not JSON-compatible, and cannot be passed to kubectl apply -f --

Describe the solution you'd like

Suggest dropping the warning for velero install --dry-run --crds-only -o json CLI.

Anything else you would like to add:

Environment:

  • Velero version (use velero version): v1.15.0
  • Kubernetes version (use kubectl version):
  • Kubernetes installer & version:
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release):

Vote on this issue!

This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.

  • 👍 for "The project would be better with this feature added"
  • 👎 for "This feature will not enhance the project in a meaningful way"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/CLI related to the command-line interface target/1.15.1
Projects
None yet
Development

No branches or pull requests

2 participants