janlauber / one-click

One-Click: Deploy your favourite container with a single click in Kubernetes.
https://one-click.dev
Apache License 2.0
27 stars 2 forks source link

Fix recreation behaviour #53

Closed janlauber closed 9 months ago

janlauber commented 10 months ago

Currently when creating a new rollout on saving settings on a project the backend will create a completely new rollout instance inside the cluster. This behaviour is kinda bad because it will recreate all resources. The better option would be to just edit the rollout specs on the running rollout inside the cluster and save the json/yaml in pocketbase.

The smoothest one to implement this is in the backend not frontend.

janlauber commented 9 months ago

The best way would be to implement this in the pocketbase backend to just edit the current rollout and clone it with and end start and end date.