compose/internal/projectloader
Nicolas De Loof 228bb9738c fix(config): warn about ignored uid/gid/mode at creation, not at load
uid, gid and mode on a service-level configs:/secrets: reference are applied
when the object is copied into the container (content: and environment:
sources) and dropped when it is bind-mounted (file: sources). That is a
property of how the container is created, not of the compose file, and an
engine able to set ownership on bind mounts would change the answer.

Report them from create(), next to the other creation-time warnings, once
per requested service, instead of from the load-time unsupported-attribute
check. The false positive on inline and environment sources goes away
without post-filtering findings against the loaded project.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-11-05 09:47:51 +01:00
..
generate.go refactor(compose): share how a container is folded into a service 2026-10-29 11:59:43 +01:00
generate_test.go refactor(compose): share how a container is folded into a service 2026-10-29 11:59:43 +01:00
loader.go refactor(projectloader): move project loading and generation to internal/projectloader 2026-10-13 10:03:53 +02:00
loader_test.go refactor(projectloader): move project loading and generation to internal/projectloader 2026-10-13 10:03:53 +02:00
projectloader.go refactor(projectloader): move project loading and generation to internal/projectloader 2026-10-13 10:03:53 +02:00
unsupported_attributes.go fix(config): warn about ignored uid/gid/mode at creation, not at load 2026-11-05 09:47:51 +01:00
unsupported_attributes_test.go fix(config): warn about ignored uid/gid/mode at creation, not at load 2026-11-05 09:47:51 +01:00