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
{{ message }}
Repository navigation
supervisor: --envoy-arg can repeat a flag the supervisor sets itself, and every fork then fails with a parse error #1376
checkEnvoyArgs in agent/internal/supervisorcmd/supervisor.go rejects only --admin-address-path. A user --envoy-arg that repeats --restart-epoch, --base-id, --drain-time-s or --parent-shutdown-time-s passes validation; the pinned Envoy then refuses the repeated flag (Argument already set!) and every fork fails.
Fix: reject at startup every flag the supervisor passes itself, with an error naming the flag and the chart value that owns it. Unit test per flag.
Reported by the #1333 implementation (PRs #1366, #1370), not changed there.
Activity
fix(supervisor): reject at startup an --envoy-arg that repeats a flag…