jx icon indicating copy to clipboard operation
jx copied to clipboard

Get application and remove application

Open chrislovecnm opened this issue 3 years ago • 3 comments

Once I have created an application how do I remove the application? When I run

$ jx application get
APPLICATION

I returns nothing, but I have builds that run and I am generating previews. So I do not know how to run jx application delete.

chrislovecnm avatar Apr 28 '22 15:04 chrislovecnm

May be an issue with different versions of go, jx-application still uses an old version of go, I will update it soon.

ankitm123 avatar Apr 28 '22 22:04 ankitm123

@ankitm123 let me know when it is up to date.

chrislovecnm avatar May 04 '22 14:05 chrislovecnm

I have looked into this issue yesterday and I found the problem at least in my case. In fact, if the app repo's git name is different than helm chart's name it will be filtered out. https://github.com/jenkins-x-plugins/jx-application/blob/main/pkg/applications/applications.go#L185

In my case, they are different so only the repos that have the same repo & chart name, they can show. The fix ideally ignore the repo name and rely on the app name itself but I don't know if this something against jx concept?

falsedlah avatar Jul 07 '22 07:07 falsedlah

When you import a repo it will be created so that the name of the chart is the same as the repo. If you work against that you are on you own

msvticket avatar Dec 19 '23 15:12 msvticket