spiegel_podman/pkg
Paul Holzinger 9e94dc53b2
add new artifact mount type
Add a new option to allow for mounting artifacts in the container, the
syntax is added to the existing --mount option:
type=artifact,src=$artifactName,dest=/path[,digest=x][,title=x]

This works very similar to image mounts. The name is passed down into
the container config and then on each start we lookup the artifact and
the figure out which blobs to mount. There is no protaction against a
user removing the artifact while still being used in a container. When
the container is running the bind mounted files will stay there (as the
kernel keeps the mounts active even if the bind source was deleted).
On the next start it will fail to start as if it does not find the
artifact. The good thing is that this technically allows someone to
update the artifact with the new file by creating a new artifact with
the same name.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-03-12 19:42:14 +01:00
..
annotations update golangci-lint to 1.60.1 2024-08-19 11:41:28 +02:00
api fix deprecated docker v28 types 2025-03-11 16:24:34 +01:00
auth update golangci/golangci-lint to v1.63.4 2025-01-07 15:48:53 +01:00
autoupdate Vendor c/common:8483ef6022b4 2024-08-30 16:13:54 +02:00
bindings fix deprecated docker v28 types 2025-03-11 16:24:34 +01:00
channel bump golangci-lint to v1.50.1 2022-12-15 13:39:56 +01:00
checkpoint Enable pod restore with crun 2024-10-21 17:37:20 +01:00
copy Bump Go module to v5 2024-02-08 09:35:39 -05:00
criu chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
ctime update golangci/golangci-lint to v1.63.4 2025-01-07 15:48:53 +01:00
domain correctly preallocate artifactDigests in ArtifactRm() 2025-03-12 19:42:14 +01:00
emulation chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
env update golangci/golangci-lint to v1.63.4 2025-01-07 15:48:53 +01:00
errorhandling bump go to 1.22 2024-09-03 15:14:15 +02:00
farm bump go to 1.22 2024-09-03 15:14:15 +02:00
fileserver Bump Go module to v5 2024-02-08 09:35:39 -05:00
inspect Bump Go module to v5 2024-02-08 09:35:39 -05:00
k8s.io Add kube play support for image volume source 2024-09-10 12:37:06 +00:00
libartifact libartifact: add BlobMountPaths() 2025-03-12 19:42:13 +01:00
lookup Cease using deprecated runc userlookup 2024-02-02 11:02:43 -05:00
machine Merge pull request #25485 from danegsta/danegsta/cpwindows 2025-03-09 18:14:52 +00:00
namespaces namespaces: allow configuring keep-id userns size 2025-01-08 10:08:29 +01:00
parallel Bump Go module to v5 2024-02-08 09:35:39 -05:00
ps Ignore missing containers when calling GetExternalContainerLists 2024-08-05 08:18:57 -04:00
rctl Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
rootless rootless: fix hang on s390x 2025-02-06 13:49:53 +01:00
seccomp pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
selinux Fix SELinux functions names to not be repetitive 2020-04-23 15:57:34 -04:00
signal refacto: unknown signal return signal number without prefix 2024-02-28 19:45:03 +01:00
specgen add new artifact mount type 2025-03-12 19:42:14 +01:00
specgenutil add new artifact mount type 2025-03-12 19:42:14 +01:00
specgenutilexternal Quadlet container mount - support non key=val options 2023-09-27 16:20:00 +03:00
syncmap Add syncmap package and use it for graph stop/remove 2025-02-17 14:32:34 -05:00
systemd Quadlet - Propagate warnings and print errors and warnings as they occur 2025-03-10 11:51:32 -04:00
terminal Fix Lint on Windows and enable the job 2024-02-20 08:06:18 -05:00
timetype Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
trust go1.23: use std maps package 2025-03-11 17:21:24 +01:00
util pkg/util: remove redundant min/max helper functions 2025-03-06 21:39:36 +08:00