add Policy kind as known Kind
@@ -29,6 +29,8 @@ var (
// Adds the list of known types to Scheme.
func addKnownTypes(scheme *runtime.Scheme) error {
scheme.AddKnownTypes(SchemeGroupVersion,
+ &Policy{},
+ &PolicyList{},
&PolicyViolation{},
&PolicyViolationList{},
)
