podman-compose
podman-compose copied to clipboard
override and reset tag handling supports only few hardcoded parts of the schema
override and reset tags can happen anywhere, however currently they are supported only for services and some service keys. While this is better than nothing, we should have proper support in any part of the yaml file. The only complexity is to figure out which keys must have empty dict vs list when reset.
I believe I am affected by this: I am trying to remove a dependency on one the services like so:
depends_on:
service_a: !reset {}
However, I am getting an AttributeError: 'ResetTag' object has no attribute 'setdefault' error.