Added devstack option to turn on pod security on tempest.

Change-Id: I037eb8122b768ac986b3d9b66212bb03a680f529
This commit is contained in:
Roman Dobosz 2023-03-16 12:30:10 +01:00
parent 1168863473
commit 8aaa92c6df
2 changed files with 6 additions and 0 deletions

View File

@ -1603,6 +1603,9 @@ function update_tempest_conf_file {
iniset "$TEMPEST_CONFIG" kuryr_kubernetes test_services_without_selector True
iniset "$TEMPEST_CONFIG" kuryr_kubernetes test_sctp_services True
iniset "$TEMPEST_CONFIG" kuryr_kubernetes test_configurable_listener_timeouts True
if [[ "$KURYR_SUPPORT_POD_SECURITY" == "True" ]]; then
iniset "$TEMPEST_CONFIG" kuryr_kubernetes set_pod_security_context True
fi
}
function configure_neutron_defaults {

View File

@ -96,3 +96,6 @@ KURYR_OVERCLOUD_VM_PORT=${KURYR_OVERCLOUD_VM_PORT:-port0}
KURYR_IPV6=${KURYR_IPV6:-False}
KURYR_DUAL_STACK=${KURYR_DUAL_STACK:-False}
SUBNETPOOL_KURYR_NAME_V6=${SUBNETPOOL_KURYR_NAME_V6:-"shared-kuryr-subnetpool-v6"}
# Support Pod Security Standards
KURYR_SUPPORT_POD_SECURITY=False