code: func (validatingWebhookConfigurationStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) {
  	newIC := obj.(*admissionregistration.ValidatingWebhookConfiguration)
  	oldIC := old.(*admissionregistration.ValidatingWebhookConfiguration)
  
  	// Any changes to the spec increment the generation number, any changes to the
  	// status should reflect the generation number of the corresponding object.
  	// See metav1.ObjectMeta description for more information on Generation.
  	if !reflect.DeepEqual(oldIC.Webhooks, newIC.Webhooks) {
  		newIC.Generation = oldIC.Generation + 1
  	}
  }
docs: // PrepareForUpdate clears fields that are not allowed to be set by end users on update.