Skip to content

Commit

Permalink
Merge pull request #21 from gianarb/fix/register-cluterv1-schema
Browse files Browse the repository at this point in the history
fix manager adding custerv1 schema types
  • Loading branch information
deitch committed May 5, 2020
2 parents 7771d02 + ab06c61 commit 60483cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import (

infrastructurev1alpha3 "github.com/packethost/cluster-api-provider-packet/api/v1alpha3"
"github.com/packethost/cluster-api-provider-packet/controllers"
clusterv1 "sigs.k8s.io/cluster-api/api/v1alpha3"
// +kubebuilder:scaffold:imports
)

Expand All @@ -40,8 +41,8 @@ var (

func init() {
_ = clientgoscheme.AddToScheme(scheme)

_ = infrastructurev1alpha3.AddToScheme(scheme)
_ = clusterv1.AddToScheme(scheme)
// +kubebuilder:scaffold:scheme
}

Expand Down

0 comments on commit 60483cd

Please sign in to comment.