kubernetes/pkg/apis/apps/validation
Tim Hockin c5c58eb653
StatefulSet validation needs to allow old names
A recent commit changed name validation from DNS Subdomain to DNS Label.
The assumption was that a subdomain-named SS could never work and the
only reasonable thing to do would be to delete it.  But if there is a
finalizer, the delete is not possible because we would reject the update
because the old name (subdomain) did not pass the new validation.

This commit does not re-validate the ObjectMeta on update.  Probably
every resource should follow this pattern, but mostly it's a non-issue
becauase the above change (name validation) is not something we do -
this case was excpetional.
2022-12-15 09:33:47 -08:00
..
validation_test.go StatefulSet validation needs to allow old names 2022-12-15 09:33:47 -08:00
validation.go StatefulSet validation needs to allow old names 2022-12-15 09:33:47 -08:00