podman-compose icon indicating copy to clipboard operation
podman-compose copied to clipboard

override and reset tag handling supports only few hardcoded parts of the schema

Open p12tic opened this issue 7 months ago • 1 comments

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.

p12tic avatar May 16 '25 20:05 p12tic

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.

wrobelda avatar Dec 10 '25 15:12 wrobelda