Step: ipi-conf-ovirt-generate-csi-test-manifest

This step creates the csi-test-manifest.yaml file which will be used to configure the csi test suite.

Container image used for this step: origin/centos:8

origin/centos:8 resolves to an image imported from the specified imagestream tag on the build farm (documentation).

Environment

Step exposes no environmental variables except the defaults.

Source Code

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash

set -o nounset
set -o errexit
set -o pipefail

cat >"${SHARED_DIR}/csi-test-manifest.yaml" << EOF
# Test manifest for https://github.com/kubernetes/kubernetes/tree/master/test/e2e/storage/external
ShortName: ebs
StorageClass:
  FromExistingClassName: ovirt-csi-sc
DriverInfo:
  Name: csi.ovirt.org
  SupportedSizeRange:
    Min: 1Gi
    Max: 5Gi
  SupportedFsType:
    xfs: {}
    ext4: {}
  Capabilities:                 # Refer to https://github.com/kubernetes/kubernetes/blob/v1.16.0/test/e2e/storage/testsuites/testdriver.go#L140-L159
    persistence: true           # data is persisted across pod restarts
    block: true                 # raw block mode
    fsGroup: true               # volume ownership via fsGroup
    exec: true                  # exec a file in the volume
    snapshotDataSource: false   # support populate data from snapshot
    pvcDataSource: false        # support populate data from pvc
    multipods: false            # multiple pods on a node can use the same volume concurrently
    RWX: false                  # support ReadWriteMany access modes
    controllerExpansion: true   # support volume expansion for controller
    nodeExpansion: true         # support volume expansion for node
    volumeLimits: false         # support volume limits (can be *very* slow)
EOF

Properties

Property Value Description
Resource requests (cpu) 10m Used in .resources.requests of the pod running this step.
Resource requests (memory) 10Mi Used in .resources.requests of the pod running this step.
Resource limits (memory) 200Mi Used in .resources.limits of the pod running this step.

GitHub Link:

https://github.com/openshift/release/blob/master/ci-operator/step-registry/ipi/conf/ovirt/generate-csi-test-manifest/ipi-conf-ovirt-generate-csi-test-manifest-ref.yaml

Owners:

Approvers:

Reviewers:

Source code for this page located on GitHub