Skip to content

Commit

Permalink
register BuildpackList and ClusterBuildpackList
Browse files Browse the repository at this point in the history
missed these during the original buildpack resource implementation

Signed-off-by: Bohan Chen <bohanc@vmware.com>
  • Loading branch information
chenbh committed May 17, 2023
1 parent e890385 commit 2fe9a11
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pkg/apis/build/v1alpha2/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,11 @@ var (
func addKnownTypes(scheme *runtime.Scheme) error {
scheme.AddKnownTypes(SchemeGroupVersion,
&Build{},
&Buildpack{},
&BuildList{},
&Buildpack{},
&BuildpackList{},
&Builder{},
&BuilderList{},
&Image{},
&ImageList{},
&SourceResolver{},
Expand All @@ -58,11 +61,10 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&ClusterStackList{},
&ClusterStore{},
&ClusterStoreList{},
&ClusterBuilder{},
&ClusterBuildpack{},
&ClusterBuildpackList{},
&ClusterBuilder{},
&ClusterBuilderList{},
&Builder{},
&BuilderList{},
)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
Expand Down

0 comments on commit 2fe9a11

Please sign in to comment.