kubernetes/pkg/apis
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
..
abac Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
admission generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
admissionregistration Merge pull request #107175 from roycaihw/doc/webhook-rule-validation 2022-02-09 15:35:44 -08:00
apiserverinternal fix "k8s.io/apimachinery/pkg/util/validation" is being imported more than once 2021-11-08 09:43:44 +08:00
apps Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
authentication Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
authorization Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
autoscaling OWNERS cleanup - Jan 2021 Week 1 2022-01-10 08:14:29 -05:00
batch Graduate SuspendJob to GA 2022-02-15 10:46:13 -05:00
certificates Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
coordination Update pkg/apis/coordination/validation/validation.go 2022-02-03 18:25:43 +01:00
core csi: add validation of secretRef format in CSI spec for PV update 2022-03-09 23:01:00 +05:30
discovery Update IANA links 2022-01-17 18:48:08 +05:30
events generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
extensions Add mwielgus back 2022-01-10 09:02:53 -05:00
flowcontrol Merge pull request #99329 from chymy/linkcheck-404 2022-01-04 11:26:39 -08:00
imagepolicy Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
networking Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
node generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
policy Move AppArmor profile validation to the API validation pkg 2022-02-15 16:17:37 -08:00
rbac Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
scheduling graduate nonpreemptingpriority to ga 2022-02-08 18:11:23 +08:00
storage Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00