Looks like kubebuilder markers in the description field result in an error:
#+operator-builder:collection:field:name=provider,type=string,description=`
#+kubebuilder:validation:Enum=aws;kind
# The provider that this workload is being deployed into.`
Results in:
FATA[0001] failed to create API: unable to inject the resource to "config.operatorbuilder.io/v1": unable to inject resource into .source/config/collection.yaml, malformed argument: at position: {line:2 column:36}, following "aws", on marker Unknown Marker at {line:2 column:36}; error inspecting YAML for markers [2]
Removing the kubebuilder line #+kubebuilder:validation:Enum=aws;kind solves the problem
Looks like kubebuilder markers in the
description
field result in an error:Results in:
Removing the kubebuilder line
#+kubebuilder:validation:Enum=aws;kind
solves the problem