Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ebea65e

Browse files
chiragkyalbertinatto
authored andcommittedNov 29, 2024
UPSTREAM: <carry>: Remove ValidateHostExternalCertificate from route admission
Signed-off-by: chiragkyal <[email protected]>
1 parent 6b60afe commit ebea65e

File tree

1 file changed

+0
-5
lines changed
  • openshift-kube-apiserver/admission/route/hostassignment

1 file changed

+0
-5
lines changed
 

‎openshift-kube-apiserver/admission/route/hostassignment/admission.go

-5
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,6 @@ func (a *hostAssignment) Admit(ctx context.Context, attributes admission.Attribu
136136
return errors.NewInvalid(attributes.GetKind().GroupKind(), attributes.GetName(), errs)
137137
}
138138

139-
errs = hostassignment.ValidateHostExternalCertificate(ctx, r, old, a.sarClient, a.validationOpts)
140-
if len(errs) > 0 {
141-
return errors.NewInvalid(attributes.GetKind().GroupKind(), attributes.GetName(), errs)
142-
}
143-
144139
errs = hostassignment.ValidateHostUpdate(ctx, r, old, a.sarClient, a.validationOpts)
145140
if len(errs) > 0 {
146141
return errors.NewInvalid(attributes.GetKind().GroupKind(), attributes.GetName(), errs)

0 commit comments

Comments
 (0)
Please sign in to comment.