Skip to content

Commit

Permalink
d
Browse files Browse the repository at this point in the history
  • Loading branch information
mwangggg committed Nov 17, 2023
1 parent b834223 commit 713f2c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/controllers/reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,15 +202,15 @@ func (r *Reconciler) reconcile(ctx context.Context, cr *model.CryostatInstance)
return reconcile.Result{}, err
}

// Set up TLS using cert-manager, if available
var tlsConfig *resources.TLSConfig

// Reconcile RBAC resources for Cryostat
err = r.reconcileRBAC(ctx, cr)
if err != nil {
return reconcile.Result{}, err
}

// Set up TLS using cert-manager, if available
var tlsConfig *resources.TLSConfig

if r.IsCertManagerEnabled(cr) {
tlsConfig, err = r.setupTLS(ctx, cr)
if err != nil {
Expand Down

0 comments on commit 713f2c4

Please sign in to comment.