Skip to content

Make the volume attribute class file a configurable input in the tester script #1889

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion test/run-k8s-integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ readonly teardown_driver=${GCE_PD_TEARDOWN_DRIVER:-true}
readonly gke_node_version=${GKE_NODE_VERSION:-}
readonly use_kubetest2=${USE_KUBETEST2:-true}
readonly migration_test=${MIGRATION_TEST:-false}
readonly volumeattributesclass_files=${VOLUME_ATTRIBUTES_CLASS_FILES:-hdb-volumeattributesclass.yaml}

export GCE_PD_VERBOSITY=9

Expand All @@ -48,12 +49,15 @@ base_cmd="${PKGDIR}/bin/k8s-integration-test \
--do-driver-build=${do_driver_build} --teardown-driver=${teardown_driver} \
--do-k8s-build=${do_k8s_build} --boskos-resource-type=${boskos_resource_type} \
--storageclass-files=sc-balanced.yaml --snapshotclass-files=pd-volumesnapshotclass.yaml \
--volumeattributesclass-files=hdb-volumeattributesclass.yaml \
--storageclass-for-vac-file=sc-hdb.yaml \
--kube-runtime-config=api/all=true \
--deployment-strategy=${deployment_strategy} --test-version=${test_version} \
--num-nodes=3 --image-type=${image_type} --use-kubetest2=${use_kubetest2}"

if [[ -n "${volumeattributesclass_files}" ]]; then
base_cmd+=" --volumeattributesclass-files=${volumeattributesclass_files}"
fi

if [ "$use_gke_managed_driver" = false ]; then
base_cmd="${base_cmd} --deploy-overlay-name=${overlay_name}"
else
Expand Down