Closed JordanLloydHall closed 3 weeks ago
Thank you @JordanLloydHall , this was unintentional caused by the migration. after testing I will release a new fix version
Thank you @JordanLloydHall , this was unintentional caused by the migration. after testing I will release a new fix version
Thank you for your great work on this project!
Description of the bug
After adding Pydantic types for Inventory, the assumption was introduced that Kadet Input in Kapitan should always prune objects before serialization to a file. However, there are many cases for which this is not the case, such as Flux's ImageRepository, where it is expected that the object is empty.
Steps to reproduce
What happened?
The key (with an empty dict as a value) should be in the compiled directory.
Additional context
This was introduced in PR #1234. Specifically in line 36 of kapitan/inventory/model/input_types.py.
Version (kapitan)
master
Version (kapitan)
I use kapitan directly (pip, docker)
Python virtual environment
OS information
No response
Relevant log output
No response