Skip to content

Commit 8f9e6ca

Browse files
committed
register v1 (cluster)imagepolicy
Signed-off-by: Qi Wang <[email protected]>
1 parent 2cd5821 commit 8f9e6ca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config/v1/register.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ func addKnownTypes(scheme *runtime.Scheme) error {
7272
&ImageDigestMirrorSetList{},
7373
&ImageTagMirrorSet{},
7474
&ImageTagMirrorSetList{},
75+
&ImagePolicy{},
76+
&ImagePolicyList{},
77+
&ClusterImagePolicy{},
78+
&ClusterImagePolicyList{},
7579
)
7680
metav1.AddToGroupVersion(scheme, GroupVersion)
7781
return nil

0 commit comments

Comments
 (0)