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

BUG: sveltosctl cannot filte addon results based on clustername #210

Closed
egrosdou01 opened this issue Feb 14, 2024 · 1 comment · Fixed by #212
Closed

BUG: sveltosctl cannot filte addon results based on clustername #210

egrosdou01 opened this issue Feb 14, 2024 · 1 comment · Fixed by #212
Assignees
Labels
bug Something isn't working

Comments

@egrosdou01
Copy link

Problem Description

+-------------------------------+----------------------------------------+-----------+-----------------------+---------+-------------------------------+---------------------------------------------+
|            CLUSTER            |             RESOURCE TYPE              | NAMESPACE |         NAME          | VERSION |             TIME              |                  PROFILES                   |
+-------------------------------+----------------------------------------+-----------+-----------------------+---------+-------------------------------+---------------------------------------------+
| projectsveltos/rke2-demo02    | :Service                               | gcp-app   | shippingservice       | N/A     | 2024-02-14 14:10:00 +0100 CET | ClusterProfile/cilium-gateway-api           |
| projectsveltos/rke2-demo02    | apps:Deployment                        | gcp-app   | cartservice           | N/A     | 2024-02-14 14:19:15 +0100 CET | ClusterProfile/gcp-cilium-gateway-api       |
| projectsveltos/rke2-sles-demo | gateway.networking.k8s.io:Gateway      | argocd    | argocd                | N/A     | 2024-02-14 14:03:09 +0100 CET | ClusterProfile/sveltos-i0nmkq3ebsvpis8ubd3s |
| projectsveltos/rke2-sles-demo | gateway.networking.k8s.io:HTTPRoute    | argocd    | argocd                | N/A     | 2024-02-14 14:03:09 +0100 CET | ClusterProfile/sveltos-i0nmkq3ebsvpis8ubd3s |
| projectsveltos/rke2-sles-demo | gateway.networking.k8s.io:HTTPRoute    | argocd    | argocd                | N/A     | 2024-02-11 19:55:52 +0100 CET | ClusterProfile/sveltos-1lbzxnp4cs96gpo38g8b |
| projectsveltos/rke2-sles-demo | gateway.networking.k8s.io:Gateway      | argocd    | argocd                | N/A     | 2024-02-11 19:55:52 +0100 CET | ClusterProfile/sveltos-1lbzxnp4cs96gpo38g8b |
+-------------------------------+----------------------------------------+-----------+-----------------------+---------+-------------------------------+---------------------------------------------+

$ sveltosctl show addons --cluster=projectsveltos/rke2-demo02
+---------+---------------+-----------+------+---------+------+----------+
| CLUSTER | RESOURCE TYPE | NAMESPACE | NAME | VERSION | TIME | PROFILES |
+---------+---------------+-----------+------+---------+------+----------+
+---------+---------------+-----------+------+---------+------+----------+

$ sveltosctl show addons --cluster=rke2-demo02
+---------+---------------+-----------+------+---------+------+----------+
| CLUSTER | RESOURCE TYPE | NAMESPACE | NAME | VERSION | TIME | PROFILES |
+---------+---------------+-----------+------+---------+------+----------+
+---------+---------------+-----------+------+---------+------+----------+ 

System Information

$ sveltosctl version
I0214 15:27:26.667719   28558 version.go:64] "Client Version:   v0.22.0-4-4ac9c3591ddd3a"
I0214 15:27:26.667743   28558 version.go:65] "Git commit:       4ac9c3591ddd3acaadaab7849012840865fd46a6"

The binary runs of Ubunu 22.04 VM

@egrosdou01 egrosdou01 added the bug Something isn't working label Feb 14, 2024
@gianlucam76 gianlucam76 self-assigned this Feb 14, 2024
@gianlucam76
Copy link
Member

Thank you for reporting this issue. It has been fixed now.

Following filters will work (fix will be in next release)

sveltosctl show addons --cluster=rke2-demo02 --namespace=projectsveltos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants