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

Trying to delete a flamingo app using the cli but it doesn't find it #45

Open
tommyreilly opened this issue Dec 8, 2023 · 2 comments
Open
Labels
bug Something isn't working

Comments

@tommyreilly
Copy link

Unsure if this is a bug or something I'm doing wrong. Any pointers appreciated.

I've installed Flamingo with the standard install command

flamingo install

I created an app using the Flamingo cli as follows:

flamingo generate-app --app-name=flux-helloworld-kustomize-ks ks/flux-helloworld-kustomize -N argocd -n flux-demo

I see the flamingo app (and associated flux kustomization) in the Flamingo UI. The Flamingo UI app delete button seems to work fine, however my use case is that I want to delete an app via the Flamingo cli.

However, when trying to delete it via the Flamingo cli, I get an app not found error.

% flamingo get -N argocd -n flux-demo   
NAMESPACE  APP-NS  APP                           FLUX-TYPE      SOURCE-TYPE    STATUS   MESSAGE
flux-demo  argocd  flux-helloworld-kustomize-ks  Kustomization  OCIRepository  Healthy  Applied revision: latest@sha256:a6e862eb ...

% flamingo delete flux-helloworld-kustomize-ks -N argocd -n flux-demo 
✗ applications.argoproj.io "flux-helloworld-kustomize-ks" not found

As I mention, deleting it from the UI works as expected, just the command line cli seemingly not working for the delete:

Screenshot 2023-12-08 at 1 08 41 PM

Is there something obvious I'm doing wrong here?

@chanwit chanwit added the bug Something isn't working label Dec 20, 2023
@chanwit
Copy link
Collaborator

chanwit commented Dec 20, 2023

Will double check this and get back to you shortly.

@tommyreilly
Copy link
Author

Thank you @chanwit

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

No branches or pull requests

2 participants