spiegel_podman/pkg/api
Anisha Khairnar b760306614 pkg/bindings, pkg/api: send the manifest index subject to the server
Two commands can set a subject on a manifest list, podman manifest annotate --index --subject and podman manifest add --artifact-subject. Both work locally, but they do nothing at all when podman runs with --remote.

The value never leaves the client. Before sending the request the remote client copies everything into manifests.ModifyOptions and manifests.AddArtifactOptions, and neither struct had a field to hold the subject, so it was quietly thrown away. The server had a second problem of its own, ManifestModify rebuilds ManifestAddArtifactOptions by hand and left out the embedded ManifestAnnotateOptions, so --os, --arch and --annotation were being dropped there as well.

Add the missing field to both structs, fill it in from the tunnel ImageEngine, and let the handler pass the annotate options along. Also add two system tests that run both flags for real so the remote path stays covered.

Signed-off-by: Anisha Khairnar <anishakhairnar284@gmail.com>
2026-09-02 11:57:43 +05:30
..
grpcpb pkg/api/grpcpb: auto-format generated protobuf files 2026-05-07 13:30:23 -04:00
handlers pkg/bindings, pkg/api: send the manifest index subject to the server 2026-09-02 11:57:43 +05:30
server pkg/api/server: drop duplicate generate/kube swagger operation 2026-08-19 23:39:01 +05:30
types set !remote build tags where needed 2024-08-19 11:41:28 +02:00
Makefile RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
tags.yaml [docs] Refactor Artifact API documentation 2025-08-19 10:22:00 +10:00