Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions controllers/operandrequest/reconcile_operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ func (r *Reconciler) generateClusterObjects(o *operatorv1alpha1.Operator, regist
// Subscription Object
sub := &olmv1alpha1.Subscription{
ObjectMeta: metav1.ObjectMeta{
Name: o.Name,
Name: o.PackageName,
Namespace: namespace,
Labels: labels,
Annotations: annotations,
Expand All @@ -683,7 +683,7 @@ func (r *Reconciler) generateClusterObjects(o *operatorv1alpha1.Operator, regist
},
}
sub.SetGroupVersionKind(schema.GroupVersionKind{Group: olmv1alpha1.SchemeGroupVersion.Group, Kind: "Subscription", Version: olmv1alpha1.SchemeGroupVersion.Version})
klog.V(3).Info("Generating Subscription: ", o.Name, " in the Namespace: ", namespace)
klog.V(3).Info("Generating Subscription: ", o.PackageName, " in the Namespace: ", namespace)
co.subscription = sub
return co
}
Expand Down