Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Configuration service: Updates to helm charts do not completely replace the previous chart #6050

Closed
bacherfl opened this issue Nov 18, 2021 · 0 comments · Fixed by #6058
Closed
Assignees
Labels
area:core type:bug Something is not working as intended/documented
Milestone

Comments

@bacherfl
Copy link
Member

Let's say we have a service foo with the following helm chart:

foo
  -> chart
    -> templates
      -> svc.yml
      -> deployment.yaml

Then we update the chart of the service with a newer version, which has a different structure

foo
  -> chart
    -> templates
      -> service.yml
      -> deployment.yaml

In that case, the configuration service will currently not completely replace the previous chart with the new one, but actually merge those two. The resulting structure will look as follows:

foo
  -> chart
    -> templates
      -> service.yml
      -> svc.yaml // leftover of the previous version
      -> deployment.yaml // this will be correctly replaced

Note: Currently the workaround for this kind of scenario is to recreate the service - the event history will still be kept since the event collections are only deleted once the project containing the service is deleted. Configurations such as slo.yaml files will have to be re-uploaded as well

@bacherfl bacherfl added type:bug Something is not working as intended/documented area:core labels Nov 18, 2021
bacherfl added a commit that referenced this issue Nov 18, 2021
@johannes-b johannes-b added this to the 0.11.0 milestone Nov 18, 2021
bacherfl added a commit that referenced this issue Nov 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area:core type:bug Something is not working as intended/documented
Projects
None yet
2 participants