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

tanzu packages available get output in json does not show package versions #689

Open
dekimpew opened this issue Mar 6, 2024 · 0 comments
Labels
kind/bug PR/issue related to a bug needs-triage

Comments

@dekimpew
Copy link

dekimpew commented Mar 6, 2024

Bug description
When running a tanzu package available get cert-manager.tanzu.vmware.com -o json the output omits the versions. When running the same command but with yaml output, it does show the versions:

tanzu package available get cert-manager.tanzu.vmware.com -o json

[
  {
    "categories": "- certificate management",
    "display-name": "cert-manager",
    "long-description": "Provides certificate management provisioning within the cluster",
    "maintainers": "- name: Nicholas Seemiller",
    "name": "cert-manager.tanzu.vmware.com",
    "provider": "VMware",
    "short-description": "Certificate management",
    "support-description": "Support provided by VMware for deployment on Tanzu clusters. Best-effort support\nfor deployment on any conformant Kubernetes cluster. Contact support by opening\na support request via VMware Cloud Services or my.vmware.com."
  }
]
tanzu package available get cert-manager.tanzu.vmware.com -o yaml

- categories: '- certificate management'
  display-name: cert-manager
  long-description: Provides certificate management provisioning within the cluster
  maintainers: '- name: Nicholas Seemiller'
  name: cert-manager.tanzu.vmware.com
  provider: VMware
  short-description: Certificate management
  support-description: |-
    Support provided by VMware for deployment on Tanzu clusters. Best-effort support
    for deployment on any conformant Kubernetes cluster. Contact support by opening
    a support request via VMware Cloud Services or my.vmware.com.

- released-at: 2020-11-24 19:00:00 +0100 CET
  version: 1.1.0+vmware.1-tkg.2
- released-at: 2020-11-24 19:00:00 +0100 CET
  version: 1.1.0+vmware.2-tkg.1
- released-at: 2023-01-11 13:00:00 +0100 CET
  version: 1.11.1+vmware.1-tkg.1
- released-at: 2023-06-15 14:00:00 +0200 CEST
  version: 1.12.2+vmware.2-tkg.2
- released-at: 2021-08-23 19:22:51 +0200 CEST
  version: 1.5.3+vmware.2-tkg.1
- released-at: 2021-08-23 19:22:51 +0200 CEST
  version: 1.5.3+vmware.4-tkg.1
- released-at: 2021-08-23 19:22:51 +0200 CEST
  version: 1.5.3+vmware.7-tkg.1
- released-at: 2021-08-23 19:22:51 +0200 CEST
  version: 1.5.3+vmware.7-tkg.3
- released-at: 2021-10-29 14:00:00 +0200 CEST
  version: 1.7.2+vmware.1-tkg.1
- released-at: 2021-10-29 14:00:00 +0200 CEST
  version: 1.7.2+vmware.3-tkg.1
- released-at: 2021-10-29 14:00:00 +0200 CEST
  version: 1.7.2+vmware.3-tkg.3

Expected behavior
the JSON output should show the available versions of the package.

Steps to reproduce the bug / Relevant debug output
Run tanzu package available get PKG_NAME -o json

Output of tanzu version

version: v1.1.0
buildDate: 2023-11-01
sha: d0679f5a
arch: amd64

Environment where the bug was observed (cloud, OS, etc)
Fedora 39 6.7.6-200.fc39.x86_64

@dekimpew dekimpew added kind/bug PR/issue related to a bug needs-triage labels Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug PR/issue related to a bug needs-triage
Projects
None yet
Development

No branches or pull requests

1 participant