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

[Feature] Display status of application changes even when they are not done in velaux #827

Open
Pacman99 opened this issue May 22, 2023 · 9 comments
Labels
enhancement New feature or request

Comments

@Pacman99
Copy link

Is your feature request related to a problem? Please describe.
If I use fluxcd or kubectl to update an application that was initially created in velaux, the status of that update or application is not displayed in velaux.

Describe the solution you'd like
VelaUX should sync changes made to application manifests on the cluster regardless of whether they are made within velaux or not.

Describe alternatives you've considered
We could have developers solely use velaux to change their application, but we are hoping to use a gitops approach where application manifests are stored in application repos and fluxcd watches for changes and updates them.

Additional context

@chivalryq chivalryq added the enhancement New feature or request label May 23, 2023
@chivalryq
Copy link
Member

When use VelaUX to create app, the source of truth is VelaUX datastore. Now we have a syncer component in VelaUX to sync apps that not created by VelaUX into VelaUX. But they are read-only.
For apps created and managed by VelaUX, status is not synced synchronously.

@Pacman99
Copy link
Author

How can I make use of the syncer component to view status of apps not made by velaux? Even if its read only that could be good enough for my teams use cases.

@chivalryq
Copy link
Member

I think for now it wouldn't work in your case. When app is first created in VelaUX, then deployed to cluster via clicking Deploy in VelaUX. Syncer will consider this app is managed by VelaUX then skip syncing it. Syncer's job is sync apps which is not create via VelaUX (for example via vela CLI).

@Pacman99
Copy link
Author

Applications don't show up on vela ux even of they are created by vela CLI. If they did that could be good enough. Is it a bug that they don't show up? Or do I need to add some sort of annotation or label for vela ux to start syncing it?

@chivalryq
Copy link
Member

That maybe related your version. That machenism works on a relative newer version.

@Pacman99
Copy link
Author

I'm using the latest version of velaux, v1.8.1

@Pacman99
Copy link
Author

I'll try to create an application again to test, maybe I had a project filter or something on the last time I tried

@Pacman99
Copy link
Author

Will the application be displayed under a project based on the namespace it is deployed to? or will it only show up in the main applications page?

@chivalryq
Copy link
Member

chivalryq commented May 24, 2023

Will the application be displayed under a project based on the namespace it is deployed to?

Synced app will be in Default project. And it's environment is like `syc- if no corresponding env exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants