Skip to content

Commit

Permalink
Fix Redpanda status around helmrepository resource name
Browse files Browse the repository at this point in the history
  • Loading branch information
RafalKorepta committed Nov 22, 2024
1 parent a7c8866 commit 78e19f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ func (r *RedpandaReconciler) Reconcile(c context.Context, req ctrl.Request) (ctr
func (r *RedpandaReconciler) reconcileStatus(ctx context.Context, rp *v1alpha2.Redpanda) error {
if !ptr.Deref(rp.Status.HelmRepositoryReady, false) {
// strip out all of the requeues since this will get requeued based on the Owns in the setup of the reconciler
msgNotReady := fmt.Sprintf(resourceNotReadyStrFmt, resourceTypeHelmRepository, rp.Namespace, rp.GetHelmReleaseName())
msgNotReady := fmt.Sprintf(resourceNotReadyStrFmt, resourceTypeHelmRepository, rp.Namespace, rp.Status.HelmRepository)
_ = v1alpha2.RedpandaNotReady(rp, "ArtifactFailed", msgNotReady)
return nil
}
Expand Down

0 comments on commit 78e19f3

Please sign in to comment.