You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Escape sed metacharacters in secret substitution (fixes#343) (#475)
* Escape sed metacharacters in secret substitution (fixes#343)
The prepare-config init container inlined each secret value into a sed
s/// command's replacement side. When the value contained /, &, or \
(the reporter's case: WireGuard's 10.0.0.2/16), sed choked with
"unknown option to 's'" and the init container crash-looped.
Pre-escape the value in a shell variable using the standard
sed 's|[&/\]|\\&|g' trick before it reaches the substitution. No new
dependencies; only the range block inside the prepare-config script
changes.
The bug is invisible to helm lint, check-jsonschema, and kubeconform
because it fails at runtime inside the container.
* Bump media-servarr-base to 0.15.2 across all charts
Patch bump of the base and every consumer chart, plus the
media-servarr-base dependency pin in each. The base template changed
in the previous commit, so consumers ship with fresh releases carrying
the fix. Generated with ./scripts/update_base.sh patch.
0 commit comments