• Kubernetes Submit Queue's avatar
    Merge pull request #44565 from vmware/kubernetes-e2e-v7 · 94a5074b
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    adding test for volume fstype validation
    
    **What this PR does / why we need it**:
    This PR is adding a test for volume fstype validation. Test verifies fstype specified in storage-class is being honored after volume creation.
    
    Steps:
    
    1. Create StorageClass with fstype set to valid type (default case included). 
    2. Create PVC which uses the StorageClass created in step 1.
    3. Wait for PV to be provisioned.
    4. Wait for PVC's status to become Bound.
    5. Create pod using PVC on specific node.
    6. Wait for Disk to be attached to the node.
    7. Execute command in the pod to get fstype.
    8. Delete pod and Wait for Volume Disk to be detached from the Node.
    9. Delete PVC, PV and Storage Class.
    
    
    
    **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
    
    **Special notes for your reviewer**:
    
    **Release note**:
    
    ```release-note
    None
    ```
    
    cc: @jeffvance @tusharnt
    94a5074b
Name
Last commit
Last update
.github Loading commit data...
Godeps Loading commit data...
api Loading commit data...
build Loading commit data...
cluster Loading commit data...
cmd Loading commit data...
docs Loading commit data...
examples Loading commit data...
federation Loading commit data...
hack Loading commit data...
hooks Loading commit data...
logo Loading commit data...
pkg Loading commit data...
plugin Loading commit data...
staging Loading commit data...
test Loading commit data...
third_party Loading commit data...
translations Loading commit data...
vendor Loading commit data...
.bazelrc Loading commit data...
.gazelcfg.json Loading commit data...
.generated_files Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
BUILD.bazel Loading commit data...
CHANGELOG.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
Makefile.generated_files Loading commit data...
OWNERS Loading commit data...
OWNERS_ALIASES Loading commit data...
README.md Loading commit data...
Vagrantfile Loading commit data...
WORKSPACE Loading commit data...
code-of-conduct.md Loading commit data...
labels.yaml Loading commit data...