Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove confusing no-op
validate:
tags. (#1251)
My guess is that they were meant for https://github.com/go-validator/validator but this library does not seem to be used (any more?). We do not seem to be using these tags for anything, they are not enforced, and the current codebase violates them. I did try to make the CRD validation markers match the tags in the process of fixing #862, but there is plenty of test code which violates those rules, so it would be a bigger task at this point. Since these tags contradict the +optional markers on directly preceding lines, it is best we reduce confusion by removing them.
- Loading branch information