Skip to content

Commit

Permalink
Add information about conformance check in standard scs-0211-v1 (#661)
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Morgenstern <[email protected]>
  • Loading branch information
martinmo authored Jul 19, 2024
1 parent e9c74a9 commit 94af108
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Standards/scs-0211-v1-kaas-default-storage-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,12 @@ This will be done in another document which is yet to be created.

## Conformance Tests

TBD
The script `k8s-default-storage-class-check.py` requires a kubeconfig file with connection
details for the Kubernetes cluster that should be checked for conformance.
It will check for a default storage class and use the associated storage provider to
try to create and mount a PersistentVolumeClaim with the aforementioned properties to
a container in a Pod.
After it is done, it cleans up the resources.
Rule violations will be reported on various logging channels: ERROR for mandatory rules
and INFO for recommended rules.
An exit code of zero indicates that the standard has been met.

0 comments on commit 94af108

Please sign in to comment.