Skip to content

Commit eb79c38

Browse files
chiragkyalbertinatto
authored andcommitted
UPSTREAM: <carry>: Remove ValidateHostExternalCertificate from route admission
Signed-off-by: chiragkyal <[email protected]>
1 parent db50fec commit eb79c38

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

Lines changed: 0 additions & 5 deletions
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)