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

Add Auto-Upgrade Feature for Seamless Chart Deployment and Version Management #241

Open
aviorma opened this issue Apr 30, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request go Pull requests that update Go code

Comments

@aviorma
Copy link

aviorma commented Apr 30, 2024

Problem Statement:
Our team aims to streamline the deployment process by utilizing this tool to effortlessly deploy charts and seamlessly upgrade versions as soon as they are available in the Helm repository.

Proposed Solution:
Integrate a feature that enables users to auto-upgrade the chart to the latest version with the click of a button, similar to the functionality offered by flux2 (Gitops).

Alternative Solutions:

Manual version checks and upgrades can be cumbersome and prone to human error. Automating this process would significantly reduce the workload and ensure timely updates.
Implementing a notification system to alert users about new chart versions could also be beneficial, but it may not be as efficient as an automated upgrade option.

Additional Context:
By incorporating this auto-upgrade feature, users can maintain their deployments effortlessly, staying up-to-date with the latest features and fixes without manual intervention. This enhancement would greatly enhance the efficiency and usability of the tool.

@petar-cvit
Copy link
Collaborator

Hey @aviorma, thanks for raising this!
I'm thinking of a button in the Edit Module view that would tell you which version you are currently using and allow you to change it. Keen to put it in the Edit view since fields can change between two versions.
I will pick this up with priority and post updates here

@petar-cvit petar-cvit self-assigned this Apr 30, 2024
@petar-cvit petar-cvit added enhancement New feature or request go Pull requests that update Go code labels Apr 30, 2024
@petar-cvit
Copy link
Collaborator

Hey @aviorma, we picked this up in the past couple of days. We added a section to the Edit module page that allows you to change the version of a template or load the latest version.
In the recording below, we had a Module referencing a template on version x.x.x (the latest version). The module was created when the latest version was 0.3.0, and since then, we have added version 0.4.0. In version 0.4.0 we added an additional field (my-new-field) to show the functionality.
You can now easily load the latest version by clicking the "lock" icon in the Template section and hitting the Load button, thus bumping from 0.3.0 to 0.4.0.

resolve-version.mp4

You can try it yourself by installing the RC version we created by running the command below:

kubectl apply -f https://raw.githubusercontent.com/cyclops-ui/cyclops/v0.5.0-rc.1/install/cyclops-install.yaml && 
kubectl apply -f https://raw.githubusercontent.com/cyclops-ui/cyclops/v0.5.0-rc.1/install/demo-templates.yaml

Let me know what you think and if this would help your team

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

No branches or pull requests

2 participants