Skip to content

Commit

Permalink
Update validating_admission_webhook.go
Browse files Browse the repository at this point in the history
  • Loading branch information
sheidkamp committed Sep 20, 2024
1 parent 535d722 commit 7b393c1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ func (wh *gatewayValidationWebhook) deleteRef(ctx context.Context, gvk schema.Gr

func (wh *gatewayValidationWebhook) validateGvk(ctx context.Context, gvk schema.GroupVersionKind, _ *core.ResourceRef, admissionRequest *v1beta1.AdmissionRequest) (*validation.Reports, *multierror.Error) {
var reports *validation.Reports
contextutils.LoggerFrom(ctx).Debugf("validating resource GVK: ", gvk.String())
newResourceFunc := gloosnapshot.ApiGvkToHashableResource[gvk]

// check to see if we should perform validation for this GVK
Expand Down

0 comments on commit 7b393c1

Please sign in to comment.