Persistent Volume ResourceΒΆ

0
1
2
3
4
5
6
7
def test_pv_pv001(cluster):
    pv = cluster.PV("pv001")
    assert pv.exists == True
    assert pv.access_mode == ["ReadWriteMany"]
    assert pv.volume_mode == "Filesystem"
    assert pv.claim == "image-registry-storage"
    assert pv.capacity == "100Gi"
    assert pv.status == "Bound"