We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 532fdcc commit 8274b7aCopy full SHA for 8274b7a
1 file changed
internal/catalog/reconcile.go
@@ -51,6 +51,7 @@ func Reconcile(ctx context.Context, c client.Client, scheme *runtime.Scheme, rel
51
op, err := controllerutil.CreateOrUpdate(ctx, c, catalogSource, func() error {
52
catalogSource.Spec.Image = v.Image
53
catalogSource.Spec.SourceType = operatorhubv1alpha1.SourceTypeGrpc
54
+ catalogSource.Spec.UpdateStrategy.RegistryPoll = &operatorhubv1alpha1.RegistryPoll{RawInterval: "24h"}
55
// Set the controller as the owner so that the CatalogSource is deleted along with the CR
56
return controllerutil.SetControllerReference(relocation, catalogSource, scheme)
57
})
0 commit comments