otomi-core icon indicating copy to clipboard operation
otomi-core copied to clipboard

Values migration does not remove files

Open j-zimnowoda opened this issue 10 months ago • 0 comments

Describe the bug: (a clear and concise description of what the bug is)

To Reproduce Steps to reproduce the behavior: Let's say you want to remove an Harbor app

  1. In the values-changes.yaml file add new migration
  - version: 23
    deletions:
      - 'apps.harbor'
  1. Run npm run migrate
  2. Observe that thetests/fixtures/env/apps/harbor.yaml still exists and contains its values
  3. Observe that thetests/fixtures/env/apps/secrets.harbor.yaml still exists and contains its values

Expected behavior: (a clear and concise description of what you expected to happen) Corresponding files are deleted if the whole app is removed

j-zimnowoda avatar Apr 26 '24 06:04 j-zimnowoda