kubernetes/pkg/apis/core/validation
Humble Chirammal f2473781a3 csi: add validation of secretRef format in CSI spec for PV update
at present the spec.csi.secretRef name has to be DNS1035 label
format and it should fail if we use DNSSubdomain secretRef in
the secretReference field of CSI spec. The newly added test cases
validate this behaviour in validation tests for controllerPublish,
nodePublish and nodeStage secretRef formats.

Additionally csiExpansionEnabled struct field also removed from
the validation function.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-03-09 23:01:00 +05:30
..
conditional_validation.go Mixed protocol support for Services with type=LoadBalancer (#94028) 2020-11-13 13:21:04 -08:00
conditional_validation_test.go Mixed protocol support for Services with type=LoadBalancer (#94028) 2020-11-13 13:21:04 -08:00
doc.go pkg/apis/core: fixup package names 2017-11-09 12:14:07 +01:00
events.go 'New' Event namespace validate failed (#100125) 2021-09-16 04:29:45 -07:00
events_test.go Promote new Event API to v1 2020-07-01 10:50:28 -04:00
OWNERS OWNERS cleanup - Jan 2021 Week 1 2022-01-10 08:14:29 -05:00
validation.go csi: add validation tests for CSIVolumeSource 2022-03-02 16:10:18 +05:30
validation_test.go csi: add validation of secretRef format in CSI spec for PV update 2022-03-09 23:01:00 +05:30