func fromYAMLToProto(yml string, pb proto.Message) error {
	js, err := yaml.YAMLToJSON([]byte(yml))
	if err != nil {
		return err
	}
	err = protojson.Unmarshal(js, pb)
	if err != nil {
		return err
	}
	return nil
}
fromYAMLToProto unmarshals a YAML string into a proto message.
package yamlproto
import (
	aggregationv1 "github.com/envoyproxy/xds-relay/pkg/api/aggregation/v1"
	bootstrapv1 "github.com/envoyproxy/xds-relay/pkg/api/bootstrap/v1"
	"github.com/ghodss/yaml"
	"google.golang.org/protobuf/encoding/protojson"
	"google.golang.org/protobuf/proto"
)