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

Values migration does not remove files #1597

Open
j-zimnowoda opened this issue Apr 26, 2024 · 0 comments
Open

Values migration does not remove files #1597

j-zimnowoda opened this issue Apr 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@j-zimnowoda
Copy link
Contributor

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 j-zimnowoda added the bug Something isn't working label Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant