Skip to content

Commit 475abf9

Browse files
authored
add create certificate cr (#2359)
Signed-off-by: Allen Li <[email protected]>
1 parent c25853c commit 475abf9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

controllers/commonservice_controller.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,12 @@ func (r *CommonServiceReconciler) Reconcile(ctx context.Context, req ctrl.Reques
104104
return ctrl.Result{}, err
105105
}
106106

107+
// deploy Cert Manager CR
108+
if err := r.Bootstrap.DeployCertManagerCR(); err != nil {
109+
klog.Errorf("Fail to reconcile %s/%s: %v", instance.Namespace, instance.Name, err)
110+
return ctrl.Result{}, err
111+
}
112+
107113
klog.Infof("Start to Create ODLM CR in the namespace %s", r.Bootstrap.CSData.OperatorNs)
108114
// Check if ODLM OperandRegistry and OperandConfig are created
109115
klog.Info("Checking if OperandRegistry and OperandConfig CRD already exist")

0 commit comments

Comments
 (0)