-
Notifications
You must be signed in to change notification settings - Fork 38.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
csi: add unit tests for controllerPublishSecretRef name & namespace validation #108391
Conversation
/sig storage |
80957a5
to
bd04e33
Compare
Cc @xing-yang |
Cc @jsafrane |
Can you please add similar tests for |
Sure @jsafrane 👍 |
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
1840d59
to
0ca76f8
Compare
Extra test conditions are added in CSIPersistentVolumeSource validation for controllerPublishSecretRef and nodePublishSecretRef name and namespace to check whether name field or namespace field is missing from the secretRef while validating CSI PersistentVolumeSource Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit adds the validation tests for CSIVolumeSource explictly. Also validate driver,nodePublishSecretRef..etc Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
@jsafrane added |
/test pull-kubernetes-integration |
Cc @liggitt |
/test pull-kubernetes-integration |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: humblec, liggitt The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/triage accepted |
Thanks ! |
/test pull-kubernetes-unit |
The Kubernetes project has merge-blocking tests that are currently too flaky to consistently pass. This bot retests PRs for certain kubernetes repos according to the following rules:
You can:
/retest |
Signed-off-by: Humble Chirammal hchiramm@redhat.com
/kind cleanup