diff --git a/pkg/config/legacy/conversion.go b/pkg/config/legacy/conversion.go index 0892e4f2..dd8c4a11 100644 --- a/pkg/config/legacy/conversion.go +++ b/pkg/config/legacy/conversion.go @@ -175,6 +175,9 @@ func transformHeadersFromPluginParams(params map[string]string) v1.HeaderOperati continue } if k = strings.TrimPrefix(k, "plugin_header_"); k != "" { + if out.Set == nil { + out.Set = make(map[string]string) + } out.Set[k] = v } }