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

editing resources erase all other resources in single file #4244

Open
acottais opened this issue Sep 4, 2024 · 0 comments
Open

editing resources erase all other resources in single file #4244

acottais opened this issue Sep 4, 2024 · 0 comments

Comments

@acottais
Copy link

acottais commented Sep 4, 2024

Describe the bug
When i edit a resource from a multi resource file, the file is saved with only the edited resource. All the other resources are deleted

To Reproduce
Steps to reproduce the behavior:

  1. open a file containing multiple Kubernetes resources
  2. Select one resource to focus the editor on that resource
  3. Edit the resource
  4. When going to diff panel or viewing the file with another text editor only the edited resources is present in the file

Expected behavior
All the original resources in the file should be saved when one resource is edited

Screenshots
image

Desktop (please complete the following information):

  • OS: windows
  • Version 2.4.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No Status
Development

No branches or pull requests

1 participant