Skip to content

Commit

Permalink
Create statefulset even on cert update failure (#1981)
Browse files Browse the repository at this point in the history
  • Loading branch information
cniackz authored Feb 12, 2024
1 parent 4569bdd commit a5bc5e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/controller/main-controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,8 @@ func (c *Controller) syncHandler(key string) (Result, error) {
// check if operator-ca-tls has to be updated or re-created in the tenant namespace
operatorCATLSExists, err := c.checkOperatorCAForTenant(ctx, tenant)
if err != nil {
return WrapResult(Result{}, err)
// Don't return here as we get stuck when recreating the stateful set
klog.Infof("There was an error while updating the certificate %s", err)
}

// consolidate the status of all pools. this is meant to cover for legacy tenants
Expand Down

0 comments on commit a5bc5e1

Please sign in to comment.