Skip to content

Commit 780c755

Browse files
committed
docs: add test scenarios currently supported
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
1 parent 73b7af5 commit 780c755

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

test/README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Testing
2+
3+
This doc lists the different Secrets Store CSI Driver scenarios tested as part of CI.
4+
5+
## E2E tests
6+
7+
| Test Category | Azure | Vault | GCP |
8+
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----- | ----- | --- |
9+
| Mount tests<ul><li>CSI Inline volume test with Pod Portability</li></ul> | ✔️ | ✔️ | ✔️ |
10+
| Sync as Kubernetes secrets<ul><li>Check Kubernetes secret</li><li>Check owner references in secret with multiple owners</li><li>Check owner references updated when a owner is deleted</li><li>Check secret deleted when all owners deleted</li></ul> | ✔️ | ✔️ | |
11+
| Namespaced Scope SecretProviderClass<ul><li>Check `SecretProviderClass` in same namespace as pod</li></ul> | ✔️ | ✔️ | |
12+
| Namespaced Scope SecretProviderClass negative test<ul><li>Check volume mount fails when `SecretProviderClass` not found in same namespace as pod</li></ul> | ✔️ | ✔️ | |
13+
| Multiple SecretProviderClass<ul><li>Check multiple CSI Inline volumes with different SecretProviderClass</li></ul> | ✔️ | ✔️ | |
14+
| Autorotation of mount contents and Kubernetes secrets<ul><li>Check mount content and Kubernetes secret updated after rotation</li></ul> | ✔️ | | |
15+
| Test filtered watch for `nodePublishSecretRef` feature<ul><li>Check labelled nodePublishSecretRef accessible after upgrade to enable `filteredWatchSecret` feature</li></ul> | ✔️ | | ✔️ |
16+
| Windows tests | ✔️ | | |
17+
18+
## Sanity tests
19+
20+
CSI Driver sanity tests using [CSI Driver Sanity Tester](https://github.com/kubernetes-csi/csi-test/tree/master/pkg/sanity#csi-driver-sanity-tester) to ensure Secrets Store CSI Driver conforms to the CSI specification.

0 commit comments

Comments
 (0)