kubernetes/pkg/apis/core/validation
Jan Safranek e743a6d14d Allow SecretReference.Name in PVs to have 253 characters
PV.Spec.CSI.*SecretReference.Name should be allowed to have up to be
limited to 253 characters (DNS1123Subdomain) and not to 63 characters
(DNS1123Label), so all possible Secrets names can be used as secrets in a
PV.

This is continuation of
https://github.com/kubernetes/kubernetes/pull/108331 / Kubernetes 1.25,
which allowed updating PVs with long secret names, if the previous PV had
long secret name too. This makes sure downgrade from 1.27 to 1.26 works well
and allows PVs created in 1.27 to be updated in 1.26.

Now the long secret names are accepted during PV creation too.
2023-01-03 14:35:35 +01:00
..
doc.go
events_test.go Tolerate sub-microsecond eventTime changes on update 2022-09-01 15:47:37 -04:00
events.go Tolerate sub-microsecond eventTime changes on update 2022-09-01 15:47:37 -04:00
OWNERS emeritus fejta, Erick is inactive after leaving google for spaceX 2022-10-04 17:07:35 -07:00
validation_test.go Allow SecretReference.Name in PVs to have 253 characters 2023-01-03 14:35:35 +01:00
validation.go Allow SecretReference.Name in PVs to have 253 characters 2023-01-03 14:35:35 +01:00