diff --git a/transformer/kubernetes/kubernetestransformer.go b/transformer/kubernetes/kubernetestransformer.go index 7a1f5f545..e3a3f3ede 100644 --- a/transformer/kubernetes/kubernetestransformer.go +++ b/transformer/kubernetes/kubernetestransformer.go @@ -177,6 +177,9 @@ func (t *Kubernetes) Transform(newArtifacts []transformertypes.Artifact, already if err := newArtifact.GetConfig(ExtraParameterizersConfigType, &moreParams); err != nil { logrus.Debugf("failed to load config of type '%s' into struct of type %T . Error: %q", ExtraParameterizersConfigType, moreParams, err) } else { + if createdArtifact.Configs == nil { + createdArtifact.Configs = map[string]interface{}{} + } createdArtifact.Configs[ExtraParameterizersConfigType] = moreParams } }