The line that you referred to here would only run when the webhook is not enabled (see the first line in the file). When it is enabled, the order is enforced using [hook weights](https://github.com/helm/charts/pull/6239/files#diff-b72874954241f266b2c52983308e8dbcR11). Note the -10, -5 and 0.  