spiegel_podman/pkg
Joe Doss e9fe245626
Fix shell driver DriverOpts cross-contamination in secret creation
When creating a secret with driver=shell via the API, the file driver's
default DriverOpts (including path) were applied because DriverOpts was
empty. The shell driver rejects path as an unknown option, making it
impossible to create shell-driver secrets via the REST API or
podman-remote.

Only apply default DriverOpts from config when the requested driver
matches the configured default driver.

Signed-off-by: Joe Doss <joe@solidadmin.com>
(cherry picked from commit 667f55c2ce)
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-04-09 14:23:51 +02:00
..
annotations update golangci-lint to 1.60.1 2024-08-19 11:41:28 +02:00
api api: fix missing return after error in SystemCheck handler 2026-04-09 14:23:51 +02:00
auth Ignore auth header with empty JSON object 2026-02-06 15:36:47 -05:00
autoupdate Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
bindings Remote build: nTar secrets with relative paths and ignore bypass 2026-04-09 14:23:51 +02:00
channel bump golangci-lint to v1.50.1 2022-12-15 13:39:56 +01:00
checkpoint Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
copy Fix windows path handling in podman cp 2025-04-08 15:23:08 -07:00
criu lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
ctime update golangci/golangci-lint to v1.63.4 2025-01-07 15:48:53 +01:00
domain Fix shell driver DriverOpts cross-contamination in secret creation 2026-04-09 14:23:51 +02:00
emulation fix(emulation): handle fs.ErrNotExist in registeredBinfmtMisc 2025-09-11 16:56:13 +08:00
env run modernize -fix ./... 2025-09-10 16:17:04 +02:00
errorhandling pkg/errorhandling: remove deadcode 2025-06-26 19:37:14 +02:00
farm Fix missing newlines in stderr error messages 2026-02-06 13:46:36 -05:00
fileserver pkg/fileserver: remove deadcode 2025-06-26 19:37:15 +02:00
inspect Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
k8s.io lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
logiface run modernize -fix ./... 2025-09-10 16:17:04 +02:00
lookup Cease using deprecated runc userlookup 2024-02-02 11:02:43 -05:00
machine Fix interfering escaping of commas and spaces in no_proxy variable 2026-02-06 13:46:37 -05:00
namespaces use strings.SplitSeq where possible 2025-09-10 16:17:04 +02:00
parallel pkg/parallel: remove deadcode 2025-06-26 19:37:15 +02:00
pidhandle lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
ps Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
rctl use strings.SplitSeq where possible 2025-09-10 16:17:04 +02:00
rootless rootless_linux.c: use shortcut for system commands 2025-11-26 10:18:30 +00: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 pkg/signal: ignore SIGTOP for signal proxy 2025-04-30 19:43:13 +02:00
specgen fix: improve userns validation when joining pods 2026-02-06 15:36:47 -05:00
specgenutil Add ulimits to podman update API 2026-02-06 15:36:47 -05:00
specgenutilexternal Allow not specifying type with --mount flag 2025-05-30 14:47:13 -04:00
syncmap Add syncmap package and use it for graph stop/remove 2025-02-17 14:32:34 -05:00
systemd quadlet: allow empty Entrypoint to clear image default 2026-04-09 13:41:52 +02:00
terminal Fix Lint on Windows and enable the job 2024-02-20 08:06:18 -05:00
trust fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00
util Clamp rootless rlimits to host on format 2026-02-06 15:36:47 -05:00