Skip to content

Commit

Permalink
delete cert secret so they are also recreated
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Dec 17, 2024
1 parent 10f3f91 commit 9d9027f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controllers/certmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ func (r *Reconciler) createOrUpdateCertificate(ctx context.Context, cert *certv1
}

func (r *Reconciler) recreateCertificate(ctx context.Context, cert *certv1.Certificate, owner metav1.Object) error {
err := r.deleteCertificate(ctx, cert)
err := r.deleteCertWithSecret(ctx, cert)
if err != nil {
return err
}
Expand Down

0 comments on commit 9d9027f

Please sign in to comment.