Skip to content

Commit

Permalink
not updating annotation on crd updates
Browse files Browse the repository at this point in the history
Signed-off-by: Jaydip Gabani <[email protected]>
  • Loading branch information
JaydipGabani committed Nov 6, 2024
1 parent a7ae597 commit 6e863dd
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -766,9 +766,6 @@ func (r *ReconcileConstraintTemplate) generateCRD(ctx context.Context, ct *v1bet
err := r.reportErrorOnCTStatus(ctx, ErrUpdateCode, "Could not update CRD", status, err)
return err
}
if ct.Annotations != nil {
ct.Annotations[constraint.BlockVAPBGenerationUntilAnnotation] = ""
}
}
if !generateVAP {
return nil
Expand Down

0 comments on commit 6e863dd

Please sign in to comment.